Bug 81614 [RCP] [Wizards] Missing icons for wizards
The interface org.eclipse.ui.ISharedImages defines public final static String IMG_TOOL_NEW_WIZARD = "IMG_TOOL_NEW_WIZARD"; public final static String IMG_TOOL_NEW_WIZARD_DISABLED = "IMG_TOOL_NEW_WIZARD_DISABLED"; It is used in the NewWizardDropDownAction class but the corresponding icons are not yet moved to the platform. Icon name: new_wiz.gif
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/SaveAsDialog.java
}
    /* (non-Javadoc)
     * Method declared on Dialog.
     */
    protected void okPressed() {
        
        IPath path = resourceGroup.getContainerFullPath().append(
                resourceGroup.getResource());
         
         
        
        if (path.getFileExtension() == null) {
            if (originalFile != null && originalFile.getFileExtension() != null)
                path = path.addFileExtension(originalFile.getFileExtension());
            else if (originalName != null) {
                int pos = originalName.lastIndexOf('.');
                if (++pos > 0 && pos < originalName.length())
                    path = path.addFileExtension(originalName.substring(pos));
            }
        }
        
        IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(path);
        if (file.exists()) {
            String[] buttons = new String[] { IDialogConstants.YES_LABEL,
                    IDialogConstants.NO_LABEL, IDialogConstants.CANCEL_LABEL };
            String question = IDEWorkbenchMessages.format(
                    "SaveAsDialog.overwriteQuestion", 
                    new Object[] { path.toOSString() });
            MessageDialog d = new MessageDialog(getShell(),
                    IDEWorkbenchMessages.getString("Question"),