|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.jface.action.Action | +--org.eclipse.ui.actions.CreateProjectAction
Standard action for launching the new project creation wizard.
This class may be instantiated and subclassed by clients.
Field Summary |
Fields inherited from interface org.eclipse.jface.action.IAction |
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, CHECKED, DESCRIPTION, ENABLED, IMAGE, TEXT, TOOL_TIP_TEXT |
Constructor Summary | |
CreateProjectAction(IWorkbenchWindow window)
Deprecated. Creates a new action for launching the new project selection wizard. |
Method Summary | |
protected IStructuredSelection |
getInitialSelection()
Deprecated. Returns the selection to initialized the wizard with |
void |
run()
Deprecated. The default implementation of this IAction method
does nothing. |
void |
setInitialProjectCapabilities(String[] ids)
Deprecated. Sets the initial project capabilities to be selected. |
void |
setInitialProjectName(String name)
Deprecated. Sets the initial project name. |
void |
setInitialSelectedCategories(String[] ids)
Deprecated. Sets the initial categories to be selected. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CreateProjectAction(IWorkbenchWindow window)
window
- the workbench window to query the current
selection and shell for opening the wizard.Method Detail |
protected IStructuredSelection getInitialSelection()
public void setInitialSelectedCategories(String[] ids)
ids
- initial category ids to selectpublic void setInitialProjectCapabilities(String[] ids)
ids
- initial project capability ids to selectpublic void setInitialProjectName(String name)
name
- initial project namepublic void run()
Action
IAction
method
does nothing. Subclasses should override this method
if they do not need information from the triggering event,
or override run(Event)
if they do.
run
in interface IAction
run
in class Action
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |