directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r690946 - in /directory/studio/trunk/schemaeditor: plugin.properties src/main/java/org/apache/directory/studio/schemaeditor/PluginUtils.java
Date Mon, 01 Sep 2008 11:55:57 GMT
Author: pamarcelot
Date: Mon Sep  1 04:55:56 2008
New Revision: 690946

URL: http://svn.apache.org/viewvc?rev=690946&view=rev
Log:
Part of a fix for DIRSTUDIO-375 (Move each plugin IDs in a plugin.properties file).

Modified:
    directory/studio/trunk/schemaeditor/plugin.properties
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginUtils.java

Modified: directory/studio/trunk/schemaeditor/plugin.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/plugin.properties?rev=690946&r1=690945&r2=690946&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/plugin.properties (original)
+++ directory/studio/trunk/schemaeditor/plugin.properties Mon Sep  1 04:55:56 2008
@@ -15,7 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 
-Plugin_id="org.apache.directory.studio.schemaeditor"
+Plugin_id=org.apache.directory.studio.schemaeditor
+
+ExtensionPoint_SchemaConnectors_id=org.apache.directory.studio.schemaeditor.schemaConnectors
 
 Perspective_SchemaEditor_id=org.apache.directory.studio.schemaeditor.perspective
 Perspective_SchemaEditor_name=Schema Editor

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginUtils.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginUtils.java?rev=690946&r1=690945&r2=690946&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginUtils.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginUtils.java
Mon Sep  1 04:55:56 2008
@@ -307,10 +307,8 @@
     public static void logInfo( Throwable exception, String message, Object... args )
     {
         String msg = MessageFormat.format( message, args );
-        Activator.getDefault().getLog()
-            .log(
-                new Status( Status.INFO, Activator.getDefault().getBundle().getSymbolicName(),
Status.OK, msg,
-                    exception ) );
+        Activator.getDefault().getLog().log(
+            new Status( Status.INFO, Activator.getDefault().getBundle().getSymbolicName(),
Status.OK, msg, exception ) );
     }
 
 
@@ -462,7 +460,7 @@
         List<SchemaConnector> schemaConnectors = new ArrayList<SchemaConnector>();
 
         IExtensionPoint extensionPoint = Platform.getExtensionRegistry().getExtensionPoint(
-            "org.apache.directory.studio.schemaeditor.schemaConnectors" );
+            Activator.getDefault().getPluginProperties().getString( "ExtensionPoint_SchemaConnectors_id"
) );
         IConfigurationElement[] members = extensionPoint.getConfigurationElements();
 
         if ( members != null )



Mime
View raw message