com.centrasite.control.ext.util
Class BaseTopic

java.lang.Object
  extended by com.softwareag.cis.plugin.extpt.util.AbstractExtensionImplementation
      extended by com.softwareag.cis.plugin.extpt.util.AbstractTopic
          extended by com.centrasite.control.ext.util.BaseTopic
All Implemented Interfaces:
com.softwareag.cis.plugin.extpt.Topic, com.softwareag.cis.plugin.interfaces.Component, com.softwareag.cis.plugin.registry.ExtensionImplementation
Direct Known Subclasses:
AssetTypeTopic, BrowseTopic, ConsumerApplicationsPlugInTopic, FavoriteTopic, FileSystemTopic, MyCentraSiteTopic, OrganizationPlugInTopic, RegistryTopic, RegistryTopic, ReportsTopic, RepositoryTopic, SearchTopic, SubscriptionsTopic, SupportingDocumentsTopic, UserManagementPlugInTopic, WelcomeTopic

public abstract class BaseTopic
extends com.softwareag.cis.plugin.extpt.util.AbstractTopic

Base infrastructure for topics


Nested Class Summary
 class BaseTopic.RefreshTopicCommand
          Command object used to refresh this topic
 
Field Summary
 
Fields inherited from class com.softwareag.cis.plugin.extpt.util.AbstractExtensionImplementation
rcs_id
 
Fields inherited from interface com.softwareag.cis.plugin.extpt.Topic
rcs_id
 
Constructor Summary
BaseTopic(int topicIndex)
           
 
Method Summary
 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
 
Methods inherited from class com.softwareag.cis.plugin.extpt.util.AbstractTopic
getCommands, getContextMenu, getId, getPageAdapterClass, getPageURL, getPerspective, getTree, getTreeCommandContext, getWorkplaceAdapter, getWorkplaceContext, getWorkplaceTopic, isEnabled, isVisible, reactOnPopupMenuClosedByUser, reactOnSwitchSelectedTopicWithTopicCommand, setEnabled, setTreeCommandContext, setVisible, setWorkplaceContext, toString
 
Methods inherited from class com.softwareag.cis.plugin.extpt.util.AbstractExtensionImplementation
getExtension, getPlugIn, popContextClassLoader, pushContextClassLoader, setExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.softwareag.cis.plugin.extpt.Topic
getTitle
 
Methods inherited from interface com.softwareag.cis.plugin.registry.ExtensionImplementation
getExtension, getPlugIn, popContextClassLoader, pushContextClassLoader, setExtension
 

Constructor Detail

BaseTopic

public BaseTopic(int topicIndex)
Method Detail

refresh

public abstract void refresh(com.centrasite.control.Item item,
                             int change)

getImageURL

public java.lang.String getImageURL()

createWorkplaceTopic

public boolean createWorkplaceTopic()
                             throws java.lang.Exception
Specified by:
createWorkplaceTopic in interface com.softwareag.cis.plugin.extpt.Topic
Overrides:
createWorkplaceTopic in class com.softwareag.cis.plugin.extpt.util.AbstractTopic
Throws:
java.lang.Exception

reactOnSwitchSelectedTopic

public 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

Specified by:
reactOnSwitchSelectedTopic in interface com.softwareag.cis.plugin.extpt.Topic
Overrides:
reactOnSwitchSelectedTopic in class com.softwareag.cis.plugin.extpt.util.AbstractTopic

getConnector

public com.centrasite.control.Connector getConnector()

getTopicAdapter

public TopicAdapter getTopicAdapter()

getTreeActionContext

public TreeActionContext getTreeActionContext(com.softwareag.cis.workplace.MFWorkplaceAdapter adapter)

refresh

public void refresh()
Refresh set of root nodes - supersede in derived class if it may change


setLocale

public void setLocale(java.util.Locale locale)
To be used only when WorkplaceContext is not available


getLocale

public java.util.Locale getLocale()
Overrides:
getLocale in class com.softwareag.cis.plugin.extpt.util.AbstractTopic