cfa.vo.iris.sdk
Class PluginManager

java.lang.Object
  extended by cfa.vo.iris.sdk.AbstractIrisComponent
      extended by cfa.vo.iris.sdk.PluginManager
All Implemented Interfaces:
IrisComponent

public class PluginManager
extends AbstractIrisComponent

Author:
olaurino

Field Summary
 
Fields inherited from class cfa.vo.iris.sdk.AbstractIrisComponent
app, workspace
 
Constructor Summary
PluginManager()
           
 
Method Summary
 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<PluginJar> getPluginJars()
           
 void init(IrisApplication app, IWorkspace workspace)
          This method is invoked to initialize the component.
 void load()
           
 void loadJar(String path)
           
 void loadJar(URL url)
           
 void unloadJar(PluginJar jar)
           
 
Methods inherited from class cfa.vo.iris.sdk.AbstractIrisComponent
getCli, getSampHandlers, initCli, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginManager

public PluginManager()
Method Detail

getPluginJars

public List<PluginJar> getPluginJars()

init

public void init(IrisApplication app,
                 IWorkspace workspace)
Description copied from interface: IrisComponent
This method is invoked to initialize the component. If the component has to launch windows, frames or background services, this is the right method to do so. Otherwise the component will be called only if a callback is invoked.

Specified by:
init in interface IrisComponent
Overrides:
init in class AbstractIrisComponent
Parameters:
app - A reference to the running application
workspace - A reference to the application's workspace

load

public void load()

getMenus

public List<IMenuItem> getMenus()
Description copied from interface: IrisComponent
The component can contribute menu items and desktop buttons to the enclosing GUI applications by providing a list of MenuItems.

Returns:
A list of the menu items this component will contribute to the application.

loadJar

public void loadJar(String path)

loadJar

public void loadJar(URL url)

unloadJar

public void unloadJar(PluginJar jar)

getName

public String getName()
Description copied from interface: IrisComponent
Return the name of this component. This name might be listed in a widget along with the other registered components.

Returns:
The component's name as a String.

getDescription

public String getDescription()
Description copied from interface: IrisComponent
Get e description for this component. The description might be listed in a widget along with the other registered components.

Returns:
The component's description as a String.


Copyright © 2013. All rights reserved.