Revision 27243
branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/gui/command/CommandStackDialog.java | ||
---|---|---|
155 | 155 |
} |
156 | 156 |
|
157 | 157 |
public Object getWindowModel() { |
158 |
return "CommandStack";
|
|
158 |
return mymodel.getClass().getName();
|
|
159 | 159 |
} |
160 | 160 |
|
161 | 161 |
public void windowActivated() { |
... | ... | |
298 | 298 |
return jScrollPane; |
299 | 299 |
} |
300 | 300 |
public void update(Observable observable, Object notification) { |
301 |
if (notification instanceof DataStoreNotification) { |
|
302 |
DataStoreNotification storeNotification = (DataStoreNotification) notification; |
|
303 |
if (DataStoreNotification.SELECTION_CHANGE.equals(storeNotification |
|
304 |
.getType())) { |
|
305 |
commandRepaint(); |
|
306 |
} |
|
307 |
} |
|
301 |
// if (notification instanceof DataStoreNotification) { |
|
302 |
// DataStoreNotification storeNotification = (DataStoreNotification) notification; |
|
303 |
// if (DataStoreNotification.SELECTION_CHANGE.equals(storeNotification |
|
304 |
// .getType())) { |
|
305 |
// commandRepaint(); |
|
306 |
// } |
|
307 |
// } |
|
308 |
commandRepaint(); |
|
308 | 309 |
} |
309 | 310 |
|
310 | 311 |
public Object getWindowProfile() { |
Also available in: Unified diff