org.eclipse.cdt.ui.wizards
Class CNewWizard
java.lang.Object
org.eclipse.cdt.ui.wizards.CNewWizard
- Direct Known Subclasses:
- AbstractCWizard
public abstract class CNewWizard
- extends java.lang.Object
Interface to be used by extension point:
org.eclipse.cdt.managedbuilder.ui.CDTWizard
Implementors should provide 1 or more
items in "Project types" list (left pane on
the 1st page in any CDT new project wizard)
Method Summary |
abstract EntryDescriptor[] |
createItems(boolean supportedOnly,
org.eclipse.jface.wizard.IWizard wizard)
Creates tree items to be displayed in left pane. |
void |
setDependentControl(org.eclipse.swt.widgets.Composite parent,
IWizardItemsListListener page)
Implementor will be informed about widget where additional
data should be displayed. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CNewWizard
public CNewWizard()
createItems
public abstract EntryDescriptor[] createItems(boolean supportedOnly,
org.eclipse.jface.wizard.IWizard wizard)
- Creates tree items to be displayed in left pane.
Method should add 1 or more tree items,
each of them should have data object attached,
data should be lt;ICProjectTypeHandler>
- Parameters:
supportedOnly
- - whether display supported types onlywizard
- - New Project wizard to be passed to ICWizardHandler
setDependentControl
public void setDependentControl(org.eclipse.swt.widgets.Composite parent,
IWizardItemsListListener page)
- Implementor will be informed about widget where additional
data should be displayed. Normally, it is right pane in the
1st Wizard page.
- Parameters:
parent
- - composite where widgets are to be createdpage
- - reference to object which will be informed
about changes (usually 1st page in Wizard)
May be null if notification is not required
or implementor does not really support it.