PTP
Release 7.0

org.eclipse.ptp.etfw.ui
Class AbstractToolConfigurationTab

java.lang.Object
  extended by org.eclipse.debug.ui.AbstractLaunchConfigurationTab
      extended by org.eclipse.ptp.etfw.ui.AbstractToolConfigurationTab
All Implemented Interfaces:
org.eclipse.debug.ui.ILaunchConfigurationTab, org.eclipse.debug.ui.ILaunchConfigurationTab2

public abstract class AbstractToolConfigurationTab
extends org.eclipse.debug.ui.AbstractLaunchConfigurationTab

This acts as the basis for new custom ETFw launch configuration tabs

Since:
7.0

Constructor Summary
AbstractToolConfigurationTab()
           
 
Method Summary
protected static org.eclipse.swt.layout.GridLayout createGridLayout(int columns, boolean isEqual, int mh, int mw)
          Produces a new GridLayout based on provided arguments
protected  java.lang.String getFieldContent(java.lang.String text)
          Treats empty strings as null
 java.lang.String getName()
           
protected static org.eclipse.swt.layout.GridData spanGridData(int style, int space)
          Creates a new GridData based on provided style and space arguments
 
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
activated, canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, deactivated, dispose, getControl, getErrorMessage, getHelpContextId, getId, getImage, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, getUpdateJobDelay, getWarningMessage, isDirty, isValid, launched, scheduleUpdateJob, setAttribute, setControl, setDirty, setErrorMessage, setHelpContextId, setLaunchConfigurationDialog, setMessage, setWarningMessage, updateLaunchConfigurationDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.debug.ui.ILaunchConfigurationTab
createControl, initializeFrom, performApply, setDefaults
 

Constructor Detail

AbstractToolConfigurationTab

public AbstractToolConfigurationTab()
Method Detail

createGridLayout

protected static org.eclipse.swt.layout.GridLayout createGridLayout(int columns,
                                                                    boolean isEqual,
                                                                    int mh,
                                                                    int mw)
Produces a new GridLayout based on provided arguments

Parameters:
columns -
isEqual -
mh -
mw -
Returns:

spanGridData

protected static org.eclipse.swt.layout.GridData spanGridData(int style,
                                                              int space)
Creates a new GridData based on provided style and space arguments

Parameters:
style -
space -
Returns:

getFieldContent

protected java.lang.String getFieldContent(java.lang.String text)
Treats empty strings as null

Parameters:
text -
Returns:
Contents of text, or null if text is the empty string

getName

public java.lang.String getName()

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.