|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IrisComponent
Interface implemented by Iris components. By implementing this interface the components allow the framework to retrieve the information needed to run and initialize them.
Method Summary | |
---|---|
ICommandLineInterface |
getCli()
Get a command line interface object for this component. |
String |
getDescription()
Get e description for this component. |
List<IMenuItem> |
getMenus()
The component can contribute menu items and desktop buttons to the enclosing GUI applications by providing a list of MenuItems. |
String |
getName()
Return the name of this component. |
List<org.astrogrid.samp.client.MessageHandler> |
getSampHandlers()
The component can register any number of SAMP message listeners by providing a list of them. |
void |
init(IrisApplication app,
IWorkspace workspace)
This method is invoked to initialize the component. |
void |
initCli(IrisApplication app)
Initialize the Command Line Application interface |
void |
shutdown()
Callback invoked when the component is shutdown |
Method Detail |
---|
void init(IrisApplication app, IWorkspace workspace)
app
- A reference to the running applicationworkspace
- A reference to the application's workspaceString getName()
String getDescription()
ICommandLineInterface getCli()
void initCli(IrisApplication app)
app
- Reference to the enclosing applicationList<IMenuItem> getMenus()
List<org.astrogrid.samp.client.MessageHandler> getSampHandlers()
void shutdown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |