Revision 40974
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/gui/preferencespage/SymbologyPage.java | ||
---|---|---|
45 | 45 |
import javax.swing.filechooser.FileFilter; |
46 | 46 |
|
47 | 47 |
import org.gvsig.andami.IconThemeHelper; |
48 |
import org.gvsig.andami.PluginServices; |
|
48 | 49 |
import org.gvsig.andami.preferences.AbstractPreferencePage; |
49 | 50 |
import org.gvsig.andami.preferences.StoreException; |
50 | 51 |
import org.gvsig.app.gui.panels.ColorChooserPanel; |
... | ... | |
272 | 273 |
} |
273 | 274 |
|
274 | 275 |
public void initializeDefaults() { |
275 |
|
|
276 |
|
|
277 |
defaultColor.setColor(Color.DARK_GRAY); |
|
278 |
defaultColor.setAlpha(255); |
|
279 |
jsDefaultSelectionAlpha.setValue(255); |
|
280 |
|
|
281 |
aleatoryFillColor.setSelected(true); |
|
282 |
|
|
283 |
defaultFillColor.setColor(new Color(60, 235, 235)); |
|
284 |
defaultFillColor.setAlpha(255); |
|
285 |
jsFillSelelctionAlpha.setValue(255); |
|
286 |
|
|
287 |
String path = PluginServices.getPluginServices(this). |
|
288 |
getPluginHomeFolder().getAbsolutePath() + File.separator + "Symbols"; |
|
289 |
txtProjectsFolder.setText(path); |
|
290 |
|
|
291 |
fonts.setSelectedItem("SansSerif"); |
|
292 |
sizes.setSelectedItem(14); |
|
293 |
|
|
294 |
defaultFillColor.setEnabled(!aleatoryFillColor.isSelected()); |
|
295 |
jsFillSelelctionAlpha.setEnabled(!aleatoryFillColor.isSelected()); |
|
276 | 296 |
} |
277 | 297 |
|
278 | 298 |
public boolean isValueChanged() { |
Also available in: Unified diff