|
Eclipse JDT Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.debug.ui.AbstractLaunchConfigurationTab
org.eclipse.jdt.internal.debug.ui.launcher.JavaLaunchConfigurationTab
org.eclipse.jdt.debug.ui.launchConfigurations.JavaConnectTab
A launch configuration tab that displays and edits the project associated with a remote connection and the connector used to connect to a remote VM.
This class may be instantiated. This class is not intended to be subclassed.
Field Summary | |
protected static String |
EMPTY_STRING
|
protected org.eclipse.swt.widgets.Button |
fAllowTerminateButton
|
protected org.eclipse.swt.widgets.Composite |
fArgumentComposite
|
protected Map |
fArgumentMap
|
protected IVMConnector |
fConnector
|
protected org.eclipse.swt.widgets.Combo |
fConnectorCombo
|
protected IVMConnector[] |
fConnectors
|
protected Map |
fFieldEditorMap
|
protected org.eclipse.swt.widgets.Button |
fProjButton
|
protected org.eclipse.swt.widgets.Label |
fProjLabel
|
protected org.eclipse.swt.widgets.Text |
fProjText
|
Constructor Summary | |
JavaConnectTab()
|
Method Summary | |
void |
activated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
|
protected IJavaProject |
chooseJavaProject()
Realize a Java Project selection dialog and return the first selected project, or null if there was none. |
void |
createControl(org.eclipse.swt.widgets.Composite parent)
|
void |
deactivated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
|
void |
dispose()
|
org.eclipse.swt.graphics.Image |
getImage()
|
protected IJavaProject |
getJavaProject()
Return the IJavaProject corresponding to the project name in the project name text field, or null if the text does not match a project name. |
protected String |
getLabel(String label)
Adds a colon to the label if required |
String |
getName()
|
protected IVMConnector |
getSelectedConnector()
Returns the selected connector |
protected void |
handleConnectorComboModified()
Update the argument area to show the selected connector's arguments |
protected void |
handleProjectButtonSelected()
Show a dialog that lets the user select a project. |
protected void |
initializeDefaults(IJavaElement javaElement,
org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)
Initialize default settings for the given Java element |
void |
initializeFrom(org.eclipse.debug.core.ILaunchConfiguration config)
|
protected void |
initializeHardCodedDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)
Initialize those attributes whose default values are independent of any context. |
protected void |
initializeName(IJavaElement javaElement,
org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)
Find the first instance of a type, compilation unit, class file or project in the specified element's parental hierarchy, and use this as the default name. |
boolean |
isValid(org.eclipse.debug.core.ILaunchConfiguration config)
|
void |
performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)
|
void |
propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
|
void |
setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)
|
protected void |
updateAllowTerminateFromConfig(org.eclipse.debug.core.ILaunchConfiguration config)
|
protected void |
updateConnectionFromConfig(org.eclipse.debug.core.ILaunchConfiguration config)
|
protected void |
updateProjectFromConfig(org.eclipse.debug.core.ILaunchConfiguration config)
|
Methods inherited from class org.eclipse.jdt.internal.debug.ui.launcher.JavaLaunchConfigurationTab |
entriesChanged, getContext, initializeJavaProject |
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab |
canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createVerticalSpacer, getControl, getErrorMessage, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, isDirty, launched, setAttribute, setControl, setDirty, setErrorMessage, setLaunchConfigurationDialog, setMessage, updateLaunchConfigurationDialog |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected org.eclipse.swt.widgets.Label fProjLabel
protected org.eclipse.swt.widgets.Text fProjText
protected org.eclipse.swt.widgets.Button fProjButton
protected org.eclipse.swt.widgets.Button fAllowTerminateButton
protected Map fArgumentMap
protected Map fFieldEditorMap
protected org.eclipse.swt.widgets.Composite fArgumentComposite
protected IVMConnector fConnector
protected org.eclipse.swt.widgets.Combo fConnectorCombo
protected IVMConnector[] fConnectors
protected static final String EMPTY_STRING
Constructor Detail |
public JavaConnectTab()
Method Detail |
public void createControl(org.eclipse.swt.widgets.Composite parent)
createControl
in interface org.eclipse.debug.ui.ILaunchConfigurationTab
ILaunchConfigurationTab.createControl(Composite)
protected void handleConnectorComboModified()
protected String getLabel(String label)
public void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration config)
initializeFrom
in interface org.eclipse.debug.ui.ILaunchConfigurationTab
ILaunchConfigurationTab.initializeFrom(ILaunchConfiguration)
protected void updateProjectFromConfig(org.eclipse.debug.core.ILaunchConfiguration config)
protected void updateAllowTerminateFromConfig(org.eclipse.debug.core.ILaunchConfiguration config)
protected void updateConnectionFromConfig(org.eclipse.debug.core.ILaunchConfiguration config)
public void dispose()
dispose
in interface org.eclipse.debug.ui.ILaunchConfigurationTab
ILaunchConfigurationTab.dispose()
public void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)
performApply
in interface org.eclipse.debug.ui.ILaunchConfigurationTab
ILaunchConfigurationTab.performApply(ILaunchConfigurationWorkingCopy)
protected void handleProjectButtonSelected()
protected IJavaProject chooseJavaProject()
protected IJavaProject getJavaProject()
protected void initializeDefaults(IJavaElement javaElement, org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)
public void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)
setDefaults
in interface org.eclipse.debug.ui.ILaunchConfigurationTab
ILaunchConfigurationTab.setDefaults(ILaunchConfigurationWorkingCopy)
protected void initializeName(IJavaElement javaElement, org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)
protected void initializeHardCodedDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)
public boolean isValid(org.eclipse.debug.core.ILaunchConfiguration config)
isValid
in interface org.eclipse.debug.ui.ILaunchConfigurationTab
ILaunchConfigurationTab.isValid(ILaunchConfiguration)
public String getName()
getName
in interface org.eclipse.debug.ui.ILaunchConfigurationTab
ILaunchConfigurationTab.getName()
public org.eclipse.swt.graphics.Image getImage()
getImage
in interface org.eclipse.debug.ui.ILaunchConfigurationTab
ILaunchConfigurationTab.getImage()
protected IVMConnector getSelectedConnector()
public void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
propertyChange
in interface org.eclipse.jface.util.IPropertyChangeListener
IPropertyChangeListener.propertyChange(org.eclipse.jface.util.PropertyChangeEvent)
public void activated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
activated
in interface org.eclipse.debug.ui.ILaunchConfigurationTab
public void deactivated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
deactivated
in interface org.eclipse.debug.ui.ILaunchConfigurationTab
|
Eclipse JDT Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |