|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.ui.spoon.MainSpoonPerspective
public class MainSpoonPerspective
Field Summary | |
---|---|
static String |
ID
|
Constructor Summary | |
---|---|
MainSpoonPerspective(Composite ui,
org.pentaho.xul.swt.tab.TabSet tabfolder)
|
Method Summary | |
---|---|
void |
addPerspectiveListener(SpoonPerspectiveListener listener)
Allows outside code to register to for activation events for this perspective. |
EngineMetaInterface |
getActiveMeta()
Return the active EngineMeta in the case of perspectives with save-able content. |
String |
getDisplayName(Locale l)
Returns a localized name for the perspective |
List<org.pentaho.ui.xul.impl.XulEventHandler> |
getEventHandlers()
Returns a list of Xul Event Handlers (controllers) to be added to Xul Containers in Spoon. |
String |
getId()
Returns a unique identifier for this perspective |
List<org.pentaho.ui.xul.XulOverlay> |
getOverlays()
A list of Xul Overlays to be applied and removed when the perspective is loaded or unloaded |
InputStream |
getPerspectiveIcon()
Perspectives will be represented in spoon by an icon on the main toolbar. |
Composite |
getUI()
Returns the main UI for the perspective. |
void |
setActive(boolean active)
Called by Spoon whenever the active state of a perspective changes. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ID
Constructor Detail |
---|
public MainSpoonPerspective(Composite ui, org.pentaho.xul.swt.tab.TabSet tabfolder)
Method Detail |
---|
public String getId()
SpoonPerspective
getId
in interface SpoonPerspective
public String getDisplayName(Locale l)
SpoonPerspective
getDisplayName
in interface SpoonPerspective
l
- current Locale
public InputStream getPerspectiveIcon()
SpoonPerspective
getPerspectiveIcon
in interface SpoonPerspective
public Composite getUI()
SpoonPerspective
getUI
in interface SpoonPerspective
public void setActive(boolean active)
SpoonPerspective
setActive
in interface SpoonPerspective
public List<org.pentaho.ui.xul.impl.XulEventHandler> getEventHandlers()
SpoonPerspective
getEventHandlers
in interface SpoonPerspective
public List<org.pentaho.ui.xul.XulOverlay> getOverlays()
SpoonPerspective
getOverlays
in interface SpoonPerspective
public void addPerspectiveListener(SpoonPerspectiveListener listener)
SpoonPerspective
addPerspectiveListener
in interface SpoonPerspective
public EngineMetaInterface getActiveMeta()
SpoonPerspective
getActiveMeta
in interface SpoonPerspective
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |