|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Defines basic convenience methods used to compose panes consisting of several sub parts.
Sub parts can either be native swt widgets, jface viewers or complex panes.
| Method Summary | |
org.eclipse.swt.widgets.Button |
addCheckBox(java.lang.String pCheckBoxText)
Adds a check box. |
org.eclipse.swt.widgets.Button |
addCheckBox(java.lang.String pCheckBoxText,
boolean pCheckBoxValue)
Adds a check box. |
org.eclipse.jface.viewers.CheckboxTableViewer |
addCheckboxTableViewer(boolean pEnableMultipleSelection)
Adds a table viewer where each table row can be checked. |
org.eclipse.jface.viewers.CheckboxTreeViewer |
addCheckboxTreeViewer(boolean pEnableMultipleSelection)
Adds a tree viewer where each node can be checked. |
org.eclipse.swt.widgets.Combo |
addComboBox()
Adds an empty combo box. |
org.eclipse.swt.widgets.Combo |
addComboBox(java.lang.String[] pItems)
Adds an combo box. |
org.eclipse.swt.widgets.Combo |
addComboBox(java.lang.String[] pItems,
boolean pReadOnly)
Adds an combo box. |
org.eclipse.swt.widgets.Combo |
addComboBox(java.lang.String[] pItems,
java.lang.String pDefaultText)
Adds an combo box. |
org.eclipse.swt.widgets.Combo |
addComboBox(java.lang.String[] pItems,
java.lang.String pDefaultText,
boolean pReadOnly)
Adds an combo box. |
IGridLayoutPane |
addGridLayoutPane(int pNumOfColumns)
Adds an IGridLayoutPane implementation as subcomponent. |
IGridLayoutPane |
addGridLayoutPane(int pNumOfColumns,
boolean pEqualSizedFlag)
Adds an IGridLayoutPane implementation as subcomponent. |
IGridLayoutPane |
addGridLayoutPane(java.lang.String pGroupTitle,
int pNumOfColumns)
Adds an IGridLayoutPane implementation which acts as group (i.e. contains a border and title) as subcomponent. |
IGridLayoutPane |
addGridLayoutPane(java.lang.String pGroupTitle,
int pNumOfColumns,
boolean pEqualSizedFlag)
Adds an IGridLayoutPane implementation which acts as group (i.e. contains a border and title) as subcomponent. |
org.eclipse.swt.widgets.Button[] |
addHorizontalRadioButtonGroup(java.lang.String[] pRadioButtonText)
Adds a horziontal radio button group. |
org.eclipse.swt.widgets.Button[] |
addHorizontalRadioButtonGroup(java.lang.String pTitle,
java.lang.String[] pRadioButtonText)
Adds a horziontal radio button group with an enclosing frame (and title). |
org.eclipse.swt.widgets.Button[] |
addHorizontalRadioButtonGroup(java.lang.String pTitle,
java.lang.String[] pRadioButtonText,
int pSelectedItem)
Adds a horziontal radio button group with an enclosing frame (and title). |
ISashPane |
addHorizontalSashPane()
Adds an ISashPane implementation (horizontally aligned) as subcomponent. |
IToolBarPane |
addHorizontalToolBar()
Adds an IToolBarPane implementation (horizontally aligned) as subcomponent. |
org.eclipse.swt.widgets.Label |
addImage(org.eclipse.swt.graphics.Image pImage)
Adds an image. |
org.eclipse.swt.widgets.Label |
addImage(org.eclipse.swt.graphics.Image pImage,
boolean pBorderFlag)
Adds an image. |
org.eclipse.swt.widgets.List |
addList(java.lang.String[] pItems)
Adds a simple list widget. |
org.eclipse.swt.widgets.List |
addList(java.lang.String[] pItems,
boolean pEnableMultipleSelection)
Adds a simple list widget. |
org.eclipse.jface.viewers.ListViewer |
addListViewer(boolean pEnableMultipleSelection)
Adds a list viewer. |
void |
addPlaceholder()
Adds a placeholder. |
org.eclipse.swt.widgets.Button |
addPushButton(org.eclipse.swt.graphics.Image pButtonImage)
Adds a pushbutton. |
org.eclipse.swt.widgets.Button |
addPushButton(org.eclipse.swt.graphics.Image pButtonImage,
java.lang.String pButtonTooltip)
Adds a pushbutton. |
org.eclipse.swt.widgets.Button |
addPushButton(java.lang.String pButtonText)
Adds a pushbutton. |
org.eclipse.swt.widgets.Button |
addPushButton(java.lang.String pButtonText,
java.lang.String pButtonTooltip)
Adds a pushbutton. |
org.eclipse.swt.widgets.Button |
addRadioButton(org.eclipse.swt.graphics.Image pButtonImage)
Adds a radiobutton. |
org.eclipse.swt.widgets.Button |
addRadioButton(org.eclipse.swt.graphics.Image pButtonImage,
java.lang.String pButtonTooltip)
Adds a radiobutton. |
org.eclipse.swt.widgets.Button |
addRadioButton(java.lang.String pButtonText)
Adds a radiobutton. |
org.eclipse.swt.widgets.Button |
addRadioButton(java.lang.String pButtonText,
java.lang.String pButtonTooltip)
Adds a radiobutton. |
ISapTableViewer |
addSapTableViewer(javax.swing.table.TableModel pTableModel)
Adds an ISapTableViewer implementation as subcomponent. |
ISapTableViewer |
addSapTableViewer(javax.swing.table.TableModel pTableModel,
boolean pSingleSelection)
Adds an ISapTableViewer implementation as subcomponent. |
ISapTreeViewer |
addSapTreeViewer(javax.swing.tree.TreeModel pTreeModel)
Adds an ISapTreeViewer implementation as subcomponent. |
ISapTreeViewer |
addSapTreeViewer(javax.swing.tree.TreeModel pTreeModel,
SapTreeLabelProvider pTreeLabelProvider)
Adds an ISapTreeViewer implementation as subcomponent. |
ISimplePane |
addSimplePane()
Adds an ISiplePane implementation as subcomponent. |
ISimplePane |
addSimplePane(java.lang.String pTitle)
Adds an ISiplePane implementation as subcomponent. |
ITabbedPane |
addTabbedPane()
Adds an ITabbedPane implementation as subcomponent. |
org.eclipse.jface.viewers.TableTreeViewer |
addTableTreeViewer(boolean pEnableMultipleSelection)
Adds a table tree viewer which shows a tree in a table. |
org.eclipse.jface.viewers.TableViewer |
addTableViewer(boolean pEnableMultipleSelection)
Adds a table viewer. It can be configured with label provider and/or content provider. |
org.eclipse.jface.viewers.TableViewer |
addTableViewer(boolean pEnableMultipleSelection,
ITableColumn[] columns)
Adds a table viewer. |
org.eclipse.jface.viewers.TableViewer |
addTableViewer(boolean pEnableMultipleSelection,
java.lang.String[] columnLabels)
Adds a table viewer. |
org.eclipse.jface.viewers.TableViewer |
addTableViewer(boolean pEnableMultipleSelection,
java.lang.String[] columnLabels,
int[] columnWidths)
Adds a table viewer. |
org.eclipse.swt.widgets.Text |
addTextField(boolean pReadOnly)
Adds a simple text field (single line). |
org.eclipse.swt.widgets.Text |
addTextField(java.lang.String pDefaultText)
Adds a simple text field (single line). |
org.eclipse.swt.widgets.Text |
addTextField(java.lang.String pDefaultText,
boolean pReadOnly)
Adds a simple text field (single line) which can be set read only. |
org.eclipse.swt.widgets.Label |
addTextLabel(java.lang.String pLabelText)
Adds a simple text label. |
org.eclipse.swt.widgets.Text |
addTextPane(java.lang.String pDefaultText)
Adds a text pane (multi lines). |
org.eclipse.swt.widgets.Text |
addTextPane(java.lang.String pDefaultText,
boolean pReadOnly)
Adds a text pane (multi lines) which can be set read only. |
org.eclipse.swt.widgets.Text |
addTextPane(java.lang.String pDefaultText,
boolean pReadOnly,
boolean pWordWrap)
Adds a text pane (multi lines) which can be set read only. |
org.eclipse.jface.text.TextViewer |
addTextViewer()
Adds a text viewer. |
org.eclipse.jface.text.TextViewer |
addTextViewer(boolean pWordWrap)
Adds a text viewer. |
org.eclipse.jface.text.TextViewer |
addTextViewer(boolean pWordWrap,
boolean pReadOnly)
Adds a text viewer. |
org.eclipse.swt.widgets.Button |
addToggleButton(org.eclipse.swt.graphics.Image image)
Adds a togggle button. |
org.eclipse.swt.widgets.Button |
addToggleButton(org.eclipse.swt.graphics.Image image,
java.lang.String toolTip)
Adds a togggle button. |
org.eclipse.swt.widgets.Button |
addToggleButton(java.lang.String text)
Adds a togggle button. |
org.eclipse.swt.widgets.Button |
addToggleButton(java.lang.String text,
java.lang.String toolTip)
Adds a togggle button. |
org.eclipse.jface.viewers.TreeViewer |
addTreeViewer(boolean pEnableMultipleSelection)
Adds a tree viewer. |
org.eclipse.swt.widgets.Button[] |
addVerticalRadioButtonGroup(java.lang.String[] pRadioButtonText)
Adds a vertical radio button group. |
org.eclipse.swt.widgets.Button[] |
addVerticalRadioButtonGroup(java.lang.String pTitle,
java.lang.String[] pRadioButtonText)
Adds a vertical radio button group with an enclosing frame (and title). |
org.eclipse.swt.widgets.Button[] |
addVerticalRadioButtonGroup(java.lang.String pTitle,
java.lang.String[] pRadioButtonText,
int pSelectedItem)
Adds a vertical radio button group with an enclosing frame (and title). |
ISashPane |
addVerticalSashPane()
Adds an ISashPane implementation (vertically aligned) as subcomponent. |
IToolBarPane |
addVerticalToolBar()
Adds an IToolBarPane implementation (vertically aligned) as subcomponent. |
| Methods inherited from interface com.tssap.util.ui.pane.ITitledPane |
getTitle, setTitle |
| Methods inherited from interface com.tssap.util.ui.pane.IBasicPane |
addDisposeListener, getComposite, getParent, getWidgetFactory, isPaneModifiable, setLayoutData |
| Method Detail |
public org.eclipse.swt.widgets.Button addPushButton(java.lang.String pButtonText)
pButtonText - push button textpublic org.eclipse.swt.widgets.Button addPushButton(org.eclipse.swt.graphics.Image pButtonImage)
pButtonImage - push button image
public org.eclipse.swt.widgets.Button addPushButton(java.lang.String pButtonText,
java.lang.String pButtonTooltip)
pButtonText - push button textpButtonTooltip - push button tooltip text
public org.eclipse.swt.widgets.Button addPushButton(org.eclipse.swt.graphics.Image pButtonImage,
java.lang.String pButtonTooltip)
pButtonImage - push button imagepButtonTooltip - push button tooltip textpublic org.eclipse.swt.widgets.Button addToggleButton(java.lang.String text)
text - button textpublic org.eclipse.swt.widgets.Button addToggleButton(org.eclipse.swt.graphics.Image image)
image - push button image
public org.eclipse.swt.widgets.Button addToggleButton(java.lang.String text,
java.lang.String toolTip)
text - push button texttoolTip - push button tooltip text
public org.eclipse.swt.widgets.Button addToggleButton(org.eclipse.swt.graphics.Image image,
java.lang.String toolTip)
image - push button imagetoolTip - push button tooltip textpublic org.eclipse.swt.widgets.Button addRadioButton(java.lang.String pButtonText)
pButtonText - radio button textpublic org.eclipse.swt.widgets.Button addRadioButton(org.eclipse.swt.graphics.Image pButtonImage)
pButtonImage - radio button image
public org.eclipse.swt.widgets.Button addRadioButton(java.lang.String pButtonText,
java.lang.String pButtonTooltip)
pButtonText - radio button textpButtonTooltip - radio button tooltip text
public org.eclipse.swt.widgets.Button addRadioButton(org.eclipse.swt.graphics.Image pButtonImage,
java.lang.String pButtonTooltip)
pButtonImage - radio button imagepButtonTooltip - radio button tooltip textpublic org.eclipse.swt.widgets.Button addCheckBox(java.lang.String pCheckBoxText)
pCheckBoxText - checkbox text (can be "")
public org.eclipse.swt.widgets.Button addCheckBox(java.lang.String pCheckBoxText,
boolean pCheckBoxValue)
pCheckBoxText - the checkbox text (can be "")pCheckBoxValue - initial value (default is false)public org.eclipse.swt.widgets.Button[] addHorizontalRadioButtonGroup(java.lang.String[] pRadioButtonText)
pRadioButtonText - text of radio buttons contained in group
public org.eclipse.swt.widgets.Button[] addHorizontalRadioButtonGroup(java.lang.String pTitle,
java.lang.String[] pRadioButtonText)
pTitle - title textpRadioButtonText - text of radio buttons contained in group
public org.eclipse.swt.widgets.Button[] addHorizontalRadioButtonGroup(java.lang.String pTitle,
java.lang.String[] pRadioButtonText,
int pSelectedItem)
pTitle - title textpRadioButtonText - text of radio buttons contained in grouppSelectedItem - selected item (default is 0)public org.eclipse.swt.widgets.Button[] addVerticalRadioButtonGroup(java.lang.String[] pRadioButtonText)
pRadioButtonText - text of radio buttons contained in group
public org.eclipse.swt.widgets.Button[] addVerticalRadioButtonGroup(java.lang.String pTitle,
java.lang.String[] pRadioButtonText)
pTitle - title textpRadioButtonText - text of radio buttons contained in group
public org.eclipse.swt.widgets.Button[] addVerticalRadioButtonGroup(java.lang.String pTitle,
java.lang.String[] pRadioButtonText,
int pSelectedItem)
pTitle - title textpRadioButtonText - text of radio buttons contained in grouppSelectedItem - selected item (default is 0)public org.eclipse.swt.widgets.Label addTextLabel(java.lang.String pLabelText)
pLabelText - text of labelpublic org.eclipse.swt.widgets.Text addTextField(java.lang.String pDefaultText)
pDefaultText - text of fieldpublic org.eclipse.swt.widgets.Text addTextField(boolean pReadOnly)
pReadOnly - specifies if field cannot be edited (default is false)
public org.eclipse.swt.widgets.Text addTextField(java.lang.String pDefaultText,
boolean pReadOnly)
pDefaultText - text of fieldpReadOnly - specifies if field cannot be edited (default is false)public org.eclipse.swt.widgets.Text addTextPane(java.lang.String pDefaultText)
pDefaultText - text of pane initially shown
public org.eclipse.swt.widgets.Text addTextPane(java.lang.String pDefaultText,
boolean pReadOnly)
pDefaultText - text of pane initially shownpReadOnly - specifies if pane cannot be edited (default is true)
public org.eclipse.swt.widgets.Text addTextPane(java.lang.String pDefaultText,
boolean pReadOnly,
boolean pWordWrap)
pDefaultText - text of pane initially shownpReadOnly - specifies if pane cannot be edited (default is true)pWordWrap - specifies if pane does word wrap or uses vertical scroll barpublic org.eclipse.swt.widgets.Label addImage(org.eclipse.swt.graphics.Image pImage)
pImage -
public org.eclipse.swt.widgets.Label addImage(org.eclipse.swt.graphics.Image pImage,
boolean pBorderFlag)
pImage - pBorderFlag - show borderpublic org.eclipse.swt.widgets.Combo addComboBox()
public org.eclipse.swt.widgets.Combo addComboBox(java.lang.String[] pItems)
pItems - the items of the combo box
public org.eclipse.swt.widgets.Combo addComboBox(java.lang.String[] pItems,
java.lang.String pDefaultText)
pItems - the items of the combo boxpDefaultText - The text to be initially shown in the box.
It can be changed by the user.
public org.eclipse.swt.widgets.Combo addComboBox(java.lang.String[] pItems,
boolean pReadOnly)
pItems - the items of the combo boxpReadOnly - flag if text is changeable
public org.eclipse.swt.widgets.Combo addComboBox(java.lang.String[] pItems,
java.lang.String pDefaultText,
boolean pReadOnly)
pItems - the items of the combo boxpDefaultText - the text to be initially shown in the boxpReadOnly - flag if text is changeablepublic org.eclipse.swt.widgets.List addList(java.lang.String[] pItems)
pItems - The items of the list. Only one can be selected by default.
public org.eclipse.swt.widgets.List addList(java.lang.String[] pItems,
boolean pEnableMultipleSelection)
pItems - the items of the listenableMultipleSelection - flag if selection of more than one entry is allowedpublic org.eclipse.jface.text.TextViewer addTextViewer()
public org.eclipse.jface.text.TextViewer addTextViewer(boolean pWordWrap)
pWordWrap - flag if words in lines are wrapped
public org.eclipse.jface.text.TextViewer addTextViewer(boolean pWordWrap,
boolean pReadOnly)
pWordWrap - flag if words in lines are wrappedpReadOnly - flag if text field is read onlypublic org.eclipse.jface.viewers.ListViewer addListViewer(boolean pEnableMultipleSelection)
It can be configured with label provider and/or content provider.
pEnableMultipleSelection - flag if selection of more than one entry is allowedpublic org.eclipse.jface.viewers.TreeViewer addTreeViewer(boolean pEnableMultipleSelection)
pEnableMultipleSelection - flag if selection of more than one entry is allowedpublic org.eclipse.jface.viewers.CheckboxTreeViewer addCheckboxTreeViewer(boolean pEnableMultipleSelection)
pEnableMultipleSelection - public org.eclipse.jface.viewers.TableViewer addTableViewer(boolean pEnableMultipleSelection)
pEnableMultipleSelection -
public org.eclipse.jface.viewers.TableViewer addTableViewer(boolean pEnableMultipleSelection,
java.lang.String[] columnLabels)
pEnableMultipleSelection - columnLabels - labels of the column headers.
The viewer contains as many columns as given here.
public org.eclipse.jface.viewers.TableViewer addTableViewer(boolean pEnableMultipleSelection,
ITableColumn[] columns)
pEnableMultipleSelection - columns - column definition objects
public org.eclipse.jface.viewers.TableViewer addTableViewer(boolean pEnableMultipleSelection,
java.lang.String[] columnLabels,
int[] columnWidths)
pEnableMultipleSelection - columnLabels - labels of the column headerscolumnWidths - width of the columnspublic org.eclipse.jface.viewers.CheckboxTableViewer addCheckboxTableViewer(boolean pEnableMultipleSelection)
pEnableMultipleSelection - public org.eclipse.jface.viewers.TableTreeViewer addTableTreeViewer(boolean pEnableMultipleSelection)
pEnableMultipleSelection - public void addPlaceholder()
The placeholder is simply a label with empty content.
public ISimplePane addSimplePane()
public ISimplePane addSimplePane(java.lang.String pTitle)
pTitle - title of borderpublic ISashPane addHorizontalSashPane()
public ISashPane addVerticalSashPane()
public IToolBarPane addHorizontalToolBar()
public IToolBarPane addVerticalToolBar()
public ITabbedPane addTabbedPane()
public IGridLayoutPane addGridLayoutPane(int pNumOfColumns)
pNumOfColumns - number of columns
public IGridLayoutPane addGridLayoutPane(int pNumOfColumns,
boolean pEqualSizedFlag)
pNumOfColumns - number of columnspEqualSizedFlag - flag if columns are equal sized
public IGridLayoutPane addGridLayoutPane(java.lang.String pGroupTitle,
int pNumOfColumns)
pGroupTitle - title to be shownpNumOfColumns - number of columns
public IGridLayoutPane addGridLayoutPane(java.lang.String pGroupTitle,
int pNumOfColumns,
boolean pEqualSizedFlag)
pGroupTitle - title to be shownpNumOfColumns - number of columnspEqualSizedFlag - flag if columns are equal sizedpublic ISapTableViewer addSapTableViewer(javax.swing.table.TableModel pTableModel)
pTableModel - swing table model
public ISapTableViewer addSapTableViewer(javax.swing.table.TableModel pTableModel,
boolean pSingleSelection)
pTableModel - swing table modelpSingleSelection - if set to true table is initialized for single
selection, otherwise multi selection is enabled.public ISapTreeViewer addSapTreeViewer(javax.swing.tree.TreeModel pTreeModel)
pTreeModel - swing tree model
public ISapTreeViewer addSapTreeViewer(javax.swing.tree.TreeModel pTreeModel,
SapTreeLabelProvider pTreeLabelProvider)
pTreeModel - swing tree modelpTreeLabelProvider - label provider for the tree
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||