public class MavenLaunchMainTab extends org.eclipse.debug.ui.AbstractLaunchConfigurationTab implements MavenLaunchConstants
Modifier and Type | Class and Description |
---|---|
private class |
MavenLaunchMainTab.BrowseDirAction |
private class |
MavenLaunchMainTab.BrowseFileAction |
private class |
MavenLaunchMainTab.BrowseWorkspaceDirAction |
private class |
MavenLaunchMainTab.BrowseWorkspaceFileAction |
private static class |
MavenLaunchMainTab.GoalsFocusListener |
private class |
MavenLaunchMainTab.VariablesAction |
Modifier and Type | Field and Description |
---|---|
private org.eclipse.swt.widgets.Button |
debugOutputButton |
private org.eclipse.swt.widgets.Button |
editPropButton |
private org.eclipse.swt.widgets.Button |
enableWorkspaceResolution |
protected org.eclipse.swt.widgets.Text |
goalsAfterCleanText |
protected org.eclipse.swt.widgets.Text |
goalsAutoBuildText |
protected org.eclipse.swt.widgets.Text |
goalsCleanText |
protected org.eclipse.swt.widgets.Text |
goalsManualBuildText |
protected org.eclipse.swt.widgets.Text |
goalsText |
static java.lang.String |
ID_EXTERNAL_TOOLS_LAUNCH_GROUP |
private static org.slf4j.Logger |
log |
private org.eclipse.swt.widgets.Button |
nonRecursiveButton |
private org.eclipse.swt.widgets.Button |
offlineButton |
protected org.eclipse.swt.widgets.Text |
pomDirNameText |
protected org.eclipse.swt.widgets.Text |
profilesText |
protected org.eclipse.swt.widgets.Table |
propsTable |
private org.eclipse.swt.widgets.Button |
removePropButton |
private MavenRuntimeSelector |
runtimeSelector |
private org.eclipse.swt.widgets.Button |
skipTestsButton |
private org.eclipse.swt.widgets.Combo |
threadsCombo |
private org.eclipse.swt.widgets.Button |
updateSnapshotsButton |
private org.eclipse.swt.widgets.Text |
userSettings |
ATTR_DEBUG_OUTPUT, ATTR_DISABLED_EXTENSIONS, ATTR_GOALS, ATTR_GOALS_AFTER_CLEAN, ATTR_GOALS_AUTO_BUILD, ATTR_GOALS_CLEAN, ATTR_GOALS_MANUAL_BUILD, ATTR_NON_RECURSIVE, ATTR_OFFLINE, ATTR_POM_DIR, ATTR_PROFILES, ATTR_PROPERTIES, ATTR_RUNTIME, ATTR_SKIP_TESTS, ATTR_THREADS, ATTR_UPDATE_SNAPSHOTS, ATTR_USER_SETTINGS, ATTR_WORKSPACE_RESOLUTION, BUILDER_CONFIGURATION_TYPE_ID, LAUNCH_CONFIGURATION_TYPE_ID, PLUGIN_ID
Constructor and Description |
---|
MavenLaunchMainTab() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addProperty() |
void |
createControl(org.eclipse.swt.widgets.Composite parent) |
(package private) void |
editProperty(java.lang.String name,
java.lang.String value) |
(package private) void |
entriesChanged() |
private boolean |
getAttribute(org.eclipse.debug.core.ILaunchConfiguration configuration,
java.lang.String name,
boolean defaultValue) |
private int |
getAttribute(org.eclipse.debug.core.ILaunchConfiguration configuration,
java.lang.String name,
int defaultValue) |
private java.lang.String |
getAttribute(org.eclipse.debug.core.ILaunchConfiguration configuration,
java.lang.String name,
java.lang.String defaultValue) |
org.eclipse.swt.graphics.Image |
getImage() |
private MavenPropertyDialog |
getMavenPropertyDialog(java.lang.String title,
java.lang.String initName,
java.lang.String initValue) |
java.lang.String |
getName() |
protected org.eclipse.swt.widgets.Shell |
getShell() |
void |
initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration) |
protected boolean |
isDirectoryExist(java.lang.String name) |
boolean |
isValid(org.eclipse.debug.core.ILaunchConfiguration launchConfig) |
protected static java.lang.String |
nvl(java.lang.String str,
java.lang.String nullValue) |
void |
performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) |
void |
setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) |
activated, canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, deactivated, dispose, getControl, getErrorMessage, getHelpContextId, getId, getLaunchConfigurationDialog, getLaunchManager, getMessage, getUpdateJobDelay, getWarningMessage, isDirty, launched, scheduleUpdateJob, setAttribute, setControl, setDirty, setErrorMessage, setHelpContextId, setLaunchConfigurationDialog, setMessage, setWarningMessage, updateLaunchConfigurationDialog
private static final org.slf4j.Logger log
public static final java.lang.String ID_EXTERNAL_TOOLS_LAUNCH_GROUP
protected org.eclipse.swt.widgets.Text pomDirNameText
protected org.eclipse.swt.widgets.Text goalsText
protected org.eclipse.swt.widgets.Text goalsAutoBuildText
protected org.eclipse.swt.widgets.Text goalsManualBuildText
protected org.eclipse.swt.widgets.Text goalsCleanText
protected org.eclipse.swt.widgets.Text goalsAfterCleanText
protected org.eclipse.swt.widgets.Text profilesText
protected org.eclipse.swt.widgets.Table propsTable
private org.eclipse.swt.widgets.Button offlineButton
private org.eclipse.swt.widgets.Button updateSnapshotsButton
private org.eclipse.swt.widgets.Button debugOutputButton
private org.eclipse.swt.widgets.Button skipTestsButton
private org.eclipse.swt.widgets.Button nonRecursiveButton
private org.eclipse.swt.widgets.Button enableWorkspaceResolution
private org.eclipse.swt.widgets.Button removePropButton
private org.eclipse.swt.widgets.Button editPropButton
private org.eclipse.swt.widgets.Combo threadsCombo
private MavenRuntimeSelector runtimeSelector
private org.eclipse.swt.widgets.Text userSettings
public org.eclipse.swt.graphics.Image getImage()
getImage
in interface org.eclipse.debug.ui.ILaunchConfigurationTab
getImage
in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
public void createControl(org.eclipse.swt.widgets.Composite parent)
createControl
in interface org.eclipse.debug.ui.ILaunchConfigurationTab
protected org.eclipse.swt.widgets.Shell getShell()
getShell
in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
void addProperty()
void editProperty(java.lang.String name, java.lang.String value)
private MavenPropertyDialog getMavenPropertyDialog(java.lang.String title, java.lang.String initName, java.lang.String initValue)
public void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration)
initializeFrom
in interface org.eclipse.debug.ui.ILaunchConfigurationTab
protected static java.lang.String nvl(java.lang.String str, java.lang.String nullValue)
private java.lang.String getAttribute(org.eclipse.debug.core.ILaunchConfiguration configuration, java.lang.String name, java.lang.String defaultValue)
private boolean getAttribute(org.eclipse.debug.core.ILaunchConfiguration configuration, java.lang.String name, boolean defaultValue)
private int getAttribute(org.eclipse.debug.core.ILaunchConfiguration configuration, java.lang.String name, int defaultValue)
public void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
setDefaults
in interface org.eclipse.debug.ui.ILaunchConfigurationTab
public void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
performApply
in interface org.eclipse.debug.ui.ILaunchConfigurationTab
public java.lang.String getName()
getName
in interface org.eclipse.debug.ui.ILaunchConfigurationTab
public boolean isValid(org.eclipse.debug.core.ILaunchConfiguration launchConfig)
isValid
in interface org.eclipse.debug.ui.ILaunchConfigurationTab
isValid
in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
protected boolean isDirectoryExist(java.lang.String name)
void entriesChanged()