|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.wizard.Wizard
org.topcased.ui.navigator.wizards.NewTopcasedProjectWizard
public class NewTopcasedProjectWizard
Creation 8 janv. 07
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_MODELS_DIR
Default Models directory used to display the model files |
static java.lang.String |
DEFAULT_RULESETS_DIR
Default RuleSets directory used to display the ruleSet files |
Fields inherited from class org.eclipse.jface.wizard.Wizard |
---|
DEFAULT_IMAGE |
Constructor Summary | |
---|---|
NewTopcasedProjectWizard()
|
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 |
Field Detail |
---|
public static final java.lang.String DEFAULT_MODELS_DIR
public static final java.lang.String DEFAULT_RULESETS_DIR
Constructor Detail |
---|
public NewTopcasedProjectWizard()
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
|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.