Revision 8458 trunk/extensions/extGraph_predes/src/com/iver/cit/gvsig/gvsig/gui/styling/AbstractTypeSymbolEditorPanel.java

View differences:

AbstractTypeSymbolEditorPanel.java
43 43
*
44 44
* $Id$
45 45
* $Log$
46
* Revision 1.3  2006-10-30 19:30:35  jaume
46
* Revision 1.4  2006-10-31 16:16:34  jaume
47 47
* *** empty log message ***
48 48
*
49
* Revision 1.3  2006/10/30 19:30:35  jaume
50
* *** empty log message ***
51
*
49 52
* Revision 1.2  2006/10/29 23:53:49  jaume
50 53
* *** empty log message ***
51 54
*
......
63 66
public abstract class AbstractTypeSymbolEditorPanel {
64 67

  
65 68
	protected SymbolEditor owner;
69
	protected int layerIndex = 0;
66 70

  
67 71
	public abstract XMLEntity getXMLEntity();
68 72
	/**
......
76 80
	}
77 81
	public abstract String getName();
78 82
	public abstract JPanel[] getTabs();
83

  
79 84
	/**
80 85
	 * Invoked when the user selects or adds a new layer. This method fills up
81 86
	 * the components on the right according on the layer properties
......
88 93
	}
89 94

  
90 95
	protected final void fireSymbolChangedEvent() {
96
		owner.setLayerToSymbol(owner.getSelectedLayerIndex(), getXMLEntity());
91 97
		owner.refresh();
92 98
	}
93 99
}

Also available in: Unified diff