directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r499594 - in /directory/ldapstudio/trunk/ldapstudio-schemas-plugin: ressources/icons/ src/main/java/org/apache/directory/ldapstudio/schemas/view/ src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/
Date Wed, 24 Jan 2007 22:26:40 GMT
Author: pamarcelot
Date: Wed Jan 24 14:26:39 2007
New Revision: 499594

URL: http://svn.apache.org/viewvc?view=rev&rev=499594
Log:
Fixing Jira DIRSTUDIO-34 (Add icons for new AT, OC & Schema Wizards).

Added:
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/ressources/icons/attribute_type_new_wizard.png
  (with props)
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/ressources/icons/object_class_new_wizard.png
  (with props)
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/ressources/icons/schema_new_wizard.png
  (with props)
Modified:
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/IImageKeys.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewAttributeTypeWizardPage.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewObjectClassWizardPage.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewSchemaWizardPage.java

Added: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/ressources/icons/attribute_type_new_wizard.png
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/ressources/icons/attribute_type_new_wizard.png?view=auto&rev=499594
==============================================================================
Binary file - no diff available.

Propchange: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/ressources/icons/attribute_type_new_wizard.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/ressources/icons/object_class_new_wizard.png
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/ressources/icons/object_class_new_wizard.png?view=auto&rev=499594
==============================================================================
Binary file - no diff available.

Propchange: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/ressources/icons/object_class_new_wizard.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/ressources/icons/schema_new_wizard.png
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/ressources/icons/schema_new_wizard.png?view=auto&rev=499594
==============================================================================
Binary file - no diff available.

Propchange: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/ressources/icons/schema_new_wizard.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/IImageKeys.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/IImageKeys.java?view=diff&rev=499594&r1=499593&r2=499594
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/IImageKeys.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/IImageKeys.java
Wed Jan 24 14:26:39 2007
@@ -48,4 +48,9 @@
     public static final String OBJECT_CLASS_WARNING = "ressources/icons/object_class_warning.gif";
//$NON-NLS-1$
     public static final String SCHEMA = "ressources/icons/schema.gif"; //$NON-NLS-1$
     public static final String SCHEMA_CORE = "ressources/icons/schema_core.gif"; //$NON-NLS-1$
+    
+    // Images for Wizards
+    public static final String ATTRIBUTE_TYPE_NEW_WIZARD = "ressources/icons/attribute_type_new_wizard.png";
//$NON-NLS-1$
+    public static final String OBJECT_CLASS_NEW_WIZARD = "ressources/icons/object_class_new_wizard.png";
//$NON-NLS-1$
+    public static final String SCHEMA_NEW_WIZARD = "ressources/icons/schema_new_wizard.png";
//$NON-NLS-1$
 }

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewAttributeTypeWizardPage.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewAttributeTypeWizardPage.java?view=diff&rev=499594&r1=499593&r2=499594
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewAttributeTypeWizardPage.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewAttributeTypeWizardPage.java
Wed Jan 24 14:26:39 2007
@@ -23,11 +23,13 @@
 
 import java.util.Hashtable;
 
+import org.apache.directory.ldapstudio.schemas.Activator;
 import org.apache.directory.ldapstudio.schemas.controller.Application;
 import org.apache.directory.ldapstudio.schemas.model.AttributeType;
 import org.apache.directory.ldapstudio.schemas.model.OID;
 import org.apache.directory.ldapstudio.schemas.model.SchemaElement;
 import org.apache.directory.ldapstudio.schemas.model.SchemaPool;
+import org.apache.directory.ldapstudio.schemas.view.IImageKeys;
 import org.apache.directory.ldapstudio.schemas.view.preferences.GeneralPreferencePage;
 import org.eclipse.core.runtime.preferences.ConfigurationScope;
 import org.eclipse.core.runtime.preferences.IEclipsePreferences;
@@ -44,6 +46,7 @@
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Label;
 import org.eclipse.swt.widgets.Text;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
 
 
 /**
@@ -74,6 +77,7 @@
         super( "CreateANewAttributeTypeWizardPage" ); //$NON-NLS-1$
         setTitle( Messages.getString( "CreateANewAttributeTypeWizardPage.Page_Title" ) );
//$NON-NLS-1$
         setDescription( Messages.getString( "CreateANewAttributeTypeWizardPage.Page_Description"
) ); //$NON-NLS-1$
+        setImageDescriptor( AbstractUIPlugin.imageDescriptorFromPlugin(Activator.PLUGIN_ID,
IImageKeys.ATTRIBUTE_TYPE_NEW_WIZARD ) );
         this.selection = selection;
 
         typesByName = SchemaPool.getInstance().getAttributeTypesAsHashTableByName();

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewObjectClassWizardPage.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewObjectClassWizardPage.java?view=diff&rev=499594&r1=499593&r2=499594
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewObjectClassWizardPage.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewObjectClassWizardPage.java
Wed Jan 24 14:26:39 2007
@@ -23,11 +23,13 @@
 
 import java.util.Hashtable;
 
+import org.apache.directory.ldapstudio.schemas.Activator;
 import org.apache.directory.ldapstudio.schemas.controller.Application;
 import org.apache.directory.ldapstudio.schemas.model.OID;
 import org.apache.directory.ldapstudio.schemas.model.ObjectClass;
 import org.apache.directory.ldapstudio.schemas.model.SchemaElement;
 import org.apache.directory.ldapstudio.schemas.model.SchemaPool;
+import org.apache.directory.ldapstudio.schemas.view.IImageKeys;
 import org.apache.directory.ldapstudio.schemas.view.preferences.GeneralPreferencePage;
 import org.eclipse.core.runtime.preferences.ConfigurationScope;
 import org.eclipse.core.runtime.preferences.IEclipsePreferences;
@@ -44,6 +46,7 @@
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Label;
 import org.eclipse.swt.widgets.Text;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
 
 
 /**
@@ -74,6 +77,7 @@
         super( "CreateANewObjecClassWizardPage" ); //$NON-NLS-1$
         setTitle( Messages.getString( "CreateANewObjectClassWizardPage.Page_Title" ) ); //$NON-NLS-1$
         setDescription( Messages.getString( "CreateANewObjectClassWizardPage.Page_Description"
) ); //$NON-NLS-1$
+        setImageDescriptor( AbstractUIPlugin.imageDescriptorFromPlugin( Activator.PLUGIN_ID,
IImageKeys.OBJECT_CLASS_NEW_WIZARD ) );
         this.selection = selection;
 
         classesByName = SchemaPool.getInstance().getObjectClassesAsHashTableByName();

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewSchemaWizardPage.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewSchemaWizardPage.java?view=diff&rev=499594&r1=499593&r2=499594
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewSchemaWizardPage.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewSchemaWizardPage.java
Wed Jan 24 14:26:39 2007
@@ -21,7 +21,9 @@
 package org.apache.directory.ldapstudio.schemas.view.wizards;
 
 
+import org.apache.directory.ldapstudio.schemas.Activator;
 import org.apache.directory.ldapstudio.schemas.model.SchemaPool;
+import org.apache.directory.ldapstudio.schemas.view.IImageKeys;
 import org.eclipse.jface.viewers.ISelection;
 import org.eclipse.jface.wizard.WizardPage;
 import org.eclipse.swt.SWT;
@@ -32,6 +34,7 @@
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Label;
 import org.eclipse.swt.widgets.Text;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
 
 
 /**
@@ -56,6 +59,7 @@
         super( "CreateANewSchemaWizardPage" ); //$NON-NLS-1$
         setTitle( Messages.getString( "CreateANewSchemaWizardPage.Page_Title" ) ); //$NON-NLS-1$
         setDescription( Messages.getString( "CreateANewSchemaWizardPage.Page_Description"
) ); //$NON-NLS-1$
+        setImageDescriptor( AbstractUIPlugin.imageDescriptorFromPlugin( Activator.PLUGIN_ID,
IImageKeys.SCHEMA_NEW_WIZARD ) );
         this.selection = selection;
     }
 



Mime
View raw message