directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r824841 - in /directory/studio/trunk: ldapbrowser-common/resources/icons/ ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/ ldapbrowser-ui/resources/icons/
Date Tue, 13 Oct 2009 16:51:39 GMT
Author: pamarcelot
Date: Tue Oct 13 16:51:38 2009
New Revision: 824841

URL: http://svn.apache.org/viewvc?rev=824841&view=rev
Log:
DIRSTUDIO-167 (Show custom icons for various kinds of schema elements while browsing schema
data).
Added more icons.

Added:
    directory/studio/trunk/ldapbrowser-common/resources/icons/comparator.png   (with props)
    directory/studio/trunk/ldapbrowser-common/resources/icons/dit_content_rule.png   (with
props)
    directory/studio/trunk/ldapbrowser-common/resources/icons/dit_structure_rule.png   (with
props)
    directory/studio/trunk/ldapbrowser-common/resources/icons/lsd.png   (with props)
    directory/studio/trunk/ldapbrowser-common/resources/icons/name_form.png   (with props)
    directory/studio/trunk/ldapbrowser-common/resources/icons/normalizer.png   (with props)
    directory/studio/trunk/ldapbrowser-common/resources/icons/syntax_checker.png   (with props)
Modified:
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonConstants.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonPreferencesInitializer.java
    directory/studio/trunk/ldapbrowser-ui/resources/icons/lsd.png

Added: directory/studio/trunk/ldapbrowser-common/resources/icons/comparator.png
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/resources/icons/comparator.png?rev=824841&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/studio/trunk/ldapbrowser-common/resources/icons/comparator.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/studio/trunk/ldapbrowser-common/resources/icons/dit_content_rule.png
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/resources/icons/dit_content_rule.png?rev=824841&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/studio/trunk/ldapbrowser-common/resources/icons/dit_content_rule.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/studio/trunk/ldapbrowser-common/resources/icons/dit_structure_rule.png
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/resources/icons/dit_structure_rule.png?rev=824841&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/studio/trunk/ldapbrowser-common/resources/icons/dit_structure_rule.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/studio/trunk/ldapbrowser-common/resources/icons/lsd.png
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/resources/icons/lsd.png?rev=824841&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/studio/trunk/ldapbrowser-common/resources/icons/lsd.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/studio/trunk/ldapbrowser-common/resources/icons/name_form.png
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/resources/icons/name_form.png?rev=824841&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/studio/trunk/ldapbrowser-common/resources/icons/name_form.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/studio/trunk/ldapbrowser-common/resources/icons/normalizer.png
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/resources/icons/normalizer.png?rev=824841&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/studio/trunk/ldapbrowser-common/resources/icons/normalizer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/studio/trunk/ldapbrowser-common/resources/icons/syntax_checker.png
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/resources/icons/syntax_checker.png?rev=824841&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/studio/trunk/ldapbrowser-common/resources/icons/syntax_checker.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonConstants.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonConstants.java?rev=824841&r1=824840&r2=824841&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonConstants.java
(original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonConstants.java
Tue Oct 13 16:51:38 2009
@@ -158,6 +158,7 @@
     public static final String IMG_ATTRIBUTE_ADD = "resources/icons/attribute_add.gif"; //$NON-NLS-1$
     public static final String IMG_DELETE_ALL = "resources/icons/delete_all.gif"; //$NON-NLS-1$
     public static final String IMG_ATD = "resources/icons/atd.png"; //$NON-NLS-1$
+    public static final String IMG_LSD = "resources/icons/lsd.png"; //$NON-NLS-1$
     public static final String IMG_OCD = "resources/icons/ocd.png"; //$NON-NLS-1$
     public static final String IMG_OCD_ABSTRACT = "resources/icons/ocd_abstract.gif"; //$NON-NLS-1$
     public static final String IMG_OCD_AUXILIARY = "resources/icons/ocd_auxiliary.gif"; //$NON-NLS-1$
@@ -168,6 +169,13 @@
     public static final String IMG_NEXT = "resources/icons/next.gif"; //$NON-NLS-1$
     public static final String IMG_PREVIOUS = "resources/icons/previous.gif"; //$NON-NLS-1$
     public static final String IMG_RENAME = "resources/icons/rename.gif"; //$NON-NLS-1$
+    
+    public static final String IMG_SYNTAX_CHECKER = "resources/icons/syntax_checker.png";
//$NON-NLS-1$
+    public static final String IMG_COMPARATOR = "resources/icons/comparator.png"; //$NON-NLS-1$
+    public static final String IMG_NORMALIZER = "resources/icons/normalizer.png"; //$NON-NLS-1$
+    public static final String IMG_DIT_CONTENT_RULE = "resources/icons/dit_content_rule.png";
//$NON-NLS-1$
+    public static final String IMG_DIT_STRUCTURE_RULE = "resources/icons/dit_structure_rule.png";
//$NON-NLS-1$
+    public static final String IMG_NAME_FORM = "resources/icons/name_form.png"; //$NON-NLS-1$
 
     public static final String CMD_ADD_ATTRIBUTE = BrowserCommonActivator.getDefault().getPluginProperties().getString(
         "Cmd_AddAttribute_id" ); //$NON-NLS-1$

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonPreferencesInitializer.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonPreferencesInitializer.java?rev=824841&r1=824840&r2=824841&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonPreferencesInitializer.java
(original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonPreferencesInitializer.java
Tue Oct 13 16:51:38 2009
@@ -77,7 +77,8 @@
         PreferenceConverter.setDefault( store, BrowserCommonConstants.PREFERENCE_MAYATTRIBUTE_COLOR,
rgbBlack );
         PreferenceConverter.setDefault( store, BrowserCommonConstants.PREFERENCE_MAYATTRIBUTE_FONT,
fontDataNormal );
         PreferenceConverter.setDefault( store, BrowserCommonConstants.PREFERENCE_OPERATIONALATTRIBUTE_COLOR,
rgbBlack );
-        PreferenceConverter.setDefault( store, BrowserCommonConstants.PREFERENCE_OPERATIONALATTRIBUTE_FONT,
fontDataItalic );
+        PreferenceConverter.setDefault( store, BrowserCommonConstants.PREFERENCE_OPERATIONALATTRIBUTE_FONT,
+            fontDataItalic );
 
         // Attributes
         store.setDefault( BrowserCommonConstants.PREFERENCE_SHOW_RAW_VALUES, false );
@@ -111,7 +112,8 @@
         store.setDefault( BrowserCommonConstants.PREFERENCE_BROWSER_ENTRY_LABEL, BrowserCommonConstants.SHOW_RDN
);
         store.setDefault( BrowserCommonConstants.PREFERENCE_BROWSER_ENTRY_ABBREVIATE, true
);
         store.setDefault( BrowserCommonConstants.PREFERENCE_BROWSER_ENTRY_ABBREVIATE_MAX_LENGTH,
50 );
-        store.setDefault( BrowserCommonConstants.PREFERENCE_BROWSER_SEARCH_RESULT_LABEL,
BrowserCommonConstants.SHOW_DN );
+        store
+            .setDefault( BrowserCommonConstants.PREFERENCE_BROWSER_SEARCH_RESULT_LABEL, BrowserCommonConstants.SHOW_DN
);
         store.setDefault( BrowserCommonConstants.PREFERENCE_BROWSER_SEARCH_RESULT_ABBREVIATE,
true );
         store.setDefault( BrowserCommonConstants.PREFERENCE_BROWSER_SEARCH_RESULT_ABBREVIATE_MAX_LENGTH,
50 );
         store.setDefault( BrowserCommonConstants.PREFERENCE_BROWSER_SHOW_QUICK_SEARCH, true
);
@@ -120,7 +122,8 @@
         store.setDefault( BrowserCommonConstants.PREFERENCE_BROWSER_SHOW_BOOKMARKS, true
);
         store.setDefault( BrowserCommonConstants.PREFERENCE_BROWSER_SHOW_DIRECTORY_META_ENTRIES,
false );
         store.setDefault( BrowserCommonConstants.PREFERENCE_BROWSER_SORT_BY, BrowserCoreConstants.SORT_BY_RDN_VALUE
);
-        store.setDefault( BrowserCommonConstants.PREFERENCE_BROWSER_SORT_ORDER, BrowserCoreConstants.SORT_ORDER_ASCENDING
);
+        store.setDefault( BrowserCommonConstants.PREFERENCE_BROWSER_SORT_ORDER,
+            BrowserCoreConstants.SORT_ORDER_ASCENDING );
         store.setDefault( BrowserCommonConstants.PREFERENCE_BROWSER_SORT_LIMIT, 10000 );
         store.setDefault( BrowserCommonConstants.PREFERENCE_BROWSER_LEAF_ENTRIES_FIRST, true
);
         store.setDefault( BrowserCommonConstants.PREFERENCE_BROWSER_CONTAINER_ENTRIES_FIRST,
false );
@@ -170,7 +173,21 @@
                 new ObjectClassIconPair( new String[]
                     { SchemaConstants.META_ATTRIBUTE_TYPE_OC_OID }, BrowserCommonConstants.IMG_ATD
),
                 new ObjectClassIconPair( new String[]
-                    { SchemaConstants.META_MATCHING_RULE_OC_OID }, BrowserCommonConstants.IMG_MRD
), };
+                    { SchemaConstants.META_MATCHING_RULE_OC_OID }, BrowserCommonConstants.IMG_MRD
),
+                new ObjectClassIconPair( new String[]
+                    { SchemaConstants.META_SYNTAX_CHECKER_OC_OID }, BrowserCommonConstants.IMG_SYNTAX_CHECKER
),
+                new ObjectClassIconPair( new String[]
+                    { SchemaConstants.META_SYNTAX_OC_OID }, BrowserCommonConstants.IMG_LSD
),
+                new ObjectClassIconPair( new String[]
+                    { SchemaConstants.META_COMPARATOR_OC_OID }, BrowserCommonConstants.IMG_COMPARATOR
),
+                new ObjectClassIconPair( new String[]
+                    { SchemaConstants.META_NORMALIZER_OC_OID }, BrowserCommonConstants.IMG_NORMALIZER
),
+                new ObjectClassIconPair( new String[]
+                    { SchemaConstants.META_DIT_CONTENT_RULE_OC_OID }, BrowserCommonConstants.IMG_DIT_CONTENT_RULE
),
+                new ObjectClassIconPair( new String[]
+                    { SchemaConstants.META_DIT_STRUCTURE_RULE_OC_OID }, BrowserCommonConstants.IMG_DIT_STRUCTURE_RULE
),
+                new ObjectClassIconPair( new String[]
+                    { SchemaConstants.META_NAME_FORM_OC_OID }, BrowserCommonConstants.IMG_NAME_FORM
), };
         BrowserCorePlugin.getDefault().getCorePreferences().setDefaultObjectClassIcons( objectClassIcons
);
 
         // Entry Editor
@@ -194,8 +211,8 @@
         store.setDefault( BrowserCommonConstants.PREFERENCE_FORMAT_TABLE_ATTRIBUTEDELIMITER,
"\t" ); //$NON-NLS-1$
         store.setDefault( BrowserCommonConstants.PREFERENCE_FORMAT_TABLE_VALUEDELIMITER,
"|" ); //$NON-NLS-1$
         store.setDefault( BrowserCommonConstants.PREFERENCE_FORMAT_TABLE_QUOTECHARACTER,
"\"" ); //$NON-NLS-1$
-        store
-            .setDefault( BrowserCommonConstants.PREFERENCE_FORMAT_TABLE_LINESEPARATOR, BrowserCoreConstants.LINE_SEPARATOR
);
+        store.setDefault( BrowserCommonConstants.PREFERENCE_FORMAT_TABLE_LINESEPARATOR,
+            BrowserCoreConstants.LINE_SEPARATOR );
         store.setDefault( BrowserCommonConstants.PREFERENCE_FORMAT_TABLE_BINARYENCODING,
             BrowserCoreConstants.BINARYENCODING_IGNORE );
     }

Modified: directory/studio/trunk/ldapbrowser-ui/resources/icons/lsd.png
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/resources/icons/lsd.png?rev=824841&r1=824840&r2=824841&view=diff
==============================================================================
Binary files - no diff available.



Mime
View raw message