Revision 6810 trunk/libraries/libCorePlugin/src/com/iver/core/preferences/general/AppearancePage.java
AppearancePage.java | ||
---|---|---|
43 | 43 |
* |
44 | 44 |
* $Id$ |
45 | 45 |
* $Log$ |
46 |
* Revision 1.6 2006-08-22 07:37:17 jaume |
|
46 |
* Revision 1.7 2006-08-22 12:23:05 jaume |
|
47 |
* improved perfomance when saving changes |
|
48 |
* |
|
49 |
* Revision 1.6 2006/08/22 07:37:17 jaume |
|
47 | 50 |
* *** empty log message *** |
48 | 51 |
* |
49 | 52 |
* Revision 1.5 2006/08/04 11:44:55 caballero |
... | ... | |
87 | 90 |
private String id; |
88 | 91 |
private ImageIcon icon; |
89 | 92 |
private String lookAndFeel; |
90 |
private int lookAndFeelIndex;
|
|
93 |
private boolean changed = false;
|
|
91 | 94 |
private Logger logger = PluginServices.getLogger(); |
92 | 95 |
private PluginServices ps = PluginServices.getPluginServices(this); |
93 |
private boolean changed = false; |
|
94 | 96 |
private ActionListener myAction; |
95 | 97 |
|
96 | 98 |
public AppearancePage() { |
... | ... | |
107 | 109 |
changed = true; |
108 | 110 |
} |
109 | 111 |
}; |
112 |
|
|
110 | 113 |
} |
111 | 114 |
|
112 | 115 |
public String getID() { |
... | ... | |
132 | 135 |
LF element = (LF) getLookAndFeelComboBox().getModel().getElementAt(i); |
133 | 136 |
if (element.getClassName().equals(lookAndFeel)) { |
134 | 137 |
getLookAndFeelComboBox().setSelectedIndex(i); |
135 |
lookAndFeelIndex = i; |
|
136 | 138 |
break; |
137 | 139 |
} |
138 | 140 |
} |
... | ... | |
212 | 214 |
public boolean isValueChanged() { |
213 | 215 |
return changed; |
214 | 216 |
} |
217 |
|
|
218 |
public void setChangesApplied() { |
|
219 |
changed = false; |
|
220 |
} |
|
215 | 221 |
} |
Also available in: Unified diff