|
From: <caw...@us...> - 2007-09-07 15:36:34
|
Revision: 3108
http://rubyeclipse.svn.sourceforge.net/rubyeclipse/?rev=3108&view=rev
Author: cawilliams
Date: 2007-09-07 08:36:30 -0700 (Fri, 07 Sep 2007)
Log Message:
-----------
remove duplicated IDs
Modified Paths:
--------------
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/RdtPerspectiveFactory.java
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/RubyUI.java
Removed Paths:
-------------
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/actions/IRubyActionSetIds.java
Modified: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/RdtPerspectiveFactory.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/RdtPerspectiveFactory.java 2007-09-07 15:23:35 UTC (rev 3107)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/RdtPerspectiveFactory.java 2007-09-07 15:36:30 UTC (rev 3108)
@@ -7,7 +7,7 @@
import org.eclipse.ui.console.IConsoleConstants;
import org.eclipse.ui.progress.IProgressConstants;
import org.rubypeople.rdt.ui.IRubyConstants;
-import org.rubypeople.rdt.ui.actions.IRubyActionSetIds;
+import org.rubypeople.rdt.ui.RubyUI;
public class RdtPerspectiveFactory implements IPerspectiveFactory {
@@ -33,8 +33,8 @@
bottomLeft.addView(IPageLayout.ID_OUTLINE);
layout.addActionSet(IDebugUIConstants.LAUNCH_ACTION_SET);
- layout.addActionSet(IRubyActionSetIds.RUBY_ACTION_SET_ID);
- layout.addActionSet(IRubyActionSetIds.ID_ELEMENT_CREATION_ACTION_SET);
+ layout.addActionSet(RubyUI.ID_ACTION_SET);
+ layout.addActionSet(RubyUI.ID_ELEMENT_CREATION_ACTION_SET);
layout.addActionSet(IPageLayout.ID_NAVIGATE_ACTION_SET);
// views - debugging
@@ -46,7 +46,7 @@
layout.addShowViewShortcut(IPageLayout.ID_RES_NAV);
// new actions - Ruby project creation wizard
- layout.addNewWizardShortcut("org.rubypeople.rdt.ui.wizards.RubyNewClassWizard"); //$NON-NLS-1$
+ layout.addNewWizardShortcut(IRubyConstants.ID_NEW_CLASS_WIZARD);
layout.addNewWizardShortcut("org.eclipse.ui.wizards.new.folder");//$NON-NLS-1$
layout.addNewWizardShortcut("org.eclipse.ui.wizards.new.file");//$NON-NLS-1$
layout.addNewWizardShortcut("org.eclipse.ui.editors.wizards.UntitledTextFileWizard");//$NON-NLS-1$
Modified: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/RubyUI.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/RubyUI.java 2007-09-07 15:23:35 UTC (rev 3107)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/RubyUI.java 2007-09-07 15:36:30 UTC (rev 3108)
@@ -56,9 +56,9 @@
/**
* The id of the Ruby action set
- * (value <code>"org.rubypeople.rdt.ui.RubyActionSet"</code>).
+ * (value <code>"org.rubypeople.rdt.ui.rubyActionSet"</code>).
*/
- public static final String ID_ACTION_SET = "org.rubypeople.rdt.ui.RubyActionSet"; //$NON-NLS-1$
+ public static final String ID_ACTION_SET = "org.rubypeople.rdt.ui.rubyActionSet"; //$NON-NLS-1$
/**
* The editor part id of the editor that presents Ruby compilation units
Deleted: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/actions/IRubyActionSetIds.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/actions/IRubyActionSetIds.java 2007-09-07 15:23:35 UTC (rev 3107)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/actions/IRubyActionSetIds.java 2007-09-07 15:36:30 UTC (rev 3108)
@@ -1,9 +0,0 @@
-package org.rubypeople.rdt.ui.actions;
-
-public interface IRubyActionSetIds {
- /**
- * (value <code>"org.rubypeople.rdt.ui.rubyActionSet"</code>).
- */
- public static final String RUBY_ACTION_SET_ID = "org.rubypeople.rdt.ui.rubyActionSet";
- public static final String ID_ELEMENT_CREATION_ACTION_SET = "org.rubypeople.rdt.ui.RubyElementCreationActionSet";
-}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|