jrworkspace by
jTEM

de.jtem.jrworkspace.plugin.jrdesktop
Class JRDesktopPlugin

java.lang.Object
  extended by de.jtem.jrworkspace.plugin.Plugin
      extended by de.jtem.jrworkspace.plugin.jrdesktop.JRDesktopPlugin
All Implemented Interfaces:
PerspectiveFlavor

public class JRDesktopPlugin
extends Plugin
implements PerspectiveFlavor


Constructor Summary
JRDesktopPlugin()
           
 
Method Summary
 void addDesktopPlugin(JRDesktopFrame p)
           
 Component getCenterComponent()
          Returns the center component that will be displayed in the center of the hosts main frame
 Icon getIcon()
          An icon for this perspective
 PluginInfo getPluginInfo()
          Returns an instance of PluginInfo
 String getTitle()
          The title of the perspective
 void install(Controller c)
          Is called when the plug-in is installed
 void removeDesktopPlugin(JRDesktopFrame p)
           
 void setVisible(boolean visible)
          Is called which this Perspective is about to become visible or hidden
 void uninstall(Controller c)
          Id called when this plug-in is about to be uninstalled
 
Methods inherited from class de.jtem.jrworkspace.plugin.Plugin
equals, hashCode, restoreStates, storeStates, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JRDesktopPlugin

public JRDesktopPlugin()
Method Detail

addDesktopPlugin

public void addDesktopPlugin(JRDesktopFrame p)

getCenterComponent

public Component getCenterComponent()
Description copied from interface: PerspectiveFlavor
Returns the center component that will be displayed in the center of the hosts main frame

Specified by:
getCenterComponent in interface PerspectiveFlavor
Returns:
the center panel of the perspective or null if the perspective shall not be displayed

getIcon

public Icon getIcon()
Description copied from interface: PerspectiveFlavor
An icon for this perspective

Specified by:
getIcon in interface PerspectiveFlavor
Returns:
an icon

getPluginInfo

public PluginInfo getPluginInfo()
Description copied from class: Plugin
Returns an instance of PluginInfo

Overrides:
getPluginInfo in class Plugin
Returns:
plug-in information
See Also:
PluginInfo}

getTitle

public String getTitle()
Description copied from interface: PerspectiveFlavor
The title of the perspective

Specified by:
getTitle in interface PerspectiveFlavor
Returns:

install

public void install(Controller c)
             throws Exception
Description copied from class: Plugin
Is called when the plug-in is installed

Overrides:
install in class Plugin
Parameters:
c - the applications Controller
Throws:
Exception
See Also:
Controller}

removeDesktopPlugin

public void removeDesktopPlugin(JRDesktopFrame p)

setVisible

public void setVisible(boolean visible)
Description copied from interface: PerspectiveFlavor
Is called which this Perspective is about to become visible or hidden

Specified by:
setVisible in interface PerspectiveFlavor
Parameters:
visible - a visible flag

uninstall

public void uninstall(Controller c)
               throws Exception
Description copied from class: Plugin
Id called when this plug-in is about to be uninstalled

Overrides:
uninstall in class Plugin
Parameters:
c - this applications Controller
Throws:
Exception
See Also:
Controller}

jrworkspace by
jTEM

jTEM