|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.cis.plugin.extpt.util.AbstractExtensionImplementation
com.softwareag.cis.plugin.extpt.util.AbstractPerspective
com.centrasite.control.ext.BasePerspective
public class BasePerspective
Provides common functionality for CS Control perspectives.
Field Summary | |
---|---|
static java.lang.String |
rcs_id
|
Constructor Summary | |
---|---|
BasePerspective()
|
Method Summary | |
---|---|
java.lang.String |
getImageURL()
|
java.lang.String |
getLogoImageURL()
|
java.lang.String |
getSingleClickMethodName()
returns the method name that should be called in case the perspective has no topic and should some event should be fired on Perspective selection. |
java.lang.String |
getTitle()
|
com.softwareag.cis.server.util.ICONLISTInfo |
getToolbar()
I-Release perspectives do not have global toolbar |
java.lang.String |
getView()
I-Release perspectives do not provide for views |
java.lang.String |
getViewLabel()
I-Release perspectives do not provide for views |
java.util.List |
getViewValues()
I-Release perspectives do not provide for views |
java.lang.String |
getWorkplaceDefaultLayout()
Default activity |
boolean |
hasTopicTree()
|
boolean |
isSingeClickable()
|
void |
reactOnSwitchSelectedPerspective(com.softwareag.cis.plugin.extpt.Perspective oldPerspective,
com.softwareag.cis.plugin.extpt.Perspective newPerspective)
Notify perspective about change of visible perspective - override in subclass if required |
boolean |
requiresInitialCallReactOnSwitchSelectedPerspective(com.softwareag.cis.plugin.util.ApplicationContext ac)
By default method reactOnSwitchSelectedPerspective is called
on user selection only. |
void |
setView(java.lang.String view)
I-Release perspectives do not provide for views. |
void |
setWorkplaceContext(com.softwareag.cis.plugin.extpt.util.WorkplaceContext wc)
Initialize this Perspective - the WorkplaceContext is passed for potential callbacks |
boolean |
supportsViews()
Check whether this Perspective supports a view selection list box |
Methods inherited from class com.softwareag.cis.plugin.extpt.util.AbstractPerspective |
---|
addTopic, containsTopic, getId, getSelectedTopic, getTopics, isEnabled, isVisible, isVisible, setEnabled, setSelectedTopic, setVisible, 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.registry.ExtensionImplementation |
---|
getExtension, getPlugIn, popContextClassLoader, pushContextClassLoader, setExtension |
Field Detail |
---|
public static final java.lang.String rcs_id
Constructor Detail |
---|
public BasePerspective()
Method Detail |
---|
public java.lang.String getImageURL()
public java.lang.String getLogoImageURL()
public java.lang.String getTitle()
public com.softwareag.cis.server.util.ICONLISTInfo getToolbar()
public java.lang.String getWorkplaceDefaultLayout()
public void setView(java.lang.String view)
public java.lang.String getView()
public java.lang.String getViewLabel()
public java.util.List getViewValues()
public boolean isSingeClickable()
isSingeClickable
in interface com.softwareag.cis.plugin.extpt.Perspective
isSingeClickable
in class com.softwareag.cis.plugin.extpt.util.AbstractPerspective
public java.lang.String getSingleClickMethodName()
getSingleClickMethodName
in interface com.softwareag.cis.plugin.extpt.Perspective
getSingleClickMethodName
in class com.softwareag.cis.plugin.extpt.util.AbstractPerspective
public boolean supportsViews()
supportsViews
in interface com.softwareag.cis.plugin.extpt.Perspective
supportsViews
in class com.softwareag.cis.plugin.extpt.util.AbstractPerspective
public boolean hasTopicTree()
hasTopicTree
in interface com.softwareag.cis.plugin.extpt.Perspective
hasTopicTree
in class com.softwareag.cis.plugin.extpt.util.AbstractPerspective
public void setWorkplaceContext(com.softwareag.cis.plugin.extpt.util.WorkplaceContext wc)
wc
- public void reactOnSwitchSelectedPerspective(com.softwareag.cis.plugin.extpt.Perspective oldPerspective, com.softwareag.cis.plugin.extpt.Perspective newPerspective)
reactOnSwitchSelectedPerspective
in interface com.softwareag.cis.plugin.extpt.Perspective
reactOnSwitchSelectedPerspective
in class com.softwareag.cis.plugin.extpt.util.AbstractPerspective
oldPerspective
- the perspective which was visible before, null if nonenewPerspective
- the perspective to become visiblepublic boolean requiresInitialCallReactOnSwitchSelectedPerspective(com.softwareag.cis.plugin.util.ApplicationContext ac)
reactOnSwitchSelectedPerspective
is called
on user selection only. Use this method to indicate that your perspective
needs to have that notification callback also on user login
requiresInitialCallReactOnSwitchSelectedPerspective
in interface com.softwareag.cis.plugin.extpt.Perspective
requiresInitialCallReactOnSwitchSelectedPerspective
in class com.softwareag.cis.plugin.extpt.util.AbstractPerspective
ac
- ApplicationContext instance
reactOnSwitchSelectedPerspective
on user login otherwise false
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |