Revision 38078 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; |
|
44 | 45 |
|
45 | 46 |
import javax.swing.ImageIcon; |
46 | 47 |
import javax.swing.JPanel; |
47 | 48 |
|
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; |
|
48 | 52 |
import org.gvsig.andami.ui.mdiFrame.MDIFrame; |
49 | 53 |
import org.gvsig.tools.swing.api.windowmanager.WindowManager; |
50 | 54 |
import org.gvsig.tools.swing.api.windowmanager.WindowManager.MODE; |
... | ... | |
81 | 85 |
* @author Fernando Gonz?lez Cort?s |
82 | 86 |
*/ |
83 | 87 |
public interface MDIManager { |
88 |
|
|
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 |
|
|
84 | 100 |
/** |
85 | 101 |
* Initializes the MDIFrame. It must be called before starting |
86 | 102 |
* to use it. It receives the application's main frame |
... | ... | |
318 | 334 |
* Theme.MOSAIC and Theme.EXPAND. |
319 | 335 |
*/ |
320 | 336 |
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(); |
|
321 | 343 |
} |
Also available in: Unified diff