public class BasePerspective
extends com.softwareag.cis.plugin.extpt.util.AbstractPerspective
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
rcs_id |
Constructor and Description |
---|
BasePerspective() |
Modifier and Type | Method and Description |
---|---|
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
|
addTopic, containsTopic, getId, getSelectedTopic, getTopics, isEnabled, isVisible, isVisible, setEnabled, setSelectedTopic, setVisible, toString
getExtension, getPlugIn, popContextClassLoader, pushContextClassLoader, setExtension
public static final java.lang.String rcs_id
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 loginrequiresInitialCallReactOnSwitchSelectedPerspective
in interface com.softwareag.cis.plugin.extpt.Perspective
requiresInitialCallReactOnSwitchSelectedPerspective
in class com.softwareag.cis.plugin.extpt.util.AbstractPerspective
ac
- ApplicationContext instancereactOnSwitchSelectedPerspective
on user login otherwise false