A perspective is a particular rendering of the IBM Sales
Center that contains a predefined combination of views and editors.
There are two perspectives in the IBM Sales Center, the Orders perspective
and Web Browser perspectives that enable different
sets of tasks.
About this task
To remove a perspective completely from the IBM Sales Center
user interface, you must define a plug-in which programmatically removes
the perspective.
Procedure
- Create a plug-in project which implements interface IStartup
(org.eclipse.ui.IStartup) to contain your customizations.
- Define an extension to the base Eclipse extension point
org.eclipse.ui.startup
.
<extension
id="com.xyz.removePerspective"
name="com.xyz.removePerspective"
point="org.eclipse.ui.startup">
</extension>
- Add the plug-in
com.ibm.rcp.ui plugin
in
the dependency tab of the plug-in MANIFEST.MF file.
- Provide following implementation in the
earlyStartup()
of
the plug-in Activator class.LauncherManager.getInstance().remove("orgAdminWebApp");
LauncherManager.getInstance().remove("acceleratorWebApp");
LauncherManager.getInstance().update(true);