|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.internal.ui.dialogs.cpaths.CPathContainerDescriptor.PathEntryContainerPageAdapter
public static class CPathContainerDescriptor.PathEntryContainerPageAdapter
Adapter class to adapter deprecated ICPathContainerPage to new IPathEntryContainerPage
Method Summary | |
---|---|
boolean |
canFlipToNextPage()
Deprecated. |
static IPathEntryContainerPage |
createAdapter(java.lang.Object elem)
Deprecated. |
void |
createControl(org.eclipse.swt.widgets.Composite parent)
Deprecated. |
void |
dispose()
Deprecated. |
boolean |
finish()
Deprecated. Called when the path container wizard is closed by selecting the finish button. |
org.eclipse.swt.widgets.Control |
getControl()
Deprecated. |
java.lang.String |
getDescription()
Deprecated. |
java.lang.String |
getErrorMessage()
Deprecated. |
org.eclipse.swt.graphics.Image |
getImage()
Deprecated. |
java.lang.String |
getMessage()
Deprecated. |
java.lang.String |
getName()
Deprecated. |
org.eclipse.cdt.core.model.IContainerEntry[] |
getNewContainers()
Deprecated. Method IPathEntryContainerPage.getNewContainers() is called to get the the newly added containers. |
org.eclipse.jface.wizard.IWizardPage |
getNextPage()
Deprecated. |
org.eclipse.jface.wizard.IWizardPage |
getPreviousPage()
Deprecated. |
java.lang.String |
getTitle()
Deprecated. |
org.eclipse.jface.wizard.IWizard |
getWizard()
Deprecated. |
void |
initialize(org.eclipse.cdt.core.model.ICProject project,
org.eclipse.cdt.core.model.IPathEntry[] currentEntries)
Deprecated. Method initialize() is called before ICPathContainerPage.setSelection
to give additional information about the context the path container entry is configured in. |
boolean |
isPageComplete()
Deprecated. |
void |
performHelp()
Deprecated. |
void |
setDescription(java.lang.String description)
Deprecated. |
void |
setImageDescriptor(org.eclipse.jface.resource.ImageDescriptor image)
Deprecated. |
void |
setPreviousPage(org.eclipse.jface.wizard.IWizardPage page)
Deprecated. |
void |
setSelection(org.eclipse.cdt.core.model.IContainerEntry containerEntry)
Deprecated. Sets the path container entry to be edited or null
if a new entry should be created. |
void |
setTitle(java.lang.String title)
Deprecated. |
void |
setVisible(boolean visible)
Deprecated. |
void |
setWizard(org.eclipse.jface.wizard.IWizard newWizard)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static IPathEntryContainerPage createAdapter(java.lang.Object elem)
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 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 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
public void createControl(org.eclipse.swt.widgets.Composite parent)
createControl
in interface org.eclipse.jface.dialogs.IDialogPage
public boolean canFlipToNextPage()
canFlipToNextPage
in interface org.eclipse.jface.wizard.IWizardPage
public java.lang.String getName()
getName
in interface org.eclipse.jface.wizard.IWizardPage
public org.eclipse.jface.wizard.IWizardPage getNextPage()
getNextPage
in interface org.eclipse.jface.wizard.IWizardPage
public org.eclipse.jface.wizard.IWizardPage getPreviousPage()
getPreviousPage
in interface org.eclipse.jface.wizard.IWizardPage
public org.eclipse.jface.wizard.IWizard getWizard()
getWizard
in interface org.eclipse.jface.wizard.IWizardPage
public boolean isPageComplete()
isPageComplete
in interface org.eclipse.jface.wizard.IWizardPage
public void setPreviousPage(org.eclipse.jface.wizard.IWizardPage page)
setPreviousPage
in interface org.eclipse.jface.wizard.IWizardPage
public void setWizard(org.eclipse.jface.wizard.IWizard newWizard)
setWizard
in interface org.eclipse.jface.wizard.IWizardPage
public void dispose()
dispose
in interface org.eclipse.jface.dialogs.IDialogPage
public org.eclipse.swt.widgets.Control getControl()
getControl
in interface org.eclipse.jface.dialogs.IDialogPage
public java.lang.String getDescription()
getDescription
in interface org.eclipse.jface.dialogs.IDialogPage
public java.lang.String getErrorMessage()
getErrorMessage
in interface org.eclipse.jface.dialogs.IDialogPage
public org.eclipse.swt.graphics.Image getImage()
getImage
in interface org.eclipse.jface.dialogs.IDialogPage
public java.lang.String getMessage()
getMessage
in interface org.eclipse.jface.dialogs.IDialogPage
public java.lang.String getTitle()
getTitle
in interface org.eclipse.jface.dialogs.IDialogPage
public void performHelp()
performHelp
in interface org.eclipse.jface.dialogs.IDialogPage
public void setDescription(java.lang.String description)
setDescription
in interface org.eclipse.jface.dialogs.IDialogPage
public void setImageDescriptor(org.eclipse.jface.resource.ImageDescriptor image)
setImageDescriptor
in interface org.eclipse.jface.dialogs.IDialogPage
public void setTitle(java.lang.String title)
setTitle
in interface org.eclipse.jface.dialogs.IDialogPage
public void setVisible(boolean visible)
setVisible
in interface org.eclipse.jface.dialogs.IDialogPage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |