com.softwareag.cis.plugin.ext.plugins
Class PlugInPerspective

java.lang.Object
  extended by com.softwareag.cis.plugin.extpt.util.AbstractExtensionImplementation
      extended by com.softwareag.cis.plugin.extpt.util.AbstractPerspective
          extended by com.softwareag.cis.plugin.ext.plugins.PlugInPerspective
All Implemented Interfaces:
Perspective, com.softwareag.cis.plugin.interfaces.Component, ExtensionImplementation

public class PlugInPerspective
extends AbstractPerspective


Field Summary
static java.lang.String rcs_id
           
 
Constructor Summary
PlugInPerspective()
           
 
Method Summary
 java.lang.String getImageURL()
          Get URL of 16x16 icon representing perspective
 java.lang.String getLogoImageURL()
          Get URL of logo or bitmap representing perspective
 java.lang.String getTitle()
          Get localized name or title of perspective
 com.softwareag.cis.server.util.ICONLISTInfo getToolbar()
          Get description of commands in toolbar - icons should have size of 24x24 pixels
 java.lang.String getView()
          Get current view for this perspective
 java.lang.String getViewLabel()
          Get label for listbox allowing to select view
 java.util.List getViewValues()
          Get valid values for selecting a view
 java.lang.String getWorkplaceDefaultLayout()
          Get layout to be displayed on workplace by default if perspective selected
 boolean isVisible()
          Check whether this Perspective is currently to be shown - may be overwritten by subclasses returning result depending on context
 void setView(java.lang.String value)
          Pass selected view to perspective
 void setWorkplaceContext(WorkplaceContext wc)
          Initialize this Perspective - the WorkplaceContext is passed for potential callbacks
 boolean supportsViews()
          Check whether this Perspective supports a view selection list box
 
Methods inherited from class com.softwareag.cis.plugin.extpt.util.AbstractPerspective
addTopic, containsTopic, getId, getSelectedTopic, getSingleClickMethodName, getTopics, hasTopicTree, isEnabled, isSingeClickable, isVisible, reactOnSwitchSelectedPerspective, requiresInitialCallReactOnSwitchSelectedPerspective, setEnabled, setSelectedTopic, setVisible, toString
 
Methods inherited from class com.softwareag.cis.plugin.extpt.util.AbstractExtensionImplementation
getExtension, getPlugIn, popContextClassLoader, pushContextClassLoader, setExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.softwareag.cis.plugin.registry.ExtensionImplementation
getExtension, getPlugIn, popContextClassLoader, pushContextClassLoader, setExtension
 

Field Detail

rcs_id

public static final java.lang.String rcs_id
See Also:
Constant Field Values
Constructor Detail

PlugInPerspective

public PlugInPerspective()
Method Detail

setWorkplaceContext

public void setWorkplaceContext(WorkplaceContext wc)
Initialize this Perspective - the WorkplaceContext is passed for potential callbacks

Parameters:
wc -

isVisible

public boolean isVisible()
Check whether this Perspective is currently to be shown - may be overwritten by subclasses returning result depending on context

Specified by:
isVisible in interface com.softwareag.cis.plugin.interfaces.Component
Overrides:
isVisible in class AbstractPerspective
Returns:
true if visible

getTitle

public java.lang.String getTitle()
Description copied from interface: Perspective
Get localized name or title of perspective

Returns:
the name or title of perspective
See Also:
Perspective.getTitle()

getImageURL

public java.lang.String getImageURL()
Description copied from interface: Perspective
Get URL of 16x16 icon representing perspective

Returns:
icon URL, may be null
See Also:
Perspective.getImageURL()

getToolbar

public com.softwareag.cis.server.util.ICONLISTInfo getToolbar()
Description copied from interface: Perspective
Get description of commands in toolbar - icons should have size of 24x24 pixels

Returns:
description of
See Also:
Perspective.getToolbar()

getLogoImageURL

public java.lang.String getLogoImageURL()
Description copied from interface: Perspective
Get URL of logo or bitmap representing perspective

Returns:
the URL, may be null
See Also:
Perspective.getLogoImageURL()

supportsViews

public boolean supportsViews()
Check whether this Perspective supports a view selection list box

Specified by:
supportsViews in interface Perspective
Overrides:
supportsViews in class AbstractPerspective

getViewLabel

public java.lang.String getViewLabel()
Description copied from interface: Perspective
Get label for listbox allowing to select view

Returns:
the localized label

getViewValues

public java.util.List getViewValues()
Description copied from interface: Perspective
Get valid values for selecting a view

Returns:
the list of strings representing the available views

getView

public java.lang.String getView()
Description copied from interface: Perspective
Get current view for this perspective


setView

public void setView(java.lang.String value)
Description copied from interface: Perspective
Pass selected view to perspective


getWorkplaceDefaultLayout

public java.lang.String getWorkplaceDefaultLayout()
Description copied from interface: Perspective
Get layout to be displayed on workplace by default if perspective selected

Returns:
the name of the layout to be displayed
See Also:
Perspective.getWorkplaceDefaultLayout()