org.eclipse.cdt.internal.ui.dialogs.cpaths
Class CPathContainerDescriptor.PathEntryContainerPageAdapter

java.lang.Object
  extended by org.eclipse.cdt.internal.ui.dialogs.cpaths.CPathContainerDescriptor.PathEntryContainerPageAdapter
All Implemented Interfaces:
IPathEntryContainerPage, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.wizard.IWizardPage
Enclosing class:
CPathContainerDescriptor

Deprecated.

public static class CPathContainerDescriptor.PathEntryContainerPageAdapter
extends java.lang.Object
implements org.eclipse.jface.wizard.IWizardPage, IPathEntryContainerPage

Adapter class to adapter deprecated ICPathContainerPage to new IPathEntryContainerPage

Author:
Dave

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

createAdapter

public static IPathEntryContainerPage createAdapter(java.lang.Object elem)
Deprecated. 

initialize

public void initialize(org.eclipse.cdt.core.model.ICProject project,
                       org.eclipse.cdt.core.model.IPathEntry[] currentEntries)
Deprecated. 
Description copied from interface: IPathEntryContainerPage
Method 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.

Specified by:
initialize in interface IPathEntryContainerPage
Parameters:
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.

finish

public boolean finish()
Deprecated. 
Description copied from interface: IPathEntryContainerPage
Called when the path container wizard is closed by selecting the finish button. Implementers typically override this method to store the page result (new/changed path entry returned in getSelection) into its model.

Specified by:
finish in interface IPathEntryContainerPage
Returns:
if the operation was succesful. Only when returned true, the wizard will close.

getNewContainers

public org.eclipse.cdt.core.model.IContainerEntry[] getNewContainers()
Deprecated. 
Description copied from interface: IPathEntryContainerPage
Method IPathEntryContainerPage.getNewContainers() is called to get the the newly added containers.

Specified by:
getNewContainers in interface IPathEntryContainerPage
Returns:
the path entries created on this page.

setSelection

public void setSelection(org.eclipse.cdt.core.model.IContainerEntry containerEntry)
Deprecated. 
Description copied from interface: IPathEntryContainerPage
Sets the path container entry to be edited or null if a new entry should be created.

Specified by:
setSelection in interface IPathEntryContainerPage
Parameters:
containerEntry - the path entry to edit or null. If unequals null then the path entry must be of kind IPathEntry.CDT_CONTAINER

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Deprecated. 
Specified by:
createControl in interface org.eclipse.jface.dialogs.IDialogPage

canFlipToNextPage

public boolean canFlipToNextPage()
Deprecated. 
Specified by:
canFlipToNextPage in interface org.eclipse.jface.wizard.IWizardPage

getName

public java.lang.String getName()
Deprecated. 
Specified by:
getName in interface org.eclipse.jface.wizard.IWizardPage

getNextPage

public org.eclipse.jface.wizard.IWizardPage getNextPage()
Deprecated. 
Specified by:
getNextPage in interface org.eclipse.jface.wizard.IWizardPage

getPreviousPage

public org.eclipse.jface.wizard.IWizardPage getPreviousPage()
Deprecated. 
Specified by:
getPreviousPage in interface org.eclipse.jface.wizard.IWizardPage

getWizard

public org.eclipse.jface.wizard.IWizard getWizard()
Deprecated. 
Specified by:
getWizard in interface org.eclipse.jface.wizard.IWizardPage

isPageComplete

public boolean isPageComplete()
Deprecated. 
Specified by:
isPageComplete in interface org.eclipse.jface.wizard.IWizardPage

setPreviousPage

public void setPreviousPage(org.eclipse.jface.wizard.IWizardPage page)
Deprecated. 
Specified by:
setPreviousPage in interface org.eclipse.jface.wizard.IWizardPage

setWizard

public void setWizard(org.eclipse.jface.wizard.IWizard newWizard)
Deprecated. 
Specified by:
setWizard in interface org.eclipse.jface.wizard.IWizardPage

dispose

public void dispose()
Deprecated. 
Specified by:
dispose in interface org.eclipse.jface.dialogs.IDialogPage

getControl

public org.eclipse.swt.widgets.Control getControl()
Deprecated. 
Specified by:
getControl in interface org.eclipse.jface.dialogs.IDialogPage

getDescription

public java.lang.String getDescription()
Deprecated. 
Specified by:
getDescription in interface org.eclipse.jface.dialogs.IDialogPage

getErrorMessage

public java.lang.String getErrorMessage()
Deprecated. 
Specified by:
getErrorMessage in interface org.eclipse.jface.dialogs.IDialogPage

getImage

public org.eclipse.swt.graphics.Image getImage()
Deprecated. 
Specified by:
getImage in interface org.eclipse.jface.dialogs.IDialogPage

getMessage

public java.lang.String getMessage()
Deprecated. 
Specified by:
getMessage in interface org.eclipse.jface.dialogs.IDialogPage

getTitle

public java.lang.String getTitle()
Deprecated. 
Specified by:
getTitle in interface org.eclipse.jface.dialogs.IDialogPage

performHelp

public void performHelp()
Deprecated. 
Specified by:
performHelp in interface org.eclipse.jface.dialogs.IDialogPage

setDescription

public void setDescription(java.lang.String description)
Deprecated. 
Specified by:
setDescription in interface org.eclipse.jface.dialogs.IDialogPage

setImageDescriptor

public void setImageDescriptor(org.eclipse.jface.resource.ImageDescriptor image)
Deprecated. 
Specified by:
setImageDescriptor in interface org.eclipse.jface.dialogs.IDialogPage

setTitle

public void setTitle(java.lang.String title)
Deprecated. 
Specified by:
setTitle in interface org.eclipse.jface.dialogs.IDialogPage

setVisible

public void setVisible(boolean visible)
Deprecated. 
Specified by:
setVisible in interface org.eclipse.jface.dialogs.IDialogPage