Revision 38564 branches/v2_0_0_prep/frameworks/_fwAndami/src/org/gvsig/andami/ui/mdiManager/MDIManager.java
MDIManager.java | ||
---|---|---|
41 | 41 |
package org.gvsig.andami.ui.mdiManager; |
42 | 42 |
|
43 | 43 |
import java.beans.PropertyVetoException; |
44 |
import java.util.Iterator; |
|
45 | 44 |
|
46 | 45 |
import javax.swing.ImageIcon; |
47 | 46 |
import javax.swing.JPanel; |
48 | 47 |
|
49 |
import org.gvsig.andami.plugins.config.generate.ActionTool; |
|
50 |
import org.gvsig.andami.plugins.config.generate.Menu; |
|
51 |
import org.gvsig.andami.plugins.config.generate.SelectableTool; |
|
52 | 48 |
import org.gvsig.andami.ui.mdiFrame.MDIFrame; |
53 | 49 |
import org.gvsig.tools.swing.api.windowmanager.WindowManager; |
54 | 50 |
import org.gvsig.tools.swing.api.windowmanager.WindowManager.MODE; |
... | ... | |
86 | 82 |
*/ |
87 | 83 |
public interface MDIManager { |
88 | 84 |
|
89 |
public interface UIActionTool { |
|
90 |
public String getExtensionName(); |
|
91 |
public String getName(); |
|
92 |
public String getText(); |
|
93 |
public String getCommand(); |
|
94 |
public String getIconName(); |
|
95 |
public String getEnableText(); |
|
96 |
public String getTooptip(); |
|
97 |
public int getPosition(); |
|
98 |
} |
|
99 |
|
|
100 | 85 |
/** |
101 | 86 |
* Initializes the MDIFrame. It must be called before starting |
102 | 87 |
* to use it. It receives the application's main frame |
... | ... | |
334 | 319 |
* Theme.MOSAIC and Theme.EXPAND. |
335 | 320 |
*/ |
336 | 321 |
public void setBackgroundImage(ImageIcon image, String typeDesktop); |
337 |
|
|
338 |
public void registerAction(String extensionName, ActionTool action); |
|
339 |
public void registerAction(String extensionName, SelectableTool action); |
|
340 |
public void registerAction(String extensionName, Menu action); |
|
341 |
|
|
342 |
public Iterator<UIActionTool> getActionTools(); |
|
343 | 322 |
} |
Also available in: Unified diff