directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r633629 - /directory/studio/branches/1.1.0/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/NewEntryObjectclassWizardPage.java
Date Tue, 04 Mar 2008 20:43:07 GMT
Author: seelmann
Date: Tue Mar  4 12:43:06 2008
New Revision: 633629

URL: http://svn.apache.org/viewvc?rev=633629&view=rev
Log:
Fix for DIRSTUDIO-288 (SWTError: No more handles)

Modified:
    directory/studio/branches/1.1.0/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/NewEntryObjectclassWizardPage.java

Modified: directory/studio/branches/1.1.0/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/NewEntryObjectclassWizardPage.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/1.1.0/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/NewEntryObjectclassWizardPage.java?rev=633629&r1=633628&r2=633629&view=diff
==============================================================================
--- directory/studio/branches/1.1.0/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/NewEntryObjectclassWizardPage.java
(original)
+++ directory/studio/branches/1.1.0/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/NewEntryObjectclassWizardPage.java
Tue Mar  4 12:43:06 2008
@@ -122,22 +122,19 @@
 
                 if ( ocd.isAbstract() )
                 {
-                    return BrowserUIPlugin.getDefault().getImageDescriptor( BrowserUIConstants.IMG_OCD_ABSTRACT
)
-                        .createImage();
+                    return BrowserUIPlugin.getDefault().getImage( BrowserUIConstants.IMG_OCD_ABSTRACT
);
                 }
                 else if ( ocd.isAuxiliary() )
                 {
-                    return BrowserUIPlugin.getDefault().getImageDescriptor( BrowserUIConstants.IMG_OCD_AUXILIARY
)
-                        .createImage();
+                    return BrowserUIPlugin.getDefault().getImage( BrowserUIConstants.IMG_OCD_AUXILIARY
);
                 }
                 else if ( ocd.isStructural() )
                 {
-                    return BrowserUIPlugin.getDefault().getImageDescriptor( BrowserUIConstants.IMG_OCD_STRUCTURAL
)
-                        .createImage();
+                    return BrowserUIPlugin.getDefault().getImage( BrowserUIConstants.IMG_OCD_STRUCTURAL
);
                 }
                 else
                 {
-                    return BrowserUIPlugin.getDefault().getImageDescriptor( BrowserUIConstants.IMG_OCD
).createImage();
+                    return BrowserUIPlugin.getDefault().getImage( BrowserUIConstants.IMG_OCD
);
                 }
             }
 



Mime
View raw message