Fix for HDT-14, since the source split, the id's hadn't been updated in
the hadoop perspective factory
diff --git a/org.apache.hdt.ui/plugin.xml b/org.apache.hdt.ui/plugin.xml
index 17f00a6..9e9bfa2 100644
--- a/org.apache.hdt.ui/plugin.xml
+++ b/org.apache.hdt.ui/plugin.xml
@@ -43,7 +43,7 @@
finalPerspective="org.apache.hdt.ui.HadoopPerspective"
hasPages="true"
icon="resources/Elephant16x16.gif"
- id="org.apache.hadoop.eclipse.NewProjectWizard"
+ id="org.apache.hdt.ui.NewProjectWizard"
name="Map/Reduce Project"
preferredPerspectives="org.apache.hadoop.eclipse.Perspective"
project="true"/>
@@ -51,21 +51,21 @@
category="org.apache.hdt.category"
class="org.apache.hdt.ui.wizards.NewMapperWizard"
icon="resources/mapper16.png"
- id="org.apache.hadoop.eclipse.NewMapperWizard"
+ id="org.apache.hdt.ui.NewMapperWizard"
name="Mapper"
project="false"/>
<wizard
category="org.apache.hdt.category"
class="org.apache.hdt.ui.wizards.NewReducerWizard"
icon="resources/reducer16.png"
- id="org.apache.hadoop.eclipse.NewReducerWizard"
+ id="org.apache.hdt.ui.NewReducerWizard"
name="Reducer"
project="false"/>
<wizard
category="org.apache.hdt.category"
class="org.apache.hdt.ui.wizards.NewDriverWizard"
icon="resources/driver.png"
- id="org.apache.hadoop.eclipse.NewDriverWizard"
+ id="org.apache.hdt.ui.NewDriverWizard"
name="MapReduce Driver"
project="false"/>
<category
diff --git a/org.apache.hdt.ui/src/org/apache/hdt/ui/perspectives/HadoopPerspectiveFactory.java b/org.apache.hdt.ui/src/org/apache/hdt/ui/perspectives/HadoopPerspectiveFactory.java
index 3dada39..880d7cc 100644
--- a/org.apache.hdt.ui/src/org/apache/hdt/ui/perspectives/HadoopPerspectiveFactory.java
+++ b/org.apache.hdt.ui/src/org/apache/hdt/ui/perspectives/HadoopPerspectiveFactory.java
@@ -34,30 +34,30 @@
public class HadoopPerspectiveFactory implements IPerspectiveFactory {
public void createInitialLayout(IPageLayout layout) {
- layout.addNewWizardShortcut("org.apache.hadoop.eclipse.NewDriverWizard");
- layout.addNewWizardShortcut("org.apache.hadoop.eclipse.NewMapperWizard");
+ layout.addNewWizardShortcut("org.apache.hdt.ui.NewDriverWizard");
+ layout.addNewWizardShortcut("org.apache.hdt.ui.NewMapperWizard");
layout
- .addNewWizardShortcut("org.apache.hadoop.eclipse.NewReducerWizard");
+ .addNewWizardShortcut("org.apache.hdt.ui.NewReducerWizard");
IFolderLayout left =
- layout.createFolder("org.apache.hadoop.eclipse.perspective.left",
+ layout.createFolder("org.apache.hdt.ui.HadoopPerspective.left",
IPageLayout.LEFT, 0.2f, layout.getEditorArea());
left.addView("org.eclipse.ui.navigator.ProjectExplorer");
IFolderLayout bottom =
- layout.createFolder("org.apache.hadoop.eclipse.perspective.bottom",
+ layout.createFolder("org.apache.hdt.ui.HadoopPerspective.bottom",
IPageLayout.BOTTOM, 0.7f, layout.getEditorArea());
bottom.addView(IPageLayout.ID_PROBLEM_VIEW);
bottom.addView(IPageLayout.ID_TASK_LIST);
bottom.addView(JavaUI.ID_JAVADOC_VIEW);
- bottom.addView("org.apache.hadoop.eclipse.view.servers");
+ bottom.addView("org.apache.hdt.ui.ClusterView");
bottom.addPlaceholder(JavaUI.ID_SOURCE_VIEW);
bottom.addPlaceholder(IPageLayout.ID_PROGRESS_VIEW);
bottom.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW);
bottom.addPlaceholder(IPageLayout.ID_BOOKMARKS);
IFolderLayout right =
- layout.createFolder("org.apache.hadoop.eclipse.perspective.right",
+ layout.createFolder("org.apache.hdt.ui.HadoopPerspective.right",
IPageLayout.RIGHT, 0.8f, layout.getEditorArea());
right.addView(IPageLayout.ID_OUTLINE);
right.addView("org.eclipse.ui.cheatsheets.views.CheatSheetView");