net.sf.taverna.perspectives
Class DesignPerspective

java.lang.Object
  extended by net.sf.taverna.perspectives.AbstractPerspective
      extended by net.sf.taverna.perspectives.DesignPerspective
All Implemented Interfaces:
PerspectiveSPI, WorkflowPerspective

public class DesignPerspective
extends AbstractPerspective
implements WorkflowPerspective


Constructor Summary
DesignPerspective()
           
 
Method Summary
 javax.swing.ImageIcon getButtonIcon()
          The icon for the perspective
 java.lang.String getText()
          The name of the perspective
 int positionHint()
          Position hint, default to 101, meaning that perspective that don't provide a hint will always appear towards the end (Built-in perspectives coming first in a controlled order).
 
Methods inherited from class net.sf.taverna.perspectives.AbstractPerspective
getLayoutInputStream, isVisible, setVisible, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.taverna.perspectives.PerspectiveSPI
getLayoutInputStream, isVisible, setVisible, update
 

Constructor Detail

DesignPerspective

public DesignPerspective()
Method Detail

getButtonIcon

public javax.swing.ImageIcon getButtonIcon()
Description copied from class: AbstractPerspective
The icon for the perspective

Specified by:
getButtonIcon in interface PerspectiveSPI
Specified by:
getButtonIcon in class AbstractPerspective
Returns:
the icon image for the toolbar button

getText

public java.lang.String getText()
Description copied from class: AbstractPerspective
The name of the perspective

Specified by:
getText in interface PerspectiveSPI
Specified by:
getText in class AbstractPerspective
Returns:
the text for the perspective

positionHint

public int positionHint()
Description copied from class: AbstractPerspective
Position hint, default to 101, meaning that perspective that don't provide a hint will always appear towards the end (Built-in perspectives coming first in a controlled order).

Specified by:
positionHint in interface PerspectiveSPI
Overrides:
positionHint in class AbstractPerspective