Develop > Presentation layer > Customize IBM Sales Center > Perspectives
Remove a perspective
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 and Web Browser perspectives, that enable different sets of tasks. This section explains how to remove a perspective.
To remove a perspective completely from the IBM Sales Center user interface, use the default Eclipse activities extension point. Activities are used by the Eclipse platform to filter certain plug-in contributions from the users view. For more information about activities, refer to the Eclipse platform documentation.
To remove a perspective:
Procedure
- Create a new plug-in to contain the customizations.
- You will need to remove the application associated with the perspective. This can be done by creating an activity for that application and then never enabling the activity. The following extension declarations, when added to your new plug-in's plugin.xml file, will remove the base Sales Center applications:
<extension point="org.eclipse.ui.activities"> <!-- Define an activity for the Order Management application --> <activity name="Order Management Activity" id="com.ibm.commerce.telesales.orderCaptureApplicationActivity"/> <activityPatternBinding activityId="com.ibm.commerce.telesales.orderCaptureApplicationActivity" pattern="com\.ibm\.commerce\.telesales\.ui\.impl/com\.ibm\.commerce\.telesales\.orderCaptureApplication"/> <!-- Define an activity for the Organization Administration Console application --> <activity name="Org Admin Activity" id="com.ibm.commerce.telesales.orgAdminWebApplicationActivity"/> <activityPatternBinding activityId="com.ibm.commerce.telesales.orgAdminWebApplicationActivity" pattern="com\.ibm\.commerce\.telesales\.ui\.impl/orgAdminWebApp"/> <!-- Define an activity for the Accelerator application --> <activity name="Accelerator Activity" id="com.ibm.commerce.telesales.acceleratorWebApplicationActivity"/> <activityPatternBinding activityId="com.ibm.commerce.telesales.acceleratorWebApplicationActivity" pattern="com\.ibm\.commerce\.telesales\.ui\.impl/acceleratorWebApp"/> </extension>
Related concepts
Overview of customizing IBM Sales Center
Related tasks