| org.eclipse.jdt.ui.wizards.NewElementWizardPage org.eclipse.jdt.ui.wizards.NewContainerWizardPage org.eclipse.jdt.ui.wizards.NewTypeWizardPage org.eclipse.jdt.ui.wizards.NewEnumWizardPage
NewEnumWizardPage | public class NewEnumWizardPage extends NewTypeWizardPage (Code) | | Wizard page to create a new enum type.
Note: This class is not intended to be subclassed, but clients can instantiate.
To implement a different kind of a new enum wizard page, extend NewTypeWizardPage .
since: 3.1 |
Method Summary | |
public void | createControl(Composite parent) | protected void | handleFieldChanged(String fieldName) | public void | init(IStructuredSelection selection) The wizard owning this page is responsible for calling this method with the
current selection. | public void | setVisible(boolean visible) |
NewEnumWizardPage | public NewEnumWizardPage()(Code) | | Create a new NewEnumWizardPage
|
createControl | public void createControl(Composite parent)(Code) | | |
handleFieldChanged | protected void handleFieldChanged(String fieldName)(Code) | | |
init | public void init(IStructuredSelection selection)(Code) | | The wizard owning this page is responsible for calling this method with the
current selection. The selection is used to initialize the fields of the wizard
page.
Parameters: selection - used to initialize the fields |
setVisible | public void setVisible(boolean visible)(Code) | | |
Methods inherited from org.eclipse.jdt.ui.wizards.NewTypeWizardPage | public boolean addSuperInterface(String superInterface)(Code)(Java Doc) protected IType chooseEnclosingType()(Code)(Java Doc) protected IPackageFragment choosePackage()(Code)(Java Doc) protected IType chooseSuperClass()(Code)(Java Doc) protected void chooseSuperInterfaces()(Code)(Java Doc) protected String constructCUContent(ICompilationUnit cu, String typeContent, String lineDelimiter) throws CoreException(Code)(Java Doc) protected IStatus containerChanged()(Code)(Java Doc) protected void createCommentControls(Composite composite, int nColumns)(Code)(Java Doc) protected void createEnclosingTypeControls(Composite composite, int nColumns)(Code)(Java Doc) protected IMethod[] createInheritedMethods(IType type, boolean doConstructors, boolean doUnimplementedMethods, ImportsManager imports, IProgressMonitor monitor) throws CoreException(Code)(Java Doc) protected void createModifierControls(Composite composite, int nColumns)(Code)(Java Doc) protected void createPackageControls(Composite composite, int nColumns)(Code)(Java Doc) protected void createSeparator(Composite composite, int nColumns)(Code)(Java Doc) protected void createSuperClassControls(Composite composite, int nColumns)(Code)(Java Doc) protected void createSuperInterfacesControls(Composite composite, int nColumns)(Code)(Java Doc) public void createType(IProgressMonitor monitor) throws CoreException, InterruptedException(Code)(Java Doc) protected void createTypeMembers(IType newType, ImportsManager imports, IProgressMonitor monitor) throws CoreException(Code)(Java Doc) protected void createTypeNameControls(Composite composite, int nColumns)(Code)(Java Doc) public void enableCommentControl(boolean useAddCommentValue)(Code)(Java Doc) protected IStatus enclosingTypeChanged()(Code)(Java Doc) protected String getCompilationUnitName(String typeName)(Code)(Java Doc) public IType getCreatedType()(Code)(Java Doc) public IType getEnclosingType()(Code)(Java Doc) protected String getEnclosingTypeLabel()(Code)(Java Doc) public String getEnclosingTypeText()(Code)(Java Doc) protected String getFileComment(ICompilationUnit parentCU)(Code)(Java Doc) protected String getFileComment(ICompilationUnit parentCU, String lineDelimiter) throws CoreException(Code)(Java Doc) public IResource getModifiedResource()(Code)(Java Doc) public int getModifiers()(Code)(Java Doc) protected String getModifiersLabel()(Code)(Java Doc) public IPackageFragment getPackageFragment()(Code)(Java Doc) protected String getPackageLabel()(Code)(Java Doc) public String getPackageText()(Code)(Java Doc) public IRunnableWithProgress getRunnable()(Code)(Java Doc) public String getSuperClass()(Code)(Java Doc) protected String getSuperClassLabel()(Code)(Java Doc) public List getSuperInterfaces()(Code)(Java Doc) protected String getSuperInterfacesLabel()(Code)(Java Doc) protected String getTemplate(String name, ICompilationUnit parentCU)(Code)(Java Doc) protected String getTemplate(String name, ICompilationUnit parentCU, int pos)(Code)(Java Doc) protected String getTypeComment(ICompilationUnit parentCU, String lineDelimiter)(Code)(Java Doc) protected String getTypeComment(ICompilationUnit parentCU)(Code)(Java Doc) public String getTypeName()(Code)(Java Doc) protected String getTypeNameLabel()(Code)(Java Doc) protected void handleFieldChanged(String fieldName)(Code)(Java Doc) protected void initTypePage(IJavaElement elem)(Code)(Java Doc) public boolean isAddComments()(Code)(Java Doc) public boolean isEnclosingTypeSelected()(Code)(Java Doc) protected IStatus modifiersChanged()(Code)(Java Doc) protected IStatus packageChanged()(Code)(Java Doc) public void setAddComments(boolean doAddComments, boolean canBeModified)(Code)(Java Doc) public void setEnclosingType(IType type, boolean canBeModified)(Code)(Java Doc) public void setEnclosingTypeSelection(boolean isSelected, boolean canBeModified)(Code)(Java Doc) protected void setFocus()(Code)(Java Doc) public void setModifiers(int modifiers, boolean canBeModified)(Code)(Java Doc) public void setPackageFragment(IPackageFragment pack, boolean canBeModified)(Code)(Java Doc) public void setSuperClass(String name, boolean canBeModified)(Code)(Java Doc) public void setSuperInterfaces(List interfacesNames, boolean canBeModified)(Code)(Java Doc) public void setTypeName(String name, boolean canBeModified)(Code)(Java Doc) protected IStatus superClassChanged()(Code)(Java Doc) protected IStatus superInterfacesChanged()(Code)(Java Doc) protected IStatus typeNameChanged()(Code)(Java Doc)
|
Methods inherited from org.eclipse.jdt.ui.wizards.NewElementWizardPage | public void setVisible(boolean visible)(Code)(Java Doc) protected void updateStatus(IStatus status)(Code)(Java Doc) protected void updateStatus(IStatus[] status)(Code)(Java Doc)
|
|
|