directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r526891 [3/3] - in /directory/ldapstudio/trunk: ldapstudio-aciitemeditor/ ldapstudio-aciitemeditor/resources/icons/ ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/ ldapstudio-aciitemeditor/src/main/java...
Date Mon, 09 Apr 2007 19:50:40 GMT
Modified: directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemTabFolderComposite.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemTabFolderComposite.java?view=diff&rev=526891&r1=526890&r2=526891
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemTabFolderComposite.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemTabFolderComposite.java
Mon Apr  9 12:49:47 2007
@@ -17,7 +17,6 @@
  *  under the License. 
  *  
  */
-
 package org.apache.directory.ldapstudio.aciitemeditor.widgets;
 
 
@@ -271,8 +270,8 @@
             return input;
         }
     }
-    
-    
+
+
     /**
      * Sets the context.
      * 

Modified: directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemUserClassesComposite.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemUserClassesComposite.java?view=diff&rev=526891&r1=526890&r2=526891
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemUserClassesComposite.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemUserClassesComposite.java
Mon Apr  9 12:49:47 2007
@@ -58,14 +58,13 @@
 
 /**
  * This composite contains GUI elements to edit ACI item user classes.
-
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
 public class ACIItemUserClassesComposite extends Composite
 {
-    
+
     /** The context. */
     private ACIItemValueWithContext context;
 
@@ -122,7 +121,7 @@
         layoutData.grabExcessHorizontalSpace = true;
         layoutData.verticalAlignment = GridData.CENTER;
         setLayoutData( layoutData );
-        
+
         createComposite();
     }
 
@@ -155,7 +154,7 @@
         composite.setLayout( gridLayout );
 
         label = new Label( composite, SWT.NONE );
-        label.setText( Messages.getString("ACIItemUserClassesComposite.description") ); //$NON-NLS-1$
+        label.setText( Messages.getString( "ACIItemUserClassesComposite.description" ) );
//$NON-NLS-1$
         label.setLayoutData( labelGridData );
 
         createTable();
@@ -256,7 +255,7 @@
         buttonComposite.setLayout( gridLayout );
 
         editButton = new Button( buttonComposite, SWT.NONE );
-        editButton.setText( Messages.getString("ACIItemUserClassesComposite.edit.button")
); //$NON-NLS-1$
+        editButton.setText( Messages.getString( "ACIItemUserClassesComposite.edit.button"
) ); //$NON-NLS-1$
         editButton.setLayoutData( editButtonGridData );
         editButton.addSelectionListener( new SelectionAdapter()
         {
@@ -268,7 +267,7 @@
         editButton.setEnabled( false );
 
         selectAllButton = new Button( buttonComposite, SWT.NONE );
-        selectAllButton.setText( Messages.getString("ACIItemUserClassesComposite.selectAll.button")
); //$NON-NLS-1$
+        selectAllButton.setText( Messages.getString( "ACIItemUserClassesComposite.selectAll.button"
) ); //$NON-NLS-1$
         selectAllButton.setLayoutData( selectAllButtonGridData );
         selectAllButton.addSelectionListener( new SelectionAdapter()
         {
@@ -280,7 +279,7 @@
         } );
 
         deselectAllButton = new Button( buttonComposite, SWT.NONE );
-        deselectAllButton.setText( Messages.getString("ACIItemUserClassesComposite.deselectAll.button")
); //$NON-NLS-1$
+        deselectAllButton.setText( Messages.getString( "ACIItemUserClassesComposite.deselectAll.button"
) ); //$NON-NLS-1$
         deselectAllButton.setLayoutData( deselectAllButtonGridData );
         deselectAllButton.addSelectionListener( new SelectionAdapter()
         {
@@ -292,7 +291,7 @@
         } );
 
         reverseSelectionButton = new Button( buttonComposite, SWT.NONE );
-        reverseSelectionButton.setText( Messages.getString("ACIItemUserClassesComposite.revert.buton")
); //$NON-NLS-1$
+        reverseSelectionButton.setText( Messages.getString( "ACIItemUserClassesComposite.revert.buton"
) ); //$NON-NLS-1$
         reverseSelectionButton.setLayoutData( reverseSelectionButtonGridData );
         reverseSelectionButton.addSelectionListener( new SelectionAdapter()
         {
@@ -316,8 +315,13 @@
      */
     private class UserClassesLabelProvider extends LabelProvider
     {
+
         /**
          * Returns the error icon if the user class is checked and invalid.
+         * 
+         * @param element the element
+         * 
+         * @return the image
          */
         public Image getImage( Object element )
         {
@@ -332,7 +336,8 @@
                     }
                     catch ( ParseException e )
                     {
-                        return Activator.getDefault().getImage( Messages.getString("ACIItemUserClassesComposite.error.icon")
); //$NON-NLS-1$
+                        return Activator.getDefault().getImage(
+                            Messages.getString( "ACIItemUserClassesComposite.error.icon"
) ); //$NON-NLS-1$
                     }
                 }
             }
@@ -341,18 +346,18 @@
         }
     }
 
-    
+
     /**
      * Sets the context.
      * 
      * @param context the context
      */
-    public void setContext( ACIItemValueWithContext context ) 
+    public void setContext( ACIItemValueWithContext context )
     {
         this.context = context;
     }
-    
-    
+
+
     /**
      * Sets the user classes.
      * 
@@ -365,7 +370,7 @@
         {
             tableViewer.setChecked( userClassWrapper, false );
         }
-        
+
         for ( UserClass userClass : userClasses )
         {
             for ( UserClassWrapper userClassWrapper : userClassWrappers )
@@ -408,7 +413,7 @@
     /**
      * Shows or hides this composite.
      * 
-     * @see org.eclipse.swt.widgets.control#setVisible(boolean)
+     * @param visible true if visible
      */
     public void setVisible( boolean visible )
     {
@@ -477,15 +482,16 @@
         UserClassWrapper userClassWrapper = getSelectedUserClassWrapper();
 
         AbstractDialogStringValueEditor editor = userClassWrapper.getValueEditor();
-        if(editor != null)
+        if ( editor != null )
         {
-            MultiValuedDialog dialog = new MultiValuedDialog( getShell(), userClassWrapper.getDisplayName(),
userClassWrapper.getValues(), context, editor );
+            MultiValuedDialog dialog = new MultiValuedDialog( getShell(), userClassWrapper.getDisplayName(),
+                userClassWrapper.getValues(), context, editor );
             dialog.open();
             refreshTable();
         }
     }
-    
-    
+
+
     /**
      * Refreshes the table viewer.
      */

Modified: directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemUserPermissionsComposite.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemUserPermissionsComposite.java?view=diff&rev=526891&r1=526890&r2=526891
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemUserPermissionsComposite.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemUserPermissionsComposite.java
Mon Apr  9 12:49:47 2007
@@ -27,7 +27,6 @@
 
 import org.apache.directory.ldapstudio.aciitemeditor.ACIItemValueWithContext;
 import org.apache.directory.ldapstudio.aciitemeditor.Activator;
-import org.apache.directory.ldapstudio.aciitemeditor.dialogs.TextDialog;
 import org.apache.directory.ldapstudio.aciitemeditor.dialogs.UserPermissionDialog;
 import org.apache.directory.ldapstudio.aciitemeditor.model.ProtectedItemWrapper;
 import org.apache.directory.shared.ldap.aci.GrantAndDenial;
@@ -63,7 +62,7 @@
 
     /** The context. */
     private ACIItemValueWithContext context;
-    
+
     /** The inner composite for all the content */
     private Composite composite = null;
 
@@ -105,8 +104,8 @@
 
         /**
          * Creates a new instance of UserPermissionWrapper.
-         *
-         * @param userClassClass
+         * 
+         * @param userPermission the user permission
          */
         public UserPermissionWrapper( UserPermission userPermission )
         {
@@ -116,6 +115,8 @@
 
         /**
          * Returns a user-friedly string, displayed in the table.
+         * 
+         * @return the string
          */
         public String toString()
         {
@@ -357,7 +358,7 @@
     /**
      * Shows or hides this composite.
      * 
-     * @see org.eclipse.swt.widgets.control#setVisible(boolean)
+     * @param visible true if visible
      */
     public void setVisible( boolean visible )
     {
@@ -365,17 +366,17 @@
         ( ( GridData ) getLayoutData() ).heightHint = visible ? -1 : 0;
     }
 
-    
+
     /**
      * Sets the context.
      * 
      * @param context the context
      */
-    public void setContext( ACIItemValueWithContext context ) 
+    public void setContext( ACIItemValueWithContext context )
     {
         this.context = context;
     }
-    
+
 
     /**
      * Sets the user permissions. 
@@ -444,7 +445,7 @@
     private void addUserPermission()
     {
         UserPermissionDialog dialog = new UserPermissionDialog( getShell(), null, context
);
-        if ( dialog.open() == TextDialog.OK && dialog.getUserPermission() != null
)
+        if ( dialog.open() == UserPermissionDialog.OK && dialog.getUserPermission()
!= null )
         {
             UserPermissionWrapper userPermissionWrapper = new UserPermissionWrapper( dialog.getUserPermission()
);
             userPermissionWrappers.add( userPermissionWrapper );
@@ -463,8 +464,9 @@
         UserPermissionWrapper oldUserPermissionWrapper = getSelectedUserPermissionWrapper();
         if ( oldUserPermissionWrapper != null )
         {
-            UserPermissionDialog dialog = new UserPermissionDialog( getShell(), oldUserPermissionWrapper.userPermission,
context );
-            if ( dialog.open() == TextDialog.OK )
+            UserPermissionDialog dialog = new UserPermissionDialog( getShell(),
+                oldUserPermissionWrapper.userPermission, context );
+            if ( dialog.open() == UserPermissionDialog.OK )
             {
                 oldUserPermissionWrapper.userPermission = dialog.getUserPermission();
                 tableViewer.refresh();
@@ -507,5 +509,4 @@
         }
     }
 
-    
 }

Modified: directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemVisualEditorComposite.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemVisualEditorComposite.java?view=diff&rev=526891&r1=526890&r2=526891
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemVisualEditorComposite.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/ACIItemVisualEditorComposite.java
Mon Apr  9 12:49:47 2007
@@ -49,7 +49,7 @@
  */
 public class ACIItemVisualEditorComposite extends ScrolledComposite implements WidgetModifyListener
 {
-    
+
     /** The inner composite for all the content */
     private Composite composite = null;
 
@@ -119,9 +119,10 @@
 
 
     /**
-     * This method is called from the contained ACIItemXXXComposites 
+     * This method is called from the contained ACIItemXXXComposites
      * when they are modified.
      * 
+     * @param event the event
      */
     public void widgetModified( WidgetModifyEvent event )
     {
@@ -235,9 +236,9 @@
         {
             aciItem = null;
         }
-        
+
         StringBuffer buffer = new StringBuffer();
-        if(aciItem != null)
+        if ( aciItem != null )
         {
             aciItem.printToBuffer( buffer );
         }

Modified: directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/Messages.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/Messages.java?view=diff&rev=526891&r1=526890&r2=526891
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/Messages.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/Messages.java
Mon Apr  9 12:49:47 2007
@@ -1,3 +1,22 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  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.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
 package org.apache.directory.ldapstudio.aciitemeditor.widgets;
 
 
@@ -5,7 +24,7 @@
 import java.util.ResourceBundle;
 
 
-public class Messages 
+public class Messages
 {
     private static final String BUNDLE_NAME = "org.apache.directory.ldapstudio.aciitemeditor.widgets.messages";
//$NON-NLS-1$
 

Modified: directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/WidgetModifyEvent.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/WidgetModifyEvent.java?view=diff&rev=526891&r1=526890&r2=526891
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/WidgetModifyEvent.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/WidgetModifyEvent.java
Mon Apr  9 12:49:47 2007
@@ -17,7 +17,6 @@
  *  under the License. 
  *  
  */
-
 package org.apache.directory.ldapstudio.aciitemeditor.widgets;
 
 

Modified: directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/WidgetModifyListener.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/WidgetModifyListener.java?view=diff&rev=526891&r1=526890&r2=526891
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/WidgetModifyListener.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/WidgetModifyListener.java
Mon Apr  9 12:49:47 2007
@@ -17,7 +17,6 @@
  *  under the License. 
  *  
  */
-
 package org.apache.directory.ldapstudio.aciitemeditor.widgets;
 
 

Added: directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/package-info.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/package-info.java?view=auto&rev=526891
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/package-info.java
(added)
+++ directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/java/org/apache/directory/ldapstudio/aciitemeditor/widgets/package-info.java
Mon Apr  9 12:49:47 2007
@@ -0,0 +1,4 @@
+/**
+ * Contains the composed widgets of the ACI item editor dialog.
+ */
+package org.apache.directory.ldapstudio.aciitemeditor.widgets;
\ No newline at end of file

Modified: directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/resources/org/apache/directory/ldapstudio/aciitemeditor/dialogs/messages.properties
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/resources/org/apache/directory/ldapstudio/aciitemeditor/dialogs/messages.properties?view=diff&rev=526891&r1=526890&r2=526891
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/resources/org/apache/directory/ldapstudio/aciitemeditor/dialogs/messages.properties
(original)
+++ directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/resources/org/apache/directory/ldapstudio/aciitemeditor/dialogs/messages.properties
Mon Apr  9 12:49:47 2007
@@ -1,7 +1,11 @@
 ACIItemDialog.dialog.text=ACI Item Editor
 ACIItemDialog.dialog.icon=resources/icons/aciitemeditor.gif
 ACIItemDialog.error.title=Syntax Error
+ACIItemDialog.button.format=Format
+ACIItemDialog.syntaxOk.title=Syntax ok
+ACIItemDialog.syntaxOk.text=Syntax ok
 ACIItemDialog.error.invalidSyntax=Invalid syntax.
+ACIItemDialog.button.checkSyntax=Check Syntax
 ItemPermissionDialog.dialog.text=Item Permission Editor
 ItemPermissionDialog.dialog.icon=resources/icons/aciitemeditor.gif
 ItemPermissionDialog.error.invalidItemPermission=Invalid Item Permission
@@ -10,3 +14,8 @@
 UserPermissionDialog.dialog.icon=resources/icons/aciitemeditor.gif
 UserPermissionDialog.error.invalidUserPermission=Invalid User Permission
 UserPermissionDialog.precedence.label=Precedence:
+MultiValuedDialog.dialog.titlePrefix=Edit 
+MultiValuedDialog.dialog.icon=resources/icons/aciitemeditor.gif
+MultiValuedDialog.button.add=Add...
+MultiValuedDialog.button.edit=Edit...
+MultiValuedDialog.button.delete=Delete

Added: directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/resources/org/apache/directory/ldapstudio/aciitemeditor/valueeditors/messages.properties
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/resources/org/apache/directory/ldapstudio/aciitemeditor/valueeditors/messages.properties?view=auto&rev=526891
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/resources/org/apache/directory/ldapstudio/aciitemeditor/valueeditors/messages.properties
(added)
+++ directory/ldapstudio/trunk/ldapstudio-aciitemeditor/src/main/resources/org/apache/directory/ldapstudio/aciitemeditor/valueeditors/messages.properties
Mon Apr  9 12:49:47 2007
@@ -0,0 +1,22 @@
+RestrictedByValueEditor.icon=resources/icons/attributetypeeditor.png
+RestrictedByValueEditor.title=Restricted By Editor
+SubtreeValueEditor.title=Subtree Editor
+SubtreeValueEditor.icon=resources/icons/subtreeeditor.png
+SubtreeValueEditor.label.base=Base:
+SubtreeValueEditor.label.minimum=Minimum:
+SubtreeValueEditor.label.maximum=Maximum:
+SubtreeValueEditor.label.exclusions=Exclusions:
+SubtreeValueEditor.button.add=Add...
+SubtreeValueEditor.button.edit=Edit...
+SubtreeValueEditor.button.delete=Delete
+MaxValueCountValueEditor.title=Max Value Count Editor
+MaxValueCountValueEditor.icon=resources/icons/attributetypeeditor.png
+FilterValueEditor.dialog.title=Filter Editor
+ExclusionValueEditor.title=Exclusion Editor
+ExclusionValueEditor.icon=resources/icons/attributetypeeditor.png
+ExclusionValueEditor.label.type=Type:
+ExclusionValueEditor.label.rdn=RDN:
+AttributeTypeDialog.title=Attribute Type Editor
+AttributeTypeAndValueDialog.title=Attribute Type and Value Editor
+AttributeTypeAndValueDialog.icon=resources/icons/attributetypeeditor.png
+AttributeTypeDialog.icon=resources/icons/attributetypeeditor.png

Added: directory/ldapstudio/trunk/ldapstudio-browser-common/resources/icons/filtereditor.gif
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-browser-common/resources/icons/filtereditor.gif?view=auto&rev=526891
==============================================================================
Binary file - no diff available.

Propchange: directory/ldapstudio/trunk/ldapstudio-browser-common/resources/icons/filtereditor.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: directory/ldapstudio/trunk/ldapstudio-browser-common/src/main/java/org/apache/directory/ldapstudio/browser/common/BrowserCommonConstants.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-browser-common/src/main/java/org/apache/directory/ldapstudio/browser/common/BrowserCommonConstants.java?view=diff&rev=526891&r1=526890&r2=526891
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-browser-common/src/main/java/org/apache/directory/ldapstudio/browser/common/BrowserCommonConstants.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-browser-common/src/main/java/org/apache/directory/ldapstudio/browser/common/BrowserCommonConstants.java
Mon Apr  9 12:49:47 2007
@@ -211,6 +211,8 @@
     
     public static final String IMG_FILTER_DIT = "resources/icons/filter_dit.gif";
     
+    public static final String IMG_FILTER_EDITOR = "resources/icons/filtereditor.gif";
+    
     public static final String IMG_PARENT = "resources/icons/parent.gif";
     
     public static final String IMG_UNFILTER_DIT = "resources/icons/unfilter_dit.gif";

Modified: directory/ldapstudio/trunk/ldapstudio-browser-common/src/main/java/org/apache/directory/ldapstudio/browser/common/dialogs/FilterDialog.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-browser-common/src/main/java/org/apache/directory/ldapstudio/browser/common/dialogs/FilterDialog.java?view=diff&rev=526891&r1=526890&r2=526891
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-browser-common/src/main/java/org/apache/directory/ldapstudio/browser/common/dialogs/FilterDialog.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-browser-common/src/main/java/org/apache/directory/ldapstudio/browser/common/dialogs/FilterDialog.java
Mon Apr  9 12:49:47 2007
@@ -26,7 +26,6 @@
 import org.apache.directory.ldapstudio.browser.common.filtereditor.FilterSourceViewerConfiguration;
 import org.apache.directory.ldapstudio.browser.core.model.IConnection;
 import org.apache.directory.ldapstudio.browser.core.model.filter.parser.LdapFilterParser;
-
 import org.eclipse.jface.dialogs.Dialog;
 import org.eclipse.jface.dialogs.IDialogConstants;
 import org.eclipse.jface.text.Document;
@@ -81,7 +80,7 @@
     {
         super.configureShell( newShell );
         newShell.setText( this.title != null ? this.title : DIALOG_TITLE );
-        //newShell.setImage( Activator.getDefault().getImage( BrowserWidgetsConstants.IMG_FILTER_EQUALS
) );
+        newShell.setImage( BrowserCommonActivator.getDefault().getImage( BrowserCommonConstants.IMG_FILTER_EDITOR
) );
     }
 
 

Modified: directory/ldapstudio/trunk/ldapstudio-browser-common/src/main/java/org/apache/directory/ldapstudio/browser/common/dialogs/FilterWidgetDialog.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-browser-common/src/main/java/org/apache/directory/ldapstudio/browser/common/dialogs/FilterWidgetDialog.java?view=diff&rev=526891&r1=526890&r2=526891
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-browser-common/src/main/java/org/apache/directory/ldapstudio/browser/common/dialogs/FilterWidgetDialog.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-browser-common/src/main/java/org/apache/directory/ldapstudio/browser/common/dialogs/FilterWidgetDialog.java
Mon Apr  9 12:49:47 2007
@@ -21,6 +21,8 @@
 package org.apache.directory.ldapstudio.browser.common.dialogs;
 
 
+import org.apache.directory.ldapstudio.browser.common.BrowserCommonActivator;
+import org.apache.directory.ldapstudio.browser.common.BrowserCommonConstants;
 import org.apache.directory.ldapstudio.browser.common.widgets.search.FilterWidget;
 import org.apache.directory.ldapstudio.browser.core.model.IConnection;
 import org.eclipse.jface.dialogs.Dialog;
@@ -91,7 +93,7 @@
     {
         super.configureShell( newShell );
         newShell.setText( title );
-        //newShell.setImage( Activator.getDefault().getImage( BrowserWidgetsConstants.IMG_FILTEREDITOR
) );
+        newShell.setImage( BrowserCommonActivator.getDefault().getImage( BrowserCommonConstants.IMG_FILTER_EDITOR
) );
     }
 
 

Modified: directory/ldapstudio/trunk/ldapstudio-valueeditors/src/main/java/org/apache/directory/ldapstudio/valueeditors/ValueEditorsConstants.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-valueeditors/src/main/java/org/apache/directory/ldapstudio/valueeditors/ValueEditorsConstants.java?view=diff&rev=526891&r1=526890&r2=526891
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-valueeditors/src/main/java/org/apache/directory/ldapstudio/valueeditors/ValueEditorsConstants.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-valueeditors/src/main/java/org/apache/directory/ldapstudio/valueeditors/ValueEditorsConstants.java
Mon Apr  9 12:49:47 2007
@@ -23,10 +23,8 @@
 
     public static final String IMG_INPLACE_GENERALIZEDTIMEEDITOR = "resources/icons/inplace_generalizedtimeeditor.gif";
 
-    public static final String IMG_ATDEDITOR = "resources/icons/attributetypeeditor.png";
-    
     public static final String IMG_OCDEDITOR = "resources/icons/objectclasseditor.png";
     
-    public static final String IMG_FILTEREDITOR = "resources/icons/filtereditor.png";
+    public static final String IMG_INTEGEREDITOR = "resources/icons/integereditor.gif";
     
 }

Modified: directory/ldapstudio/trunk/ldapstudio-valueeditors/src/main/java/org/apache/directory/ldapstudio/valueeditors/integer/IntegerDialog.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-valueeditors/src/main/java/org/apache/directory/ldapstudio/valueeditors/integer/IntegerDialog.java?view=diff&rev=526891&r1=526890&r2=526891
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-valueeditors/src/main/java/org/apache/directory/ldapstudio/valueeditors/integer/IntegerDialog.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-valueeditors/src/main/java/org/apache/directory/ldapstudio/valueeditors/integer/IntegerDialog.java
Mon Apr  9 12:49:47 2007
@@ -78,7 +78,7 @@
     {
         super.configureShell( shell );
         shell.setText( DIALOG_TITLE );
-        //shell.setImage( Activator.getDefault().getImage( ValueEditorsConstants.IMG_TEXTEDITOR
) );
+        shell.setImage( ValueEditorsActivator.getDefault().getImage( ValueEditorsConstants.IMG_INTEGEREDITOR
) );
     }
 
 



Mime
View raw message