X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpdt/ui/wizards/NewTypeWizardPage.java b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpdt/ui/wizards/NewTypeWizardPage.java index 9819992..2157335 100644 --- a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpdt/ui/wizards/NewTypeWizardPage.java +++ b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpdt/ui/wizards/NewTypeWizardPage.java @@ -55,7 +55,7 @@ import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.NullProgressMonitor; import org.eclipse.core.runtime.SubProgressMonitor; -import org.eclipse.jface.preference.IPreferenceStore; +//import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.jface.text.BadLocationException; import org.eclipse.jface.text.templates.Template; import org.eclipse.jface.text.templates.TemplateException; @@ -1333,7 +1333,8 @@ public abstract class NewTypeWizardPage extends NewContainerWizardPage { */ protected IStatus modifiersChanged() { StatusInfo status = new StatusInfo(); - int modifiers = getModifiers(); + //int modifiers = getModifiers(); + // if (Flags.isFinal(modifiers) && Flags.isAbstract(modifiers)) { // status.setError(NewWizardMessages.getString("NewTypeWizardPage.error.ModifiersFinalAndAbstract")); // //$NON-NLS-1$ @@ -1485,7 +1486,7 @@ public abstract class NewTypeWizardPage extends NewContainerWizardPage { // ImportsStructure imports; int indent = 0; - IPreferenceStore store = PreferenceConstants.getPreferenceStore(); + //IPreferenceStore store = PreferenceConstants.getPreferenceStore(); // String[] prefOrder = // JavaPreferencesSettings.getImportOrderPreference(store); // int threshold = @@ -1508,7 +1509,7 @@ public abstract class NewTypeWizardPage extends NewContainerWizardPage { // solves 14661 // imports.addImport(pack.getElementName(), getTypeName()); // - String typeContent = constructTypeStub(lineDelimiter);// new + //String typeContent = constructTypeStub(lineDelimiter);// new // ImportsManager(imports), // lineDelimiter);