|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.cdt.internal.ui.wizards.NewElementWizardPage
org.eclipse.cdt.internal.ui.dialogs.cpaths.CPathContainerDefaultPage
public class CPathContainerDefaultPage
Field Summary |
---|
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
CPathContainerDefaultPage()
Constructor for ClasspathContainerDefaultPage. |
Method Summary | |
---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
|
boolean |
finish()
Called when the path container wizard is closed by selecting the finish button. |
org.eclipse.cdt.core.model.IContainerEntry[] |
getNewContainers()
Method IPathEntryContainerPage.getNewContainers() is called to get the the newly added containers. |
void |
initialize(org.eclipse.cdt.core.model.ICProject project,
org.eclipse.cdt.core.model.IPathEntry[] currentEntries)
Method initialize() is called before ICPathContainerPage.setSelection
to give additional information about the context the path container entry is configured in. |
void |
setSelection(org.eclipse.cdt.core.model.IContainerEntry containerEntry)
Sets the path container entry to be edited or null
if a new entry should be created. |
Methods inherited from class org.eclipse.cdt.internal.ui.wizards.NewElementWizardPage |
---|
setVisible |
Methods inherited from class org.eclipse.jface.wizard.WizardPage |
---|
canFlipToNextPage, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString |
Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
---|
dispose, getControl, getDescription, getErrorMessage, getMessage, getMessageType, getTitle, performHelp, setMessage |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.wizard.IWizardPage |
---|
canFlipToNextPage, getName, getNextPage, getPreviousPage, getWizard, isPageComplete, setPreviousPage, setWizard |
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
---|
dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
Constructor Detail |
---|
public CPathContainerDefaultPage()
Method Detail |
---|
public void createControl(org.eclipse.swt.widgets.Composite parent)
createControl
in interface org.eclipse.jface.dialogs.IDialogPage
public boolean finish()
IPathEntryContainerPage
finish
in interface IPathEntryContainerPage
true
, the wizard will close.public org.eclipse.cdt.core.model.IContainerEntry[] getNewContainers()
IPathEntryContainerPage
IPathEntryContainerPage.getNewContainers()
is called to get the the newly added containers.
getNewContainers
in interface IPathEntryContainerPage
public void initialize(org.eclipse.cdt.core.model.ICProject project, org.eclipse.cdt.core.model.IPathEntry[] currentEntries)
IPathEntryContainerPage
initialize()
is called before ICPathContainerPage.setSelection
to give additional information about the context the path container entry is configured in. This information
only reflects the underlying dialogs current selection state. The user still can make changes after the
the path container pages has been closed or decide to cancel the operation.
initialize
in interface IPathEntryContainerPage
project
- - The project the new or modified entry is added to. The project does not have to exist.
Project can be null
.currentEntries
- - The path entries currently selected to be set as the projects path. This can also
include the entry to be edited.public void setSelection(org.eclipse.cdt.core.model.IContainerEntry containerEntry)
IPathEntryContainerPage
null
if a new entry should be created.
setSelection
in interface IPathEntryContainerPage
containerEntry
- the path entry to edit or null
.
If unequals null
then the path entry must be of
kind IPathEntry.CDT_CONTAINER
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |