public abstract class AbstractTopic extends AbstractExtensionImplementation implements Topic
rcs_id
Constructor and Description |
---|
AbstractTopic() |
Modifier and Type | Method and Description |
---|---|
boolean |
createWorkplaceTopic()
Create the WorkplaceTopic object for this topic
|
java.util.List |
getCommands()
Used for drop down menu for topic.
|
com.softwareag.cis.server.util.TREECollection |
getContextMenu()
Obtain a context menu when selecting right mouse button in free area of workplace topic
|
java.lang.String |
getId() |
java.util.Locale |
getLocale() |
java.lang.String |
getPageAdapterClass()
Get the adapter class of page to be opened
|
java.lang.String |
getPageURL()
Get page URL for topic
|
Perspective |
getPerspective()
Get perspective this topic is part of
|
com.softwareag.cis.server.util.TREECollection |
getTree()
Obtain tree for this topic
|
com.softwareag.cis.plugin.tree.TreeCommandContext |
getTreeCommandContext() |
com.softwareag.cis.workplace.MFWorkplaceAdapter |
getWorkplaceAdapter() |
WorkplaceContext |
getWorkplaceContext()
Get WorkplaceContext for this object
|
com.softwareag.cis.workplace.MFWorkplaceTopic |
getWorkplaceTopic()
Obtain the WorkplaceTopic object for this topic
|
boolean |
isEnabled() |
boolean |
isVisible() |
void |
reactOnPopupMenuClosedByUser()
React on closing context menu opened within topic
|
void |
reactOnSwitchSelectedTopic(Topic oldTopic,
Topic newTopic)
React on topic change - override in subclass if required
|
void |
reactOnSwitchSelectedTopicWithTopicCommand(Topic oldTopic,
Topic newTopic,
Command topicCommand)
React on topic change
|
void |
setEnabled(boolean enabled) |
void |
setTreeCommandContext(com.softwareag.cis.plugin.tree.TreeCommandContext treeCommandContext)
Set the command context of the current topic
|
void |
setVisible(boolean visible) |
void |
setWorkplaceContext(WorkplaceContext wc)
Initialize this topic - the WorkplaceContext is passed for potential callbacks
|
java.lang.String |
toString() |
getExtension, getPlugIn, popContextClassLoader, pushContextClassLoader, setExtension
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getImageURL, getTitle
getExtension, getPlugIn, popContextClassLoader, pushContextClassLoader, setExtension
public java.lang.String getId()
getId
in interface com.softwareag.cis.plugin.interfaces.Component
public void setWorkplaceContext(WorkplaceContext wc)
Topic
setWorkplaceContext
in interface Topic
public void setTreeCommandContext(com.softwareag.cis.plugin.tree.TreeCommandContext treeCommandContext)
treeCommandContext
- - the command context of the current topicpublic com.softwareag.cis.plugin.tree.TreeCommandContext getTreeCommandContext()
public com.softwareag.cis.workplace.MFWorkplaceTopic getWorkplaceTopic()
Topic
getWorkplaceTopic
in interface Topic
public boolean createWorkplaceTopic() throws java.lang.Exception
Topic
createWorkplaceTopic
in interface Topic
java.lang.Exception
public boolean isVisible()
isVisible
in interface com.softwareag.cis.plugin.interfaces.Component
public void setVisible(boolean visible)
setVisible
in interface com.softwareag.cis.plugin.interfaces.Component
public boolean isEnabled()
isEnabled
in interface com.softwareag.cis.plugin.interfaces.Component
public void setEnabled(boolean enabled)
setEnabled
in interface com.softwareag.cis.plugin.interfaces.Component
public Perspective getPerspective()
getPerspective
in interface Topic
public com.softwareag.cis.server.util.TREECollection getTree()
public WorkplaceContext getWorkplaceContext()
public com.softwareag.cis.workplace.MFWorkplaceAdapter getWorkplaceAdapter()
public java.util.Locale getLocale()
public void reactOnSwitchSelectedTopic(Topic oldTopic, Topic newTopic)
reactOnSwitchSelectedTopic
in interface Topic
public void reactOnSwitchSelectedTopicWithTopicCommand(Topic oldTopic, Topic newTopic, Command topicCommand)
reactOnSwitchSelectedTopicWithTopicCommand
in interface Topic
public void reactOnPopupMenuClosedByUser()
reactOnPopupMenuClosedByUser
in interface Topic
public com.softwareag.cis.server.util.TREECollection getContextMenu()
getContextMenu
in interface Topic
public java.util.List getCommands()
Topic
getCommands
in interface Topic
public java.lang.String getPageURL()
getPageURL
in interface Topic
public java.lang.String getPageAdapterClass()
Topic
getPageAdapterClass
in interface Topic
public java.lang.String toString()
toString
in class java.lang.Object