From: Jan P. <jp...@us...> - 2007-01-02 14:47:46
|
Update of /cvsroot/e-p-i-c/org.epic.perleditor/src/org/epic/core In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv23527/src/org/epic/core Modified Files: PerlProjectResourceWizard.java Log Message: Merged from 'stable'. Index: PerlProjectResourceWizard.java =================================================================== RCS file: /cvsroot/e-p-i-c/org.epic.perleditor/src/org/epic/core/PerlProjectResourceWizard.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- PerlProjectResourceWizard.java 17 Feb 2005 22:02:36 -0000 1.5 +++ PerlProjectResourceWizard.java 2 Jan 2007 14:47:42 -0000 1.6 @@ -33,7 +33,7 @@ import org.eclipse.ui.wizards.newresource.BasicNewResourceWizard; import org.epic.core.util.NatureUtilities; -import org.epic.perleditor.editors.PerlImages; +import org.epic.perleditor.PerlPluginImages; /** * Standard workbench wizard that creates a new project resource in @@ -260,8 +260,9 @@ //URL installURL = Platform.getPlugin(PlatformUI.PLUGIN_ID).getDescriptor().getInstallURL(); //URL url = new URL(installURL, iconPath + "new_wizard.gif");//$NON-NLS-1$ //ImageDescriptor desc = ImageDescriptor.createFromURL(url); - ImageDescriptor desc = PerlImages.NEW_PROJECT_WIZARD; - setDefaultPageImageDescriptor(desc); + setDefaultPageImageDescriptor( + PerlPluginImages.getDescriptor( + PerlPluginImages.IMG_NEW_PROJECT_WIZARD)); //} //catch (MalformedURLException e) { // Should not happen. Ignore. |