public abstract class BaseTopic
extends com.softwareag.cis.plugin.extpt.util.AbstractTopic
Modifier and Type | Class and Description |
---|---|
class |
BaseTopic.RefreshTopicCommand
Command object used to refresh this topic
|
Constructor and Description |
---|
BaseTopic(int topicIndex) |
Modifier and Type | Method and Description |
---|---|
boolean |
createWorkplaceTopic() |
com.centrasite.control.Connector |
getConnector() |
java.lang.String |
getImageURL() |
java.util.Locale |
getLocale() |
TopicAdapter |
getTopicAdapter() |
TreeActionContext |
getTreeActionContext(com.softwareag.cis.workplace.MFWorkplaceAdapter adapter) |
void |
reactOnSwitchSelectedTopic(com.softwareag.cis.plugin.extpt.Topic oldTopic,
com.softwareag.cis.plugin.extpt.Topic newTopic)
React on topic change - override in subclass if required
|
void |
refresh()
Refresh set of root nodes - supersede in derived class if it may change
|
abstract void |
refresh(com.centrasite.control.Item item,
int change) |
void |
setLocale(java.util.Locale locale)
To be used only when WorkplaceContext is not available
|
getCommands, getContextMenu, getId, getPageAdapterClass, getPageURL, getPerspective, getTree, getTreeCommandContext, getWorkplaceAdapter, getWorkplaceContext, getWorkplaceTopic, isEnabled, isVisible, reactOnPopupMenuClosedByUser, reactOnSwitchSelectedTopicWithTopicCommand, setEnabled, setTreeCommandContext, setVisible, setWorkplaceContext, toString
getExtension, getPlugIn, popContextClassLoader, pushContextClassLoader, setExtension
public abstract void refresh(com.centrasite.control.Item item, int change)
public java.lang.String getImageURL()
public boolean createWorkplaceTopic() throws java.lang.Exception
createWorkplaceTopic
in interface com.softwareag.cis.plugin.extpt.Topic
createWorkplaceTopic
in class com.softwareag.cis.plugin.extpt.util.AbstractTopic
java.lang.Exception
public void reactOnSwitchSelectedTopic(com.softwareag.cis.plugin.extpt.Topic oldTopic, com.softwareag.cis.plugin.extpt.Topic newTopic)
reactOnSwitchSelectedTopic
in interface com.softwareag.cis.plugin.extpt.Topic
reactOnSwitchSelectedTopic
in class com.softwareag.cis.plugin.extpt.util.AbstractTopic
public com.centrasite.control.Connector getConnector()
public TopicAdapter getTopicAdapter()
public TreeActionContext getTreeActionContext(com.softwareag.cis.workplace.MFWorkplaceAdapter adapter)
public void refresh()
public void setLocale(java.util.Locale locale)
public java.util.Locale getLocale()
getLocale
in class com.softwareag.cis.plugin.extpt.util.AbstractTopic