directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1806386 - in /directory/studio/branches/studio-value/plugins/common.ui: plugin.properties plugin.xml src/main/java/org/apache/directory/studio/common/ui/CommonUIConstants.java
Date Sun, 27 Aug 2017 18:10:29 GMT
Author: elecharny
Date: Sun Aug 27 18:10:28 2017
New Revision: 1806386

URL: http://svn.apache.org/viewvc?rev=1806386&view=rev
Log:
o Get rid of Plugin_id in plugin.properties
o Removed the various ID defined in plugin.properties that are used only once

Modified:
    directory/studio/branches/studio-value/plugins/common.ui/plugin.properties
    directory/studio/branches/studio-value/plugins/common.ui/plugin.xml
    directory/studio/branches/studio-value/plugins/common.ui/src/main/java/org/apache/directory/studio/common/ui/CommonUIConstants.java

Modified: directory/studio/branches/studio-value/plugins/common.ui/plugin.properties
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/common.ui/plugin.properties?rev=1806386&r1=1806385&r2=1806386&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/common.ui/plugin.properties (original)
+++ directory/studio/branches/studio-value/plugins/common.ui/plugin.properties Sun Aug 27
18:10:28 2017
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-Plugin_id=org.apache.directory.studio.common.ui
-
-Pref_StudioPage_id=org.apache.directory.studio.StudioPreferencePage
+#---------------------------------------------------------------------------------------------------
+# The I18n Strings
+#---------------------------------------------------------------------------------------------------
 Pref_StudioPage_name=Apache Directory Studio

Modified: directory/studio/branches/studio-value/plugins/common.ui/plugin.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/common.ui/plugin.xml?rev=1806386&r1=1806385&r2=1806386&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/common.ui/plugin.xml (original)
+++ directory/studio/branches/studio-value/plugins/common.ui/plugin.xml Sun Aug 27 18:10:28
2017
@@ -23,7 +23,7 @@
          point="org.eclipse.ui.preferencePages">
       <page
             class="org.apache.directory.studio.common.ui.StudioPreferencePage"
-            id="%Pref_StudioPage_id"
+            id="org.apache.directory.studio.StudioPreferencePage"
             name="%Pref_StudioPage_name">
       </page>
    </extension>

Modified: directory/studio/branches/studio-value/plugins/common.ui/src/main/java/org/apache/directory/studio/common/ui/CommonUIConstants.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/common.ui/src/main/java/org/apache/directory/studio/common/ui/CommonUIConstants.java?rev=1806386&r1=1806385&r2=1806386&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/common.ui/src/main/java/org/apache/directory/studio/common/ui/CommonUIConstants.java
(original)
+++ directory/studio/branches/studio-value/plugins/common.ui/src/main/java/org/apache/directory/studio/common/ui/CommonUIConstants.java
Sun Aug 27 18:10:28 2017
@@ -42,7 +42,7 @@ public final class CommonUIConstants
     }
 
     /** The plug-in ID */
-    public static final String PLUGIN_ID = CommonUIPlugin.getDefault().getPluginProperties().getString(
"Plugin_id" ); //$NON-NLS-1$
+    public static final String PLUGIN_ID = CommonUIConstants.class.getPackage().getName();
 
     /** The pull-down image */
     public static final String IMG_PULLDOWN = "resources/icons/pulldown.gif"; //$NON-NLS-1$



Mime
View raw message