Revision 38564 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/extension/PaletteViewInfoExtension.java
PaletteViewInfoExtension.java | ||
---|---|---|
64 | 64 |
* @see org.gvsig.andami.plugins.IExtension#execute(java.lang.String) |
65 | 65 |
*/ |
66 | 66 |
public void execute(String s) { |
67 |
IWindow view = PluginServices.getMDIManager().getActiveWindow();
|
|
68 |
if (s.equals("PALETTE")){
|
|
67 |
if (s.equals("window-convert-to-tool")){
|
|
68 |
IWindow view = PluginServices.getMDIManager().getActiveWindow();
|
|
69 | 69 |
IWindowTransform vt=(IWindowTransform)view; |
70 | 70 |
vt.toPalette(); |
71 |
PluginServices.getMainFrame().enableControls(); |
|
71 | 72 |
} |
72 |
PluginServices.getMainFrame().enableControls(); |
|
73 | 73 |
} |
74 | 74 |
|
75 | 75 |
/** |
Also available in: Unified diff