|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.wizard.Wizard
org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
com.ibm.carma.ui.wizard.CARMANewMemberWizard
public class CARMANewMemberWizard
Wizard for creating a new CARMA member (resource) in a user specified location in the hierachy.
This class may be instantiated and used without further configuration.
Example:
IWorkbenchWizard wizard = new CARMANewMemberWizard(); wizard.init(workbench, selection); WizardDialog dialog = new WizardDialog(shell, wizard); dialog.open();During the call to
open, the wizard dialog is presented to the
user. When the user hits Finish, a CARMA member at the user-specified
CARMA hierarchy path is created, the dialog closes, and the call to
open returns.
| Field Summary | |
|---|---|
static java.lang.String |
COPYRIGHT
|
| Fields inherited from class org.eclipse.jface.wizard.Wizard |
|---|
DEFAULT_IMAGE |
| Constructor Summary | |
|---|---|
CARMANewMemberWizard()
Creates a wizard for creating a new CARMA member (resource) |
|
| Method Summary | |
|---|---|
void |
addPages()
|
ResourceContainer |
getParentContainer()
Returns the parent container for the create operation |
void |
init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection currentSelection)
|
boolean |
performFinish()
|
void |
setParentContainer(ResourceContainer parent)
|
| Methods inherited from class org.eclipse.ui.wizards.newresource.BasicNewResourceWizard |
|---|
getSelection, getWorkbench, selectAndReveal |
| Methods inherited from class org.eclipse.jface.wizard.Wizard |
|---|
addPage, 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, setWindowTitle |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.wizard.IWizard |
|---|
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer |
| Field Detail |
|---|
public static final java.lang.String COPYRIGHT
| Constructor Detail |
|---|
public CARMANewMemberWizard()
| Method Detail |
|---|
public void init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection currentSelection)
init in interface org.eclipse.ui.IWorkbenchWizardinit in class org.eclipse.ui.wizards.newresource.BasicNewResourceWizardpublic void setParentContainer(ResourceContainer parent)
public ResourceContainer getParentContainer()
public void addPages()
addPages in interface org.eclipse.jface.wizard.IWizardaddPages in class org.eclipse.jface.wizard.Wizardpublic boolean performFinish()
performFinish in interface org.eclipse.jface.wizard.IWizardperformFinish in class org.eclipse.jface.wizard.Wizard
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||