|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Studio
The interface to the toplevel studio window. The Studio interface provides StudioPlugins with functionality for modifying properties of the toplevel window of a MetaStudio, as well as some convenience methods (functionality that is needed by virtually all StudioPlugins).
Method Summary | |
---|---|
void |
addComponent(StudioComponent component)
Register a StudioComponent. |
void |
addComponentMenu(StudioComponent component,
nl.cwi.sen1.configapi.types.Event menu,
javax.swing.Action action)
Register a menu that is linked with a particular component. |
void |
addComponentMenu(StudioComponent component,
javax.swing.JMenu menu)
Register a menu that is linked with a particular component. |
void |
connect(java.lang.String toolName,
toolbus.AbstractTool tool)
Connect to the ToolBus. |
aterm.ATermFactory |
getATermFactory()
Get 'The' ATermFactory. |
void |
makeVisible(StudioComponent component)
Make a specific Component visible. |
void |
removeComponent(StudioComponent component)
Unregister a StudioComponent. |
void |
requestFocus(StudioComponent component)
Make the Studio move the focus to a specific Component. |
Method Detail |
---|
aterm.ATermFactory getATermFactory()
void connect(java.lang.String toolName, toolbus.AbstractTool tool)
toolName
- Name of the tool as it occurs in the ToolBus script.tool
- Java implementation of a ToolBus tool.void addComponent(StudioComponent component)
component
- Component to add.void removeComponent(StudioComponent component)
component
- Component to remove.void addComponentMenu(StudioComponent component, javax.swing.JMenu menu)
component
- Component to link a menu with.menu
- JMenu to link to a component.void addComponentMenu(StudioComponent component, nl.cwi.sen1.configapi.types.Event menu, javax.swing.Action action)
void requestFocus(StudioComponent component)
component
- Component to move the focus to.void makeVisible(StudioComponent component)
component
- Component to make visible.
|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |