Revision 11404 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/styling/StyleSelector.java
StyleSelector.java | ||
---|---|---|
43 | 43 |
* |
44 | 44 |
* $Id$ |
45 | 45 |
* $Log$ |
46 |
* Revision 1.6 2007-04-11 16:02:43 jaume |
|
46 |
* Revision 1.7 2007-04-27 12:10:17 jaume |
|
47 |
* *** empty log message *** |
|
48 |
* |
|
49 |
* Revision 1.6 2007/04/11 16:02:43 jaume |
|
47 | 50 |
* file filter |
48 | 51 |
* |
49 | 52 |
* Revision 1.5 2007/04/05 16:08:34 jaume |
... | ... | |
80 | 83 |
import java.io.FileWriter; |
81 | 84 |
import java.util.prefs.Preferences; |
82 | 85 |
|
86 |
import javax.swing.BorderFactory; |
|
83 | 87 |
import javax.swing.BoxLayout; |
84 | 88 |
import javax.swing.JComponent; |
85 | 89 |
import javax.swing.JFileChooser; |
... | ... | |
100 | 104 |
import com.iver.andami.PluginServices; |
101 | 105 |
import com.iver.andami.messages.NotificationManager; |
102 | 106 |
import com.iver.cit.gvsig.fmap.core.styles.IStyle; |
107 |
import com.iver.cit.gvsig.gui.ImageSizePanel; |
|
103 | 108 |
import com.iver.utiles.XMLEntity; |
104 | 109 |
|
105 | 110 |
/** |
... | ... | |
108 | 113 |
* |
109 | 114 |
*/ |
110 | 115 |
public class StyleSelector extends SymbolSelector { |
111 |
|
|
116 |
private ImageSizePanel isp; |
|
112 | 117 |
public StyleSelector(IStyle style, int shapeType) { |
113 | 118 |
this(style, shapeType, new SelectorFilter() { |
114 | 119 |
public boolean accepts(Object obj) { |
... | ... | |
206 | 211 |
protected JPanel getJPanelOptions() { |
207 | 212 |
if (jPanelOptions == null) { |
208 | 213 |
jPanelOptions = new GridBagLayoutPanel(); |
209 |
// nothing in the panel |
|
210 |
|
|
214 |
jPanelOptions.setBorder(BorderFactory.createTitledBorder(null, PluginServices.getText(this, "options"))); |
|
215 |
isp = new ImageSizePanel(); |
|
216 |
jPanelOptions.addComponent(isp); |
|
211 | 217 |
} |
212 | 218 |
return jPanelOptions; |
213 | 219 |
} |
Also available in: Unified diff