|
||||||||||
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.emf.ecoretools.ui.wizards.NewEcoreProjectWizard
public class NewEcoreProjectWizard
Field Summary |
---|
Fields inherited from class org.eclipse.jface.wizard.Wizard |
---|
DEFAULT_IMAGE |
Constructor Summary | |
---|---|
NewEcoreProjectWizard()
|
Method Summary | |
---|---|
void |
addPages()
|
void |
init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection currentSelection)
The BasicNewResourceWizard implementation of this
IWorkbenchWizard method records the given workbench and
selection, and initializes the default banner image for the pages by
calling initializeDefaultPageImageDescriptor . |
boolean |
performFinish()
|
protected void |
selectAndReveal(org.eclipse.core.resources.IResource newResource)
Selects and reveals the newly added resource in all parts of the active workbench window's active page. |
static void |
selectAndReveal(org.eclipse.core.resources.IResource resource,
org.eclipse.ui.IWorkbenchWindow window)
Attempts to select and reveal the specified resource in all parts within the supplied workbench window's active page. |
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 |
---|
clone, equals, finalize, 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 |
Constructor Detail |
---|
public NewEcoreProjectWizard()
Method Detail |
---|
public void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection currentSelection)
BasicNewResourceWizard
implementation of this
IWorkbenchWizard
method records the given workbench and
selection, and initializes the default banner image for the pages by
calling initializeDefaultPageImageDescriptor
. Subclasses
may extend.
init
in interface org.eclipse.ui.IWorkbenchWizard
IWorkbenchWizard.init(org.eclipse.ui.IWorkbench,
org.eclipse.jface.viewers.IStructuredSelection)
public void addPages()
addPages
in interface org.eclipse.jface.wizard.IWizard
addPages
in class org.eclipse.jface.wizard.Wizard
Wizard.addPages()
public boolean performFinish()
performFinish
in interface org.eclipse.jface.wizard.IWizard
performFinish
in class org.eclipse.jface.wizard.Wizard
Wizard.performFinish()
protected void selectAndReveal(org.eclipse.core.resources.IResource newResource)
newResource
- the Resource to select and showISetSelectionTarget
public static void selectAndReveal(org.eclipse.core.resources.IResource resource, org.eclipse.ui.IWorkbenchWindow window)
Checks all parts in the active page to see if they implement
ISetSelectionTarget
, either directly or as an adapter. If
so, tells the part to select and reveal the specified resource.
resource
- the resource to be selected and revealedwindow
- the workbench window to select and reveal the resourceISetSelectionTarget
|
Copyright 2007 Anyware Technologies. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |