Revision 11199 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/PlacementProperties.java

View differences:

PlacementProperties.java
43 43
*
44 44
* $Id$
45 45
* $Log$
46
* Revision 1.5  2007-04-13 12:10:56  jaume
46
* Revision 1.6  2007-04-13 12:43:08  jaume
47 47
* *** empty log message ***
48 48
*
49
* Revision 1.5  2007/04/13 12:10:56  jaume
50
* *** empty log message ***
51
*
49 52
* Revision 1.4  2007/04/12 16:01:32  jaume
50 53
* *** empty log message ***
51 54
*
......
163 166
				LabelingFactory.createPlacementConstraints(constraints.getXMLEntity())	:
164 167
				LabelingFactory.createPlacementConstraints(layer);
165 168
		initialize();
169
		refreshComponents();
166 170
	}
167 171

  
172
	private void refreshComponents() {
173
		getChkOnTheLine().setSelected(constraints.isOnTheLine());
174
		getChkAbove().setSelected(constraints.isAboveTheLine());
175

  
176

  
177
	}
178

  
168 179
	private void initialize() {
169 180
        this.setLayout(new BorderLayout());
170 181
        this.setSize(new Dimension(410,380));
......
557 568
			constraints.setPlacementMode(mode);
558 569
			constraints.setAboveTheLine(getChkAbove().isSelected());
559 570
			constraints.setBellowTheLine(getChkBelow().isSelected());
560
			// what about ON THE LINE??
571
			constraints.setOnTheLine(getChkOnTheLine().isSelected());
561 572

  
562 573
			constraints.setPageOriented(
563 574
					getCmbOrientationSystem().getSelectedIndex() == 1);

Also available in: Unified diff