Class AbstractNewWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
org.apache.uima.taeconfigurator.wizards.AbstractNewWizard
- All Implemented Interfaces:
- org.eclipse.jface.window.IShellProvider,- org.eclipse.jface.wizard.IWizard,- org.eclipse.ui.INewWizard,- org.eclipse.ui.IWorkbenchWizard
- Direct Known Subclasses:
- CasConsumerNewWizard,- CasInitializerNewWizard,- CollectionReaderNewWizard,- FlowControllerNewWizard,- FsIndexCollectionNewWizard,- ResourceManagerConfigurationNewWizard,- TAEConfiguratorNewWizard,- TypePrioritiesNewWizard,- TypeSystemNewWizard
public abstract class AbstractNewWizard
extends org.eclipse.jface.wizard.Wizard
implements org.eclipse.ui.INewWizard
Create a new file resource in the provided container. If the container resource (a folder or a
 project) is selected in the workspace when the wizard is opened, it will accept it as the target
 container. If a sample multi-page editor is registered for the same extension, it will be able to
 open it.
 
 Following Eclipse conventions, the new Wizard will actually create the resource in the file
 system and in the Eclipse resource space, with initial contents, and then open the resource with
 the CDE.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe Constant COMMON_FULL_DESCRIPTOR.static final StringThe Constant COMMON_HEADER.static final StringThe Constant COMMON_NDVV.static StringThe common partial descriptor.protected AbstractNewWizardPageThe page.protected org.eclipse.jface.viewers.ISelectionThe selection.static final StringThe Constant XMLNS_PART.Fields inherited from class org.eclipse.jface.wizard.WizardDEFAULT_IMAGE
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractNewWizard(String windowTitle) Instantiates a new abstract new wizard.
- 
Method SummaryModifier and TypeMethodDescriptionabstract StringgetPrototypeDescriptor(String name) Gets the prototype descriptor.voidinit(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection pSelection) booleanCalled when 'Finish' button is pressed in the wizard.Methods inherited from class org.eclipse.jface.wizard.WizardaddPage, addPages, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jface.wizard.IWizardaddPages, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
- 
Field Details- 
XMLNS_PARTThe Constant XMLNS_PART.
- 
COMMON_HEADERThe Constant COMMON_HEADER.
- 
COMMON_NDVVThe Constant COMMON_NDVV.
- 
COMMON_FULL_DESCRIPTORThe Constant COMMON_FULL_DESCRIPTOR.
- 
COMMON_PARTIAL_DESCRIPTORThe common partial descriptor.
- 
pageThe page.
- 
selectionprotected org.eclipse.jface.viewers.ISelection selectionThe selection.
 
- 
- 
Constructor Details- 
AbstractNewWizardInstantiates a new abstract new wizard.- Parameters:
- windowTitle- the window title
 
 
- 
- 
Method Details- 
performFinishpublic boolean performFinish()Called when 'Finish' button is pressed in the wizard. Create an operation and run it using wizard as execution context.- Specified by:
- performFinishin interface- org.eclipse.jface.wizard.IWizard
- Specified by:
- performFinishin class- org.eclipse.jface.wizard.Wizard
- Returns:
- true, if successful
 
- 
getPrototypeDescriptorGets the prototype descriptor.- Parameters:
- name- the name
- Returns:
- the prototype descriptor
 
- 
initpublic void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection pSelection) - Specified by:
- initin interface- org.eclipse.ui.IWorkbenchWizard
 
 
-