Return-Path: X-Original-To: apmail-directory-commits-archive@www.apache.org Delivered-To: apmail-directory-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 15C8F17B47 for ; Mon, 23 Mar 2015 17:59:21 +0000 (UTC) Received: (qmail 17097 invoked by uid 500); 23 Mar 2015 17:59:11 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 16964 invoked by uid 500); 23 Mar 2015 17:59:11 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 16163 invoked by uid 99); 23 Mar 2015 17:59:11 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2015 17:59:11 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id C389CAC0C50 for ; Mon, 23 Mar 2015 17:59:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1668692 [14/16] - in /directory/studio/trunk: ./ eclipse-target-platform/ features/ features/apacheds.feature/ features/ldapbrowser.feature/ features/ldifeditor.feature/ features/rcp.feature/ features/schemaeditor.feature/ helps/ helps/apa... Date: Mon, 23 Mar 2015 17:59:06 -0000 To: commits@directory.apache.org From: seelmann@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150323175910.C389CAC0C50@hades.apache.org> Modified: directory/studio/trunk/plugins/ldifparser/pom.xml URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldifparser/pom.xml?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/ldifparser/pom.xml (original) +++ directory/studio/trunk/plugins/ldifparser/pom.xml Mon Mar 23 17:59:02 2015 @@ -6,9 +6,9 @@ The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -24,120 +24,12 @@ org.apache.directory.studio parent-plugins 2.0.0-SNAPSHOT + ../ - - ldifparser + + org.apache.directory.studio.ldifparser Apache Directory Studio LDIF Parser - jar + eclipse-plugin - - - - - org.apache.maven.plugins - maven-eclipse-plugin - - false - true - - org.eclipse.jdt.core.javabuilder - org.eclipse.pde.ManifestBuilder - org.eclipse.pde.SchemaBuilder - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - - org.eclipse.jdt.launching.JRE_CONTAINER - org.eclipse.pde.core.requiredPlugins - - - - - org.apache.directory.studio - studio-maven-plugin - - false - true - - - - - prepare-jar-package - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - META-INF/MANIFEST.MF - false - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - - org.apache.felix - maven-bundle-plugin - true - - META-INF - - ${project.groupId}.${project.artifactId};singleton:=true - plugin - org.apache.commons.codec;bundle-version="${org.apache.commons.codec.version}", - org.apache.directory.api.ldap.model;bundle-version="${org.apache.directory.api.validversion}" - org.apache.directory.studio.ldifparser.* - !* - - - - - generate-manifest - process-classes - - manifest - - - - - - - - - - - org.apache.directory.studio - org.apache.commons.codec - provided - - - org.apache.directory.api - api-ldap-model - provided - - - - - junit - junit - test - - - org.slf4j - slf4j-log4j12 - test - - - - Modified: directory/studio/trunk/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/LdifUtils.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/LdifUtils.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/LdifUtils.java (original) +++ directory/studio/trunk/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/LdifUtils.java Mon Mar 23 17:59:02 2015 @@ -99,23 +99,14 @@ public class LdifUtils public static String hexEncode( byte[] data ) { if ( data == null ) + { return null; + } char[] c = Hex.encodeHex( data ); String s = new String( c ); - return s; - // StringBuffer sb = new StringBuffer(data.length*3); - // for(int i=0; i '\u007F' ) + if ( ( value.charAt( i ) == '\r' ) || ( value.charAt( i ) == '\n' ) || ( value.charAt( i ) == '\u0000' ) + || ( value.charAt( i ) > '\u007F' ) ) { return true; } @@ -201,5 +193,4 @@ public class LdifUtils return false; } - } Modified: directory/studio/trunk/plugins/pom.xml URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/pom.xml?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/pom.xml (original) +++ directory/studio/trunk/plugins/pom.xml Mon Mar 23 17:59:02 2015 @@ -6,9 +6,9 @@ The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -24,15 +24,16 @@ org.apache.directory.studio parent 2.0.0-SNAPSHOT + ../ - + parent-plugins Apache Directory Studio Plugins pom aciitemeditor - apacheds-launcher + apacheds.configuration apacheds.configuration.v2 common.core @@ -43,65 +44,65 @@ ldapbrowser.common ldapbrowser.ui ldapservers - ldapservers.apacheds.v153 - ldapservers.apacheds.v154 - ldapservers.apacheds.v155 - ldapservers.apacheds.v156 - ldapservers.apacheds.v157 + + + + + ldapservers.apacheds.v200 ldifeditor ldifparser rcp - schemaeditor - valueeditors + schemaeditor + valueeditors - - - - - - org.apache.rat - apache-rat-plugin - - false - + + + + + + + + + + - **/target/**/* - **/cobertura.ser + + - **/.classpath - **/.project - **/.settings/**/* + + + - **/*.iml - **/*.ipr - **/*.iws + + + - **/MANIFEST.MF + - **/dependency-reduced-pom.xml + - **/.gitignore + - **/about.ini - **/about_files/* + + - **/*.log - **/*.vm + + - apacheds.configuration/src/main/resources/org/apache/directory/studio/apacheds/configuration/spring-beans.dtd - apacheds.configuration.v2/src/main/resources/org/apache/directory/studio/apacheds/configuration/v2/config.ldif - common.ui/src/main/java/org/apache/directory/studio/common/ui/filesystem/PathEditorInput.java - ldapbrowser.core/src/main/resources/default_schema.ldif - rcp/resources/icons/linux/studio.xpm - schemaeditor/resources/schemas/openldap/*.xml - **/*.launch - **/maven-eclipse.xml - - - - - - - + + + + + + + + + + + + + + + Modified: directory/studio/trunk/plugins/rcp/plugin.properties URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/rcp/plugin.properties?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/rcp/plugin.properties (original) +++ directory/studio/trunk/plugins/rcp/plugin.properties Mon Mar 23 17:59:02 2015 @@ -14,7 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -aboutText=Apache Directory Studio\n\n\Version: ${pom.version}\n\n\u00A9 2006-2013 Apache Software Foundation - All right reserved.\n\Visit http://directory.apache.org/studio\n\n\This product is licensed under the terms of the Apache License 2.0.\n\n\Some icons from FAMFAMFAM http://www.famfamfam.com/lab/icons/silk +aboutText=Apache Directory Studio\n\n\Version: 2.0.0\n\n\u00A9 2006-2013 Apache Software Foundation - All right reserved.\n\Visit http://directory.apache.org/studio\n\n\This product is licensed under the terms of the Apache License 2.0.\n\n\Some icons from FAMFAMFAM http://www.famfamfam.com/lab/icons/silk Action_AddExtension_id=org.apache.directory.studio.newExtensions Action_ManageConfiguration_id=org.apache.directory.studio.manageConfiguration Modified: directory/studio/trunk/plugins/rcp/plugin_de.properties URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/rcp/plugin_de.properties?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/rcp/plugin_de.properties (original) +++ directory/studio/trunk/plugins/rcp/plugin_de.properties Mon Mar 23 17:59:02 2015 @@ -14,5 +14,5 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -aboutText=Apache Directory Studio\n\n\Version: ${pom.version}\n\n\u00A9 2006-2013 Apache Software Foundation - Alle Rechte vorbehalten.\n\Besuchen Sie http://directory.apache.org/studio\n\n\Dieses Produkt wird unter den Bedingungen der Apache License 2.0 lizenziert.\n\n\Einige Symbole stammen von FAMFAMFAM http://www.famfamfam.com/lab/icons/silk +aboutText=Apache Directory Studio\n\n\Version: 2.0.0\n\n\u00A9 2006-2013 Apache Software Foundation - Alle Rechte vorbehalten.\n\Besuchen Sie http://directory.apache.org/studio\n\n\Dieses Produkt wird unter den Bedingungen der Apache License 2.0 lizenziert.\n\n\Einige Symbole stammen von FAMFAMFAM http://www.famfamfam.com/lab/icons/silk PrefPage_ShutdownPreferencesPage_name=Beenden Modified: directory/studio/trunk/plugins/rcp/plugin_fr.properties URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/rcp/plugin_fr.properties?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/rcp/plugin_fr.properties (original) +++ directory/studio/trunk/plugins/rcp/plugin_fr.properties Mon Mar 23 17:59:02 2015 @@ -14,5 +14,5 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -aboutText=Apache Directory Studio\n\n\Version: ${pom.version}\n\n\u00A9 2006-2013 Apache Software Foundation - Tous droits réservés.\n\Visit http://directory.apache.org/studio\n\n\Ce produit est licencié selon les termes de la Apache License 2.0.\n\n\Certaines icones sont de FAMFAMFAM http://www.famfamfam.com/lab/icons/silk +aboutText=Apache Directory Studio\n\n\Version: 2.0.0\n\n\u00A9 2006-2013 Apache Software Foundation - Tous droits réservés.\n\Visit http://directory.apache.org/studio\n\n\Ce produit est licencié selon les termes de la Apache License 2.0.\n\n\Certaines icones sont de FAMFAMFAM http://www.famfamfam.com/lab/icons/silk PrefPage_ShutdownPreferencesPage_name=Extinction Modified: directory/studio/trunk/plugins/rcp/pom.xml URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/rcp/pom.xml?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/rcp/pom.xml (original) +++ directory/studio/trunk/plugins/rcp/pom.xml Mon Mar 23 17:59:02 2015 @@ -24,259 +24,41 @@ org.apache.directory.studio parent-plugins 2.0.0-SNAPSHOT + ../ - rcp + org.apache.directory.studio.rcp Apache Directory Studio RCP - jar + eclipse-plugin - - - - . - - plugin.properties - plugin.xml - about.ini - studio.png - - true - - - resources - resources - - - src/main/resources - - - src/main/java - - **/*.properties - - - - - - org.apache.maven.plugins - maven-eclipse-plugin - - false - true - - org.eclipse.jem.workbench.JavaEMFNature - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - org.eclipse.jem.beaninfo.BeanInfoNature - - - org.eclipse.jdt.launching.JRE_CONTAINER - org.eclipse.pde.core.requiredPlugins - - - - - org.apache.directory.studio - studio-maven-plugin - - false - true - - - - - prepare-jar-package - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - META-INF/MANIFEST.MF - false - - - - - - org.apache.felix - maven-bundle-plugin - true - - META-INF - - ${project.groupId}.${project.artifactId};singleton:=true - plugin - true - *;scope=compile|runtime - lib - true - true - org.apache.directory.studio.Activator - org.eclipse.core.runtime, - org.eclipse.update.core, - org.eclipse.update.ui, - org.eclipse.ui, - org.eclipse.ui.intro, - org.eclipse.core.resources, - org.eclipse.ui.ide, - org.eclipse.core.filesystem, - org.eclipse.core.net - - !* - !* - - - - - generate-manifest - process-classes - - manifest - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - true - - - - - - - org.apache.rat - apache-rat-plugin - - false - - - **/target/**/* - **/cobertura.ser - - **/.classpath - **/.project - **/.settings/**/* - - **/*.iml - **/*.ipr - **/*.iws - - **/MANIFEST.MF - - **/dependency-reduced-pom.xml - - **/.gitignore - - **/about.ini - **/about_files/* - - **/*.log - **/*.vm - - resources/icons/linux/studio.xpm - - - - - - - - - - org.eclipse.swt.gtk.linux - x86 - provided - - - org.eclipse.equinox - preferences - provided - - - org.eclipse - jface - provided - - - org.eclipse - ui - provided - - - org.eclipse.ui - workbench - provided - - - org.eclipse.core - runtime - provided - - - org.eclipse.core - commands - provided - - - org.eclipse.core - jobs - provided - - - org.eclipse - osgi - provided - - - org.eclipse.update - core - provided - - - org.eclipse.equinox - common - provided - - - org.eclipse.update - ui - provided - - - org.eclipse.ui - ide - provided - - - org.eclipse.core - resources - provided - - - org.eclipse.core - filesystem - provided - - - org.eclipse.core - net - provided - - - org.eclipse.equinox - app - provided - - + + + + + + + + + + + + + + + + + + + + + + + + + + + Modified: directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/actions/AddExtensionAction.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/actions/AddExtensionAction.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/actions/AddExtensionAction.java (original) +++ directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/actions/AddExtensionAction.java Mon Mar 23 17:59:02 2015 @@ -30,12 +30,12 @@ import org.eclipse.jface.action.Action; import org.eclipse.jface.action.IAction; import org.eclipse.swt.custom.BusyIndicator; import org.eclipse.ui.IWorkbenchWindow; -import org.eclipse.update.search.BackLevelFilter; -import org.eclipse.update.search.EnvironmentFilter; -import org.eclipse.update.search.UpdateSearchRequest; -import org.eclipse.update.search.UpdateSearchScope; -import org.eclipse.update.ui.UpdateJob; -import org.eclipse.update.ui.UpdateManagerUI; +//import org.eclipse.update.search.BackLevelFilter; +//import org.eclipse.update.search.EnvironmentFilter; +//import org.eclipse.update.search.UpdateSearchRequest; +//import org.eclipse.update.search.UpdateSearchScope; +//import org.eclipse.update.ui.UpdateJob; +//import org.eclipse.update.ui.UpdateManagerUI; /** @@ -73,35 +73,35 @@ public class AddExtensionAction extends { public void run() { - UpdateJob job = new UpdateJob( - Messages.getString( "AddExtensionAction.Searching_new_extensions" ), getSearchRequest() ); //$NON-NLS-1$ - UpdateManagerUI.openInstaller( window.getShell(), job ); +// UpdateJob job = new UpdateJob( +// Messages.getString( "AddExtensionAction.Searching_new_extensions" ), getSearchRequest() ); //$NON-NLS-1$ +// UpdateManagerUI.openInstaller( window.getShell(), job ); } - private UpdateSearchRequest getSearchRequest() - { - UpdateSearchRequest result = new UpdateSearchRequest( UpdateSearchRequest - .createDefaultSiteSearchCategory(), new UpdateSearchScope() ); - result.addFilter( new BackLevelFilter() ); - result.addFilter( new EnvironmentFilter() ); - UpdateSearchScope scope = new UpdateSearchScope(); - try - { - String homeBase = System - .getProperty( - "studio.homebase", Messages.getString( "AddExtensionAction.Apache_Directory_Studio_Home_Base" ) ); //$NON-NLS-1$ //$NON-NLS-2$ - URL url = new URL( homeBase ); - scope.addSearchSite( - Messages.getString( "AddExtensionAction.Apache_Directory_Studio_Site" ), url, null ); //$NON-NLS-1$ - } - catch ( MalformedURLException e ) - { - // TODO: handle exception - } - result.setScope( scope ); - return result; - } +// private UpdateSearchRequest getSearchRequest() +// { +// UpdateSearchRequest result = new UpdateSearchRequest( UpdateSearchRequest +// .createDefaultSiteSearchCategory(), new UpdateSearchScope() ); +// result.addFilter( new BackLevelFilter() ); +// result.addFilter( new EnvironmentFilter() ); +// UpdateSearchScope scope = new UpdateSearchScope(); +// try +// { +// String homeBase = System +// .getProperty( +// "studio.homebase", Messages.getString( "AddExtensionAction.Apache_Directory_Studio_Home_Base" ) ); //$NON-NLS-1$ //$NON-NLS-2$ +// URL url = new URL( homeBase ); +// scope.addSearchSite( +// Messages.getString( "AddExtensionAction.Apache_Directory_Studio_Site" ), url, null ); //$NON-NLS-1$ +// } +// catch ( MalformedURLException e ) +// { +// // TODO: handle exception +// } +// result.setScope( scope ); +// return result; +// } } ); } } \ No newline at end of file Modified: directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/actions/ManageConfigurationAction.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/actions/ManageConfigurationAction.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/actions/ManageConfigurationAction.java (original) +++ directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/actions/ManageConfigurationAction.java Mon Mar 23 17:59:02 2015 @@ -27,7 +27,7 @@ import org.eclipse.jface.action.Action; import org.eclipse.jface.action.IAction; import org.eclipse.swt.custom.BusyIndicator; import org.eclipse.ui.IWorkbenchWindow; -import org.eclipse.update.ui.UpdateManagerUI; +//import org.eclipse.update.ui.UpdateManagerUI; /** @@ -65,7 +65,7 @@ public class ManageConfigurationAction e { public void run() { - UpdateManagerUI.openConfigurationManager( window.getShell() ); +// UpdateManagerUI.openConfigurationManager( window.getShell() ); } } ); } Modified: directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/actions/UpdateAction.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/actions/UpdateAction.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/actions/UpdateAction.java (original) +++ directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/actions/UpdateAction.java Mon Mar 23 17:59:02 2015 @@ -27,8 +27,8 @@ import org.eclipse.jface.action.Action; import org.eclipse.jface.action.IAction; import org.eclipse.swt.custom.BusyIndicator; import org.eclipse.ui.IWorkbenchWindow; -import org.eclipse.update.ui.UpdateJob; -import org.eclipse.update.ui.UpdateManagerUI; +//import org.eclipse.update.ui.UpdateJob; +//import org.eclipse.update.ui.UpdateManagerUI; /** @@ -66,8 +66,8 @@ public class UpdateAction extends Action { public void run() { - UpdateJob job = new UpdateJob( Messages.getString( "UpdateAction.Searching_for_updates" ), false, false ); //$NON-NLS-1$ - UpdateManagerUI.openInstaller( window.getShell(), job ); +// UpdateJob job = new UpdateJob( Messages.getString( "UpdateAction.Searching_for_updates" ), false, false ); //$NON-NLS-1$ +// UpdateManagerUI.openInstaller( window.getShell(), job ); } } ); } Propchange: directory/studio/trunk/plugins/schemaeditor/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Mon Mar 23 17:59:02 2015 @@ -1,6 +1,7 @@ target maven-eclipse.xml lib +bin .externalToolBuilders felix-cache .project Modified: directory/studio/trunk/plugins/schemaeditor/pom.xml URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/pom.xml?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/pom.xml (original) +++ directory/studio/trunk/plugins/schemaeditor/pom.xml Mon Mar 23 17:59:02 2015 @@ -26,340 +26,9 @@ 2.0.0-SNAPSHOT - schemaeditor + org.apache.directory.studio.schemaeditor Apache Directory Studio Schema Editor - jar + eclipse-plugin - - - - - . - - plugin*.properties - plugin.xml - about.ini - studio.png - - - - resources - resources - - - src/main/resources - - - src/main/java - - **/*.properties - - - - - - - org.apache.maven.plugins - maven-eclipse-plugin - - false - true - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - - org.eclipse.jdt.launching.JRE_CONTAINER - org.eclipse.pde.core.requiredPlugins - - - - - org.apache.directory.studio - studio-maven-plugin - - false - true - - - - - prepare-jar-package - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - META-INF/MANIFEST.MF - false - - - - - - org.apache.felix - maven-bundle-plugin - true - - META-INF - - ${project.groupId}.${project.artifactId};singleton:=true - registered - plugin - true - org.apache.directory.studio.schemaeditor.Activator - org.apache.commons.collections;bundle-version="${org.apache.commons.collections.version}", - org.apache.commons.io;bundle-version="${org.apache.commons.io.version}", - org.apache.directory.api.asn1.api;bundle-version="${org.apache.directory.api.validversion}", - org.apache.directory.api.ldap.model;bundle-version="${org.apache.directory.api.validversion}", - org.apache.directory.api.ldap.schema;bundle-version="${org.apache.directory.api.validversion}", - org.apache.directory.api.ldap.schema.converter;bundle-version="${org.apache.directory.api.validversion}", - org.apache.directory.api.util;bundle-version="${org.apache.directory.api.validversion}", - org.apache.directory.studio.common.core, - org.apache.directory.studio.common.ui, - org.apache.directory.studio.connection.core, - org.apache.directory.studio.connection.ui, - org.apache.logging.log4j;bundle-version="${org.apache.logging.log4j.version}", - org.dom4j.dom4j;bundle-version="${org.dom4j.version}", - org.eclipse.core.runtime, - org.eclipse.core.expressions, - org.eclipse.jface.text, - org.eclipse.search, - org.eclipse.ui, - org.eclipse.ui.forms - *;scope=compile|runtime - lib - true - true - org.apache.directory.studio.schemaeditor.model.*, org.apache.directory.studio.schemaeditor.model.io.* - !* - - - - - process-classes - - manifest - - - - - - - - - org.apache.rat - apache-rat-plugin - - false - - - **/target/**/* - **/cobertura.ser - - **/.classpath - **/.project - **/.settings/**/* - - **/*.iml - **/*.ipr - **/*.iws - - **/MANIFEST.MF - - **/dependency-reduced-pom.xml - - **/.gitignore - - **/about.ini - **/about_files/* - - **/*.log - **/*.vm - - resources/schemas/openldap/*.xml - - - - - - - - - - - org.apache.directory.api - api-asn1-api - provided - - - org.apache.directory.api - api-ldap-schema-data - provided - - - org.apache.directory.api - api-ldap-schema-converter - provided - - - org.apache.directory.api - api-util - provided - - - org.apache.directory.studio - org.apache.commons.io - provided - - - org.apache.directory.studio - org.apache.commons.collections - provided - - - org.apache.directory.studio - org.apache.logging.log4j - provided - - - org.apache.directory.studio - org.dom4j.dom4j - provided - - - - - org.apache.directory.studio - common.core - provided - - - org.apache.directory.studio - common.ui - provided - - - org.apache.directory.studio - connection.core - provided - - - org.apache.directory.studio - connection.ui - provided - - - - - org.eclipse.core - commands - provided - - - org.eclipse.core - jobs - provided - - - org.eclipse.core - runtime - provided - - - org.eclipse.core - expressions - provided - - - org.eclipse - jface - provided - - - org.eclipse.jface - text - provided - - - org.eclipse.ui - forms - provided - - - org.eclipse - text - provided - - - org.eclipse.equinox - common - provided - - - org.eclipse.equinox - preferences - provided - - - org.eclipse.equinox - registry - provided - - - org.eclipse - ui - provided - - - org.eclipse - osgi - provided - - - org.eclipse.ui - editors - provided - - - org.eclipse.ui - workbench - provided - - - org.eclipse.swt.gtk.linux - x86 - provided - - - org.eclipse - search - provided - - - - - junit - junit - test - - - - - org.slf4j - slf4j-api - test - - - org.slf4j - slf4j-log4j12 - test - - - Modified: directory/studio/trunk/plugins/schemaeditor/resources/schemas/apacheds/pwdpolicy.xml URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/resources/schemas/apacheds/pwdpolicy.xml?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/resources/schemas/apacheds/pwdpolicy.xml (original) +++ directory/studio/trunk/plugins/schemaeditor/resources/schemas/apacheds/pwdpolicy.xml Mon Mar 23 17:59:02 2015 @@ -48,7 +48,7 @@ pwdGraceUseTime The timestamps of the grace authentication after the password has expired - USER_APPLICATIONS + DIRECTORY_OPERATION 1.3.6.1.4.1.1466.115.121.1.24 generalizedTimeMatch @@ -65,7 +65,7 @@ pwdChangedTime The time the password was last changed - USER_APPLICATIONS + DIRECTORY_OPERATION 1.3.6.1.4.1.1466.115.121.1.24 generalizedTimeMatch generalizedTimeOrderingMatch @@ -123,7 +123,7 @@ pwdPolicySubentry The pwdPolicy subentry in effect for this object - USER_APPLICATIONS + DIRECTORY_OPERATION 1.3.6.1.4.1.1466.115.121.1.12 distinguishedNameMatch @@ -132,7 +132,7 @@ pwdAccountLockedTime The time an user account was locked - USER_APPLICATIONS + DIRECTORY_OPERATION 1.3.6.1.4.1.1466.115.121.1.24 generalizedTimeMatch generalizedTimeOrderingMatch @@ -166,7 +166,7 @@ pwdEndTime The time the password becomes disabled - USER_APPLICATIONS + DIRECTORY_OPERATION 1.3.6.1.4.1.1466.115.121.1.24 generalizedTimeMatch generalizedTimeOrderingMatch @@ -184,7 +184,7 @@ pwdFailureTime The timestamps of the last consecutive authentication failures - USER_APPLICATIONS + DIRECTORY_OPERATION 1.3.6.1.4.1.1466.115.121.1.24 generalizedTimeMatch generalizedTimeOrderingMatch @@ -210,7 +210,7 @@ pwdHistory The history of user s passwords - USER_APPLICATIONS + DIRECTORY_OPERATION 1.3.6.1.4.1.1466.115.121.1.40 octetStringMatch @@ -236,7 +236,7 @@ pwdStartTime The time the password becomes enabled - USER_APPLICATIONS + DIRECTORY_OPERATION 1.3.6.1.4.1.1466.115.121.1.24 generalizedTimeMatch generalizedTimeOrderingMatch @@ -270,7 +270,7 @@ pwdLastSuccess The timestamp of the last successful authentication - USER_APPLICATIONS + DIRECTORY_OPERATION 1.3.6.1.4.1.1466.115.121.1.24 generalizedTimeMatch generalizedTimeOrderingMatch Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/Messages.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/Messages.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/Messages.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/Messages.java Mon Mar 23 17:59:02 2015 @@ -24,18 +24,23 @@ import java.util.MissingResourceExceptio import java.util.ResourceBundle; +/** + * This class get messages from the resources file. + * + * @author Apache Directory Project + */ public class Messages { - private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.messages"; //$NON-NLS-1$ - - private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME ); - - - private Messages() - { - } - - + /** The resource name */ + private static final ResourceBundle RESOURCE_BUNDLE = + ResourceBundle.getBundle( Messages.class.getPackage().getName() + ".messages" ); + + /** + * Get back a message from the resource file given a key + * + * @param key The key associated with the message + * @return The found message + */ public static String getString( String key ) { try Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/Messages.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/Messages.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/Messages.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/Messages.java Mon Mar 23 17:59:02 2015 @@ -24,18 +24,23 @@ import java.util.MissingResourceExceptio import java.util.ResourceBundle; +/** + * This class get messages from the resources file. + * + * @author Apache Directory Project + */ public class Messages { - private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.controller.messages"; //$NON-NLS-1$ - - private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME ); - - - private Messages() - { - } - - + /** The resource name */ + private static final ResourceBundle RESOURCE_BUNDLE = + ResourceBundle.getBundle( Messages.class.getPackage().getName() + ".messages" ); + + /** + * Get back a message from the resource file given a key + * + * @param key The key associated with the message + * @return The found message + */ public static String getString( String key ) { try Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/actions/Messages.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/actions/Messages.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/actions/Messages.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/actions/Messages.java Mon Mar 23 17:59:02 2015 @@ -24,18 +24,23 @@ import java.util.MissingResourceExceptio import java.util.ResourceBundle; +/** + * This class get messages from the resources file. + * + * @author Apache Directory Project + */ public class Messages { - private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.controller.actions.messages"; //$NON-NLS-1$ - - private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME ); - - - private Messages() - { - } - - + /** The resource name */ + private static final ResourceBundle RESOURCE_BUNDLE = + ResourceBundle.getBundle( Messages.class.getPackage().getName() + ".messages" ); + + /** + * Get back a message from the resource file given a key + * + * @param key The key associated with the message + * @return The found message + */ public static String getString( String key ) { try Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/Messages.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/Messages.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/Messages.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/Messages.java Mon Mar 23 17:59:02 2015 @@ -24,18 +24,23 @@ import java.util.MissingResourceExceptio import java.util.ResourceBundle; +/** + * This class get messages from the resources file. + * + * @author Apache Directory Project + */ public class Messages { - private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.model.messages"; //$NON-NLS-1$ - - private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME ); - - - private Messages() - { - } - - + /** The resource name */ + private static final ResourceBundle RESOURCE_BUNDLE = + ResourceBundle.getBundle( Messages.class.getPackage().getName() + ".messages" ); + + /** + * Get back a message from the resource file given a key + * + * @param key The key associated with the message + * @return The found message + */ public static String getString( String key ) { try Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/io/Messages.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/io/Messages.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/io/Messages.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/io/Messages.java Mon Mar 23 17:59:02 2015 @@ -24,18 +24,23 @@ import java.util.MissingResourceExceptio import java.util.ResourceBundle; +/** + * This class get messages from the resources file. + * + * @author Apache Directory Project + */ public class Messages { - private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.model.io.messages"; //$NON-NLS-1$ - - private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME ); - - - private Messages() - { - } - - + /** The resource name */ + private static final ResourceBundle RESOURCE_BUNDLE = + ResourceBundle.getBundle( Messages.class.getPackage().getName() + ".messages" ); + + /** + * Get back a message from the resource file given a key + * + * @param key The key associated with the message + * @return The found message + */ public static String getString( String key ) { try Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/schemachecker/SchemaChecker.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/schemachecker/SchemaChecker.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/schemachecker/SchemaChecker.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/schemachecker/SchemaChecker.java Mon Mar 23 17:59:02 2015 @@ -32,7 +32,7 @@ import org.apache.directory.api.ldap.mod import org.apache.directory.api.ldap.model.schema.ObjectClass; import org.apache.directory.api.ldap.model.schema.SchemaManager; import org.apache.directory.api.ldap.model.schema.SchemaObject; -import org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManager; +import org.apache.directory.api.ldap.schema.manager.impl.DefaultSchemaManager; import org.apache.directory.studio.schemaeditor.Activator; import org.apache.directory.studio.schemaeditor.controller.ProjectsHandlerAdapter; import org.apache.directory.studio.schemaeditor.controller.SchemaHandler; Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/Messages.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/Messages.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/Messages.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/Messages.java Mon Mar 23 17:59:02 2015 @@ -25,18 +25,23 @@ import java.util.MissingResourceExceptio import java.util.ResourceBundle; +/** + * This class get messages from the resources file. + * + * @author Apache Directory Project + */ public class Messages { - private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.view.messages"; //$NON-NLS-1$ - - private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME ); - - - private Messages() - { - } - - + /** The resource name */ + private static final ResourceBundle RESOURCE_BUNDLE = + ResourceBundle.getBundle( Messages.class.getPackage().getName() + ".messages" ); + + /** + * Get back a message from the resource file given a key + * + * @param key The key associated with the message + * @return The found message + */ public static String getString( String key ) { try Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/Messages.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/Messages.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/Messages.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/Messages.java Mon Mar 23 17:59:02 2015 @@ -24,18 +24,23 @@ import java.util.MissingResourceExceptio import java.util.ResourceBundle; +/** + * This class get messages from the resources file. + * + * @author Apache Directory Project + */ public class Messages { - private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.view.dialogs.messages"; //$NON-NLS-1$ - - private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME ); - - - private Messages() - { - } - - + /** The resource name */ + private static final ResourceBundle RESOURCE_BUNDLE = + ResourceBundle.getBundle( Messages.class.getPackage().getName() + ".messages" ); + + /** + * Get back a message from the resource file given a key + * + * @param key The key associated with the message + * @return The found message + */ public static String getString( String key ) { try Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/Messages.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/Messages.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/Messages.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/Messages.java Mon Mar 23 17:59:02 2015 @@ -24,18 +24,23 @@ import java.util.MissingResourceExceptio import java.util.ResourceBundle; +/** + * This class get messages from the resources file. + * + * @author Apache Directory Project + */ public class Messages { - private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.view.editors.messages"; //$NON-NLS-1$ - - private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME ); - - - private Messages() - { - } - - + /** The resource name */ + private static final ResourceBundle RESOURCE_BUNDLE = + ResourceBundle.getBundle( Messages.class.getPackage().getName() + ".messages" ); + + /** + * Get back a message from the resource file given a key + * + * @param key The key associated with the message + * @return The found message + */ public static String getString( String key ) { try Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/Messages.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/Messages.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/Messages.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/Messages.java Mon Mar 23 17:59:02 2015 @@ -24,18 +24,23 @@ import java.util.MissingResourceExceptio import java.util.ResourceBundle; +/** + * This class get messages from the resources file. + * + * @author Apache Directory Project + */ public class Messages { - private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.view.editors.attributetype.messages"; //$NON-NLS-1$ - - private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME ); - - - private Messages() - { - } - - + /** The resource name */ + private static final ResourceBundle RESOURCE_BUNDLE = + ResourceBundle.getBundle( Messages.class.getPackage().getName() + ".messages" ); + + /** + * Get back a message from the resource file given a key + * + * @param key The key associated with the message + * @return The found message + */ public static String getString( String key ) { try Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/Messages.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/Messages.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/Messages.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/Messages.java Mon Mar 23 17:59:02 2015 @@ -24,18 +24,23 @@ import java.util.MissingResourceExceptio import java.util.ResourceBundle; +/** + * This class get messages from the resources file. + * + * @author Apache Directory Project + */ public class Messages { - private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.view.editors.objectclass.messages"; //$NON-NLS-1$ - - private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME ); - - - private Messages() - { - } - - + /** The resource name */ + private static final ResourceBundle RESOURCE_BUNDLE = + ResourceBundle.getBundle( Messages.class.getPackage().getName() + ".messages" ); + + /** + * Get back a message from the resource file given a key + * + * @param key The key associated with the message + * @return The found message + */ public static String getString( String key ) { try Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/Messages.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/Messages.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/Messages.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/Messages.java Mon Mar 23 17:59:02 2015 @@ -24,18 +24,23 @@ import java.util.MissingResourceExceptio import java.util.ResourceBundle; +/** + * This class get messages from the resources file. + * + * @author Apache Directory Project + */ public class Messages { - private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.view.editors.schema.messages"; //$NON-NLS-1$ - - private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME ); - - - private Messages() - { - } - - + /** The resource name */ + private static final ResourceBundle RESOURCE_BUNDLE = + ResourceBundle.getBundle( Messages.class.getPackage().getName() + ".messages" ); + + /** + * Get back a message from the resource file given a key + * + * @param key The key associated with the message + * @return The found message + */ public static String getString( String key ) { try Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/preferences/Messages.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/preferences/Messages.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/preferences/Messages.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/preferences/Messages.java Mon Mar 23 17:59:02 2015 @@ -24,18 +24,23 @@ import java.util.MissingResourceExceptio import java.util.ResourceBundle; +/** + * This class get messages from the resources file. + * + * @author Apache Directory Project + */ public class Messages { - private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.view.preferences.messages"; //$NON-NLS-1$ - - private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME ); - - - private Messages() - { - } - - + /** The resource name */ + private static final ResourceBundle RESOURCE_BUNDLE = + ResourceBundle.getBundle( Messages.class.getPackage().getName() + ".messages" ); + + /** + * Get back a message from the resource file given a key + * + * @param key The key associated with the message + * @return The found message + */ public static String getString( String key ) { try Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/search/Messages.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/search/Messages.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/search/Messages.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/search/Messages.java Mon Mar 23 17:59:02 2015 @@ -24,18 +24,23 @@ import java.util.MissingResourceExceptio import java.util.ResourceBundle; +/** + * This class get messages from the resources file. + * + * @author Apache Directory Project + */ public class Messages { - private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.view.search.messages"; //$NON-NLS-1$ - - private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME ); - - - private Messages() - { - } - - + /** The resource name */ + private static final ResourceBundle RESOURCE_BUNDLE = + ResourceBundle.getBundle( Messages.class.getPackage().getName() + ".messages" ); + + /** + * Get back a message from the resource file given a key + * + * @param key The key associated with the message + * @return The found message + */ public static String getString( String key ) { try Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/Messages.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/Messages.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/Messages.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/Messages.java Mon Mar 23 17:59:02 2015 @@ -24,18 +24,23 @@ import java.util.MissingResourceExceptio import java.util.ResourceBundle; +/** + * This class get messages from the resources file. + * + * @author Apache Directory Project + */ public class Messages { - private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.view.views.messages"; //$NON-NLS-1$ - - private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME ); - - - private Messages() - { - } - - + /** The resource name */ + private static final ResourceBundle RESOURCE_BUNDLE = + ResourceBundle.getBundle( Messages.class.getPackage().getName() + ".messages" ); + + /** + * Get back a message from the resource file given a key + * + * @param key The key associated with the message + * @return The found message + */ public static String getString( String key ) { try Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/widget/Messages.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/widget/Messages.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/widget/Messages.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/widget/Messages.java Mon Mar 23 17:59:02 2015 @@ -24,18 +24,23 @@ import java.util.MissingResourceExceptio import java.util.ResourceBundle; +/** + * This class get messages from the resources file. + * + * @author Apache Directory Project + */ public class Messages { - private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.view.widget.messages"; //$NON-NLS-1$ - - private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME ); - - - private Messages() - { - } - - + /** The resource name */ + private static final ResourceBundle RESOURCE_BUNDLE = + ResourceBundle.getBundle( Messages.class.getPackage().getName() + ".messages" ); + + /** + * Get back a message from the resource file given a key + * + * @param key The key associated with the message + * @return The found message + */ public static String getString( String key ) { try Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/widget/SchemaTextAttributeProvider.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/widget/SchemaTextAttributeProvider.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/widget/SchemaTextAttributeProvider.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/widget/SchemaTextAttributeProvider.java Mon Mar 23 17:59:02 2015 @@ -23,6 +23,7 @@ package org.apache.directory.studio.sche import java.util.HashMap; import java.util.Map; +import org.apache.directory.studio.common.ui.CommonUIConstants; import org.eclipse.jface.text.TextAttribute; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Color; @@ -53,20 +54,20 @@ public class SchemaTextAttributeProvider */ public SchemaTextAttributeProvider() { - attributes.put( DEFAULT_ATTRIBUTE, new TextAttribute( new Color( Display.getCurrent(), new RGB( 0, 0, 0 ) ) ) ); + attributes.put( DEFAULT_ATTRIBUTE, new TextAttribute( new Color( Display.getCurrent(), CommonUIConstants.BLACK ) ) ); - attributes.put( KEYWORD_ATTRIBUTE, new TextAttribute( new Color( Display.getCurrent(), new RGB( 127, 0, 85 ) ), + attributes.put( KEYWORD_ATTRIBUTE, new TextAttribute( new Color( Display.getCurrent(), new RGB( 128, 0, 96 ) ), null, SWT.BOLD ) ); - attributes.put( STRING_ATTRIBUTE, new TextAttribute( new Color( Display.getCurrent(), new RGB( 0, 0, 255 ) ) ) ); + attributes.put( STRING_ATTRIBUTE, new TextAttribute( new Color( Display.getCurrent(), CommonUIConstants.BLUE ) ) ); - attributes.put( ATTRIBUTETYPE_ATTRIBUTE, new TextAttribute( new Color( Display.getCurrent(), new RGB( 89, 71, - 158 ) ), null, SWT.BOLD ) ); + attributes.put( ATTRIBUTETYPE_ATTRIBUTE, new TextAttribute( new Color( Display.getCurrent(), new RGB( 96, 64, + 160 ) ), null, SWT.BOLD ) ); attributes.put( OBJECTCLASS_ATTRIBUTE, new TextAttribute( new Color( Display.getCurrent(), - new RGB( 45, 124, 68 ) ), null, SWT.BOLD ) ); + new RGB( 64, 128, 64 ) ), null, SWT.BOLD ) ); - attributes.put( OID_ATTRIBUTE, new TextAttribute( new Color( Display.getCurrent(), new RGB( 255, 0, 0 ) ) ) ); + attributes.put( OID_ATTRIBUTE, new TextAttribute( new Color( Display.getCurrent(), CommonUIConstants.RED ) ) ); } Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/ExportSchemasForADSWizard.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/ExportSchemasForADSWizard.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/ExportSchemasForADSWizard.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/ExportSchemasForADSWizard.java Mon Mar 23 17:59:02 2015 @@ -33,8 +33,8 @@ import java.util.Set; import javax.naming.NamingException; -import org.apache.directory.api.converter.schema.AttributeTypeHolder; -import org.apache.directory.api.converter.schema.ObjectClassHolder; +import org.apache.directory.api.ldap.schema.converter.AttributeTypeHolder; +import org.apache.directory.api.ldap.schema.converter.ObjectClassHolder; import org.apache.directory.api.ldap.model.constants.SchemaConstants; import org.apache.directory.api.ldap.model.exception.LdapException; import org.apache.directory.api.ldap.model.name.Rdn; Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/Messages.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/Messages.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/Messages.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/Messages.java Mon Mar 23 17:59:02 2015 @@ -24,18 +24,23 @@ import java.util.MissingResourceExceptio import java.util.ResourceBundle; +/** + * This class get messages from the resources file. + * + * @author Apache Directory Project + */ public class Messages { - private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.view.wizards.messages"; //$NON-NLS-1$ - - private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME ); - - - private Messages() - { - } - - + /** The resource name */ + private static final ResourceBundle RESOURCE_BUNDLE = + ResourceBundle.getBundle( Messages.class.getPackage().getName() + ".messages" ); + + /** + * Get back a message from the resource file given a key + * + * @param key The key associated with the message + * @return The found message + */ public static String getString( String key ) { try Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wrappers/Messages.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wrappers/Messages.java?rev=1668692&r1=1668691&r2=1668692&view=diff ============================================================================== --- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wrappers/Messages.java (original) +++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wrappers/Messages.java Mon Mar 23 17:59:02 2015 @@ -24,18 +24,23 @@ import java.util.MissingResourceExceptio import java.util.ResourceBundle; +/** + * This class get messages from the resources file. + * + * @author Apache Directory Project + */ public class Messages { - private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.view.wrappers.messages"; //$NON-NLS-1$ - - private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME ); - - - private Messages() - { - } - - + /** The resource name */ + private static final ResourceBundle RESOURCE_BUNDLE = + ResourceBundle.getBundle( Messages.class.getPackage().getName() + ".messages" ); + + /** + * Get back a message from the resource file given a key + * + * @param key The key associated with the message + * @return The found message + */ public static String getString( String key ) { try Propchange: directory/studio/trunk/plugins/valueeditors/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Mon Mar 23 17:59:02 2015 @@ -1,6 +1,7 @@ target maven-eclipse.xml lib +bin .externalToolBuilders felix-cache .project