hdt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ad...@apache.org
Subject [3/3] git commit: Fix for HDT-14, since the source split, the id's hadn't been updated in the hadoop perspective factory
Date Tue, 19 Mar 2013 20:58:33 GMT
Updated Branches:
  refs/heads/master abe7b560e -> f6b4b47af


Fix for HDT-14, since the source split, the id's hadn't been updated in
the hadoop perspective factory

Project: http://git-wip-us.apache.org/repos/asf/incubator-hdt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hdt/commit/f6b4b47a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hdt/tree/f6b4b47a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hdt/diff/f6b4b47a

Branch: refs/heads/master
Commit: f6b4b47afa7c8bec6fa2022649462f3dcc2642b8
Parents: 2745a6c
Author: adamb <adamb@apache.org>
Authored: Tue Mar 19 15:56:56 2013 -0500
Committer: adamb <adamb@apache.org>
Committed: Tue Mar 19 15:56:56 2013 -0500

----------------------------------------------------------------------
 org.apache.hdt.ui/plugin.xml                       |    8 ++++----
 .../ui/perspectives/HadoopPerspectiveFactory.java  |   14 +++++++-------
 2 files changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/f6b4b47a/org.apache.hdt.ui/plugin.xml
----------------------------------------------------------------------
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

http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/f6b4b47a/org.apache.hdt.ui/src/org/apache/hdt/ui/perspectives/HadoopPerspectiveFactory.java
----------------------------------------------------------------------
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 @@ import org.eclipse.ui.console.IConsoleConstants;
 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");


Mime
View raw message