org.eclipse.cdt.debug.ui.importexecutable
Class AbstractImportExecutableWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
org.eclipse.cdt.debug.ui.importexecutable.AbstractImportExecutableWizard
- All Implemented Interfaces:
- org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard
- Direct Known Subclasses:
- ImportExecutableWizard
public abstract class AbstractImportExecutableWizard
- extends org.eclipse.jface.wizard.Wizard
- implements org.eclipse.ui.INewWizard
Fields inherited from class org.eclipse.jface.wizard.Wizard |
DEFAULT_IMAGE |
Methods inherited from class org.eclipse.jface.wizard.Wizard |
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.wizard.IWizard |
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer |
DEBUG_PROJECT_ID
public static final java.lang.String DEBUG_PROJECT_ID
- See Also:
- Constant Field Values
AbstractImportExecutableWizard
public AbstractImportExecutableWizard()
addBinaryParsers
public void addBinaryParsers(org.eclipse.core.resources.IProject newProject)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
addPages
public void addPages()
- Specified by:
addPages
in interface org.eclipse.jface.wizard.IWizard
- Overrides:
addPages
in class org.eclipse.jface.wizard.Wizard
createCProjectForExecutable
public org.eclipse.core.resources.IProject createCProjectForExecutable(java.lang.String projectName)
throws org.eclipse.core.runtime.OperationCanceledException,
org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.OperationCanceledException
org.eclipse.core.runtime.CoreException
createLaunchConfiguration
public void createLaunchConfiguration(org.eclipse.cdt.core.model.ICProject targetProject)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
getExecutableListLabel
public abstract java.lang.String getExecutableListLabel()
getImportExecutablePage
public ImportExecutablePageOne getImportExecutablePage()
getImportExecutablePage2
public ImportExecutablePageTwo getImportExecutablePage2()
getNextPage
public org.eclipse.jface.wizard.IWizardPage getNextPage(org.eclipse.jface.wizard.IWizardPage page)
- Specified by:
getNextPage
in interface org.eclipse.jface.wizard.IWizard
- Overrides:
getNextPage
in class org.eclipse.jface.wizard.Wizard
getPageOneDescription
public abstract java.lang.String getPageOneDescription()
getPageOneTitle
public abstract java.lang.String getPageOneTitle()
getSelectedLaunchConfigurationType
public org.eclipse.debug.core.ILaunchConfigurationType getSelectedLaunchConfigurationType()
getDefaultWindowTitle
public java.lang.String getDefaultWindowTitle()
init
public void init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection selection)
- Specified by:
init
in interface org.eclipse.ui.IWorkbenchWizard
performFinish
public boolean performFinish()
- Specified by:
performFinish
in interface org.eclipse.jface.wizard.IWizard
- Specified by:
performFinish
in class org.eclipse.jface.wizard.Wizard
setConfigurationDefaults
public void setConfigurationDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config,
org.eclipse.cdt.core.model.ICProject project)
- Subclasses should override this method to modify the launch configuration
created by the wizard. The default implementation sets up the project
and program names.
- Parameters:
config
- the launch configuration created by the wizardtargetProject
-
setupFileDialog
public abstract void setupFileDialog(org.eclipse.swt.widgets.FileDialog dialog)
setupProject
public void setupProject(org.eclipse.core.resources.IProject newProject)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
supportsConfigurationType
public abstract boolean supportsConfigurationType(org.eclipse.debug.core.ILaunchConfigurationType type)
- The wizard will only display launch configuration types that you support.
This method will be called for each available type.
- Parameters:
type
- -
the type of launch configuration
- Returns:
- - if the wizard supports this launch configuration type
userSelectsBinaryParser
public boolean userSelectsBinaryParser()
- Return true if you want the wizard to ask the user to select
the binary parser. Otherwise it will only use the default one.
A subclass can specify the default parser by overriding
getDefaultBinaryParserID.
- Returns:
- - If the binary parser selection combo should be displayed.
getDefaultBinaryParserIDs
public java.lang.String[] getDefaultBinaryParserIDs()
- Get the default binary parser the wizard will use to determine if
single file selections are valid and to filter the list for multi
file selection.
- Returns: