directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r690966 - in /directory/studio/trunk/ldapbrowser-core: ./ src/main/java/org/apache/directory/studio/ldapbrowser/core/ src/main/java/org/apache/directory/studio/ldapbrowser/core/internal/search/
Date Mon, 01 Sep 2008 13:18:16 GMT
Author: pamarcelot
Date: Mon Sep  1 06:18:14 2008
New Revision: 690966

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

Modified:
    directory/studio/trunk/ldapbrowser-core/plugin.properties
    directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserCoreConstants.java
    directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/internal/search/LdapSearchPageScoreComputer.java

Modified: directory/studio/trunk/ldapbrowser-core/plugin.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-core/plugin.properties?rev=690966&r1=690965&r2=690966&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-core/plugin.properties (original)
+++ directory/studio/trunk/ldapbrowser-core/plugin.properties Mon Sep  1 06:18:14 2008
@@ -19,4 +19,6 @@
 
 ConnectionListener_BrowserConnectionListener_id=org.apache.directory.studio.ldapbrowser.core.model.impl.BrowserConnection
 ConnectionListener_BrowserConnectionListener_name=Browser Connection Listener
-ConnectionListener_BrowserConnectionListener_description=Opens/closes browser connection
when the underlying connection is opened/closed
\ No newline at end of file
+ConnectionListener_BrowserConnectionListener_description=Opens/closes browser connection
when the underlying connection is opened/closed
+
+SearchPage_LdapSearch_id=org.apache.directory.studio.ldapbrowser.ui.search.SearchPage
\ No newline at end of file

Modified: directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserCoreConstants.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserCoreConstants.java?rev=690966&r1=690965&r2=690966&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserCoreConstants.java
(original)
+++ directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserCoreConstants.java
Mon Sep  1 06:18:14 2008
@@ -91,4 +91,7 @@
     public static final int SORT_ORDER_ASCENDING = 1;
 
     public static final int SORT_ORDER_DESCENDING = 2;
+
+    public static final String LDAP_SEARCH_PAGE_ID = BrowserCorePlugin.getDefault().getPluginProperties().getString(
+        "SearchPage_LdapSearch_id" );
 }

Modified: directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/internal/search/LdapSearchPageScoreComputer.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/internal/search/LdapSearchPageScoreComputer.java?rev=690966&r1=690965&r2=690966&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/internal/search/LdapSearchPageScoreComputer.java
(original)
+++ directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/internal/search/LdapSearchPageScoreComputer.java
Mon Sep  1 06:18:14 2008
@@ -21,13 +21,14 @@
 package org.apache.directory.studio.ldapbrowser.core.internal.search;
 
 
+import org.apache.directory.studio.ldapbrowser.core.BrowserCoreConstants;
 import org.eclipse.search.ui.ISearchPageScoreComputer;
 
 
 public class LdapSearchPageScoreComputer implements ISearchPageScoreComputer
 {
 
-    public static final String LDAP_SEARCH_PAGE_ID = "org.apache.directory.studio.ldapbrowser.ui.search.SearchPage";
//$NON-NLS-1$
+    public static final String LDAP_SEARCH_PAGE_ID = BrowserCoreConstants.LDAP_SEARCH_PAGE_ID;
 
 
     public int computeScore( String pageId, Object input )



Mime
View raw message