plugins/org.symbian.tools.wrttools.product/src/org/symbian/tools/wrttools/product/perspective/WRTPerspective.java
changeset 475 77edd0cbdfe0
parent 470 d4809db37847
child 484 f5df819c1852
equal deleted inserted replaced
474:e2f461f0a9e0 475:77edd0cbdfe0
     7 import org.eclipse.ui.IPerspectiveFactory;
     7 import org.eclipse.ui.IPerspectiveFactory;
     8 import org.eclipse.ui.console.IConsoleConstants;
     8 import org.eclipse.ui.console.IConsoleConstants;
     9 import org.eclipse.ui.progress.IProgressConstants;
     9 import org.eclipse.ui.progress.IProgressConstants;
    10 import org.eclipse.wst.jsdt.ui.JavaScriptUI;
    10 import org.eclipse.wst.jsdt.ui.JavaScriptUI;
    11 import org.symbian.tools.tmw.previewer.PreviewerPlugin;
    11 import org.symbian.tools.tmw.previewer.PreviewerPlugin;
       
    12 import org.symbian.tools.tmw.ui.project.NewApplicationWizard;
    12 
    13 
    13 public class WRTPerspective implements IPerspectiveFactory {
    14 public class WRTPerspective implements IPerspectiveFactory {
    14 
    15 
    15 	public void createInitialLayout(IPageLayout layout) {
    16 	public void createInitialLayout(IPageLayout layout) {
    16  		String editorArea = layout.getEditorArea();
    17  		String editorArea = layout.getEditorArea();
    42 		// views - java
    43 		// views - java
    43 		layout.addShowViewShortcut(JavaScriptUI.ID_TYPE_HIERARCHY);
    44 		layout.addShowViewShortcut(JavaScriptUI.ID_TYPE_HIERARCHY);
    44         layout.addShowViewShortcut(IPageLayout.ID_PROJECT_EXPLORER);
    45         layout.addShowViewShortcut(IPageLayout.ID_PROJECT_EXPLORER);
    45 		layout.addShowViewShortcut(JavaScriptUI.ID_SOURCE_VIEW);
    46 		layout.addShowViewShortcut(JavaScriptUI.ID_SOURCE_VIEW);
    46 		layout.addShowViewShortcut(JavaScriptUI.ID_JAVADOC_VIEW);
    47 		layout.addShowViewShortcut(JavaScriptUI.ID_JAVADOC_VIEW);
    47 		layout.addShowViewShortcut("org.symbian.tools.wrttools.wrtnavigator");
       
    48 
    48 
    49 		layout.addPerspectiveShortcut(IDebugUIConstants.ID_DEBUG_PERSPECTIVE);
    49 		layout.addPerspectiveShortcut(IDebugUIConstants.ID_DEBUG_PERSPECTIVE);
    50 		
    50 		
    51 		// views - search
    51 		// views - search
    52 		layout.addShowViewShortcut(NewSearchUI.SEARCH_VIEW_ID);
    52 		layout.addShowViewShortcut(NewSearchUI.SEARCH_VIEW_ID);
    57 		layout.addShowViewShortcut(IPageLayout.ID_TASK_LIST);
    57 		layout.addShowViewShortcut(IPageLayout.ID_TASK_LIST);
    58 		layout.addShowViewShortcut(PreviewerPlugin.PREVIEW_VIEW);
    58 		layout.addShowViewShortcut(PreviewerPlugin.PREVIEW_VIEW);
    59         layout.addShowViewShortcut("org.eclipse.wst.common.snippets.internal.ui.SnippetsView");
    59         layout.addShowViewShortcut("org.eclipse.wst.common.snippets.internal.ui.SnippetsView");
    60 				
    60 				
    61 		// new actions - Java project creation wizard
    61 		// new actions - Java project creation wizard
    62 		layout.addNewWizardShortcut("org.symbian.tools.wrttools.core.wrtwidgetwizard"); //$NON-NLS-1$
    62         layout.addNewWizardShortcut(NewApplicationWizard.ID);
    63 		layout.addNewWizardShortcut("org.eclipse.wst.jsdt.ui.NewJSWizard"); //$NON-NLS-1$
    63 		layout.addNewWizardShortcut("org.eclipse.wst.jsdt.ui.NewJSWizard"); //$NON-NLS-1$
    64 		layout.addNewWizardShortcut("org.eclipse.wst.html.ui.internal.wizard.NewHTMLWizard"); //$NON-NLS-1$
    64 		layout.addNewWizardShortcut("org.eclipse.wst.html.ui.internal.wizard.NewHTMLWizard"); //$NON-NLS-1$
    65 		layout.addNewWizardShortcut("org.eclipse.wst.css.ui.internal.wizard.NewCSSWizard"); //$NON-NLS-1$
    65 		layout.addNewWizardShortcut("org.eclipse.wst.css.ui.internal.wizard.NewCSSWizard"); //$NON-NLS-1$
    66 		layout.addNewWizardShortcut("org.eclipse.wst.xml.ui.internal.wizards.NewXMLWizard"); //$NON-NLS-1$
    66 		layout.addNewWizardShortcut("org.eclipse.wst.xml.ui.internal.wizards.NewXMLWizard"); //$NON-NLS-1$
    67 		layout.addNewWizardShortcut("org.eclipse.wst.jsdt.ui.wizards.NewSnippetFileCreationWizard"); //$NON-NLS-1$
    67 		layout.addNewWizardShortcut("org.eclipse.wst.jsdt.ui.wizards.NewSnippetFileCreationWizard"); //$NON-NLS-1$