public static interface KnowledgeFlowApp.KFPerspective
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsInstances()
Returns true if this perspective accepts instances
|
javax.swing.Icon |
getPerspectiveIcon()
Get the icon for this perspective.
|
java.lang.String |
getPerspectiveTipText()
Get the tool tip text for this perspective.
|
java.lang.String |
getPerspectiveTitle()
Get the title of this perspective
|
void |
setActive(boolean active)
Set active status of this perspective.
|
void |
setInstances(Instances insts)
Set instances (if the perspective accepts them)
|
void |
setLoaded(boolean loaded)
Set whether this perspective is "loaded" - i.e.
|
void |
setMainKFPerspective(KnowledgeFlowApp.MainKFPerspective main)
Set a reference to the main KnowledgeFlow perspective - i.e.
|
void setInstances(Instances insts) throws java.lang.Exception
insts
- the instancesjava.lang.Exception
boolean acceptsInstances()
java.lang.String getPerspectiveTitle()
java.lang.String getPerspectiveTipText()
javax.swing.Icon getPerspectiveIcon()
void setActive(boolean active)
active
- true if this perspective is the active onevoid setLoaded(boolean loaded)
loaded
- true if the perspective is available in the perspective
toolbar of the KnowledgeFlowvoid setMainKFPerspective(KnowledgeFlowApp.MainKFPerspective main)
main
- the main KnowledgeFlow perspective.