Author: scabanovich
Date: 2011-11-30 20:37:38 -0500 (Wed, 30 Nov 2011)
New Revision: 36816
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/appregister/AppRegisterWizard.java
Log:
JBIDE-10245
https://issues.jboss.org/browse/JBIDE-10245
ImageRegistry is used to manage images.
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/appregister/AppRegisterWizard.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/appregister/AppRegisterWizard.java 2011-12-01
01:36:33 UTC (rev 36815)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/appregister/AppRegisterWizard.java 2011-12-01
01:37:38 UTC (rev 36816)
@@ -140,7 +140,7 @@
WizardDialog dialog = new WizardDialog(shell, this);
dialog.create();
dialog.getShell().setText("" + p.getProperty("title"));
//$NON-NLS-1$ //$NON-NLS-2$
- dialog.setTitleImage(ModelUIImages.getImageDescriptor(ModelUIImages.WIZARD_DEFAULT).createImage(null));
+ dialog.setTitleImage(ModelUIImages.getImage(ModelUIImages.WIZARD_DEFAULT));
return dialog.open();
}