jrworkspace by
jTEM

de.jtem.jrworkspace.plugin.flavor
Interface PerspectiveFlavor

All Known Implementing Classes:
EmptyPerspective, JRDesktopPlugin, SideContainerPerspective

public interface PerspectiveFlavor

A flavor which adds a new perspective to the host application. A perspective consists of a main panel which will be displayed in the center of the host applications main frame.

Author:
Stefan Sechelmann

Method Summary
 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
 String getTitle()
          The title of the perspective
 void setVisible(boolean visible)
          Is called which this Perspective is about to become visible or hidden
 

Method Detail

getCenterComponent

Component getCenterComponent()
Returns the center component that will be displayed in the center of the hosts main frame

Returns:
the center panel of the perspective or null if the perspective shall not be displayed

getIcon

Icon getIcon()
An icon for this perspective

Returns:
an icon

getTitle

String getTitle()
The title of the perspective

Returns:

setVisible

void setVisible(boolean visible)
Is called which this Perspective is about to become visible or hidden

Parameters:
visible - a visible flag

jrworkspace by
jTEM

jTEM