org.eclipse.cdt.debug.internal.ui
Class CDebuggerPageAdapter

java.lang.Object
  extended by org.eclipse.cdt.debug.internal.ui.CDebuggerPageAdapter
All Implemented Interfaces:
ICDebuggerPage, org.eclipse.debug.ui.ILaunchConfigurationTab

public class CDebuggerPageAdapter
extends java.lang.Object
implements ICDebuggerPage

Migration from AbstractLaunchConfigurationTab to ICDebuggerPage.

Since:
3.1

Constructor Summary
CDebuggerPageAdapter(org.eclipse.debug.ui.ILaunchConfigurationTab tab)
          Constructor for CDebuggerPageAdapter.
 
Method Summary
 void activated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
           
 boolean canSave()
           
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 void deactivated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
           
 void dispose()
           
 org.eclipse.swt.widgets.Control getControl()
           
 java.lang.String getDebuggerIdentifier()
          Returns the identifier of the debugger this page is associated with.
 java.lang.String getErrorMessage()
           
 org.eclipse.swt.graphics.Image getImage()
           
 java.lang.String getMessage()
           
 java.lang.String getName()
           
 void init(java.lang.String debuggerID)
          Allows the page to initialize itself after being created.
 void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration)
           
 boolean isValid(org.eclipse.debug.core.ILaunchConfiguration launchConfig)
           
 void launched(org.eclipse.debug.core.ILaunch launch)
           
 void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
           
 void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
           
 void setLaunchConfigurationDialog(org.eclipse.debug.ui.ILaunchConfigurationDialog dialog)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDebuggerPageAdapter

public CDebuggerPageAdapter(org.eclipse.debug.ui.ILaunchConfigurationTab tab)
Constructor for CDebuggerPageAdapter.

Method Detail

init

public void init(java.lang.String debuggerID)
Description copied from interface: ICDebuggerPage
Allows the page to initialize itself after being created. This lifecycle method is called after the page has been created and before any other method of the page is called.

Specified by:
init in interface ICDebuggerPage
Parameters:
debuggerID - the identifier of the debugger this page is created for.

getDebuggerIdentifier

public java.lang.String getDebuggerIdentifier()
Description copied from interface: ICDebuggerPage
Returns the identifier of the debugger this page is associated with.

Specified by:
getDebuggerIdentifier in interface ICDebuggerPage

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Specified by:
createControl in interface org.eclipse.debug.ui.ILaunchConfigurationTab

getControl

public org.eclipse.swt.widgets.Control getControl()
Specified by:
getControl in interface org.eclipse.debug.ui.ILaunchConfigurationTab

setDefaults

public void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
Specified by:
setDefaults in interface org.eclipse.debug.ui.ILaunchConfigurationTab

initializeFrom

public void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration)
Specified by:
initializeFrom in interface org.eclipse.debug.ui.ILaunchConfigurationTab

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.debug.ui.ILaunchConfigurationTab

performApply

public void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
Specified by:
performApply in interface org.eclipse.debug.ui.ILaunchConfigurationTab

getErrorMessage

public java.lang.String getErrorMessage()
Specified by:
getErrorMessage in interface org.eclipse.debug.ui.ILaunchConfigurationTab

getMessage

public java.lang.String getMessage()
Specified by:
getMessage in interface org.eclipse.debug.ui.ILaunchConfigurationTab

isValid

public boolean isValid(org.eclipse.debug.core.ILaunchConfiguration launchConfig)
Specified by:
isValid in interface org.eclipse.debug.ui.ILaunchConfigurationTab

canSave

public boolean canSave()
Specified by:
canSave in interface org.eclipse.debug.ui.ILaunchConfigurationTab

setLaunchConfigurationDialog

public void setLaunchConfigurationDialog(org.eclipse.debug.ui.ILaunchConfigurationDialog dialog)
Specified by:
setLaunchConfigurationDialog in interface org.eclipse.debug.ui.ILaunchConfigurationTab

launched

public void launched(org.eclipse.debug.core.ILaunch launch)
Specified by:
launched in interface org.eclipse.debug.ui.ILaunchConfigurationTab

getName

public java.lang.String getName()
Specified by:
getName in interface org.eclipse.debug.ui.ILaunchConfigurationTab

getImage

public org.eclipse.swt.graphics.Image getImage()
Specified by:
getImage in interface org.eclipse.debug.ui.ILaunchConfigurationTab

activated

public void activated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
Specified by:
activated in interface org.eclipse.debug.ui.ILaunchConfigurationTab

deactivated

public void deactivated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
Specified by:
deactivated in interface org.eclipse.debug.ui.ILaunchConfigurationTab