public class SDKTable extends AbstractTable
for the basic table functions descriptionsmTable, mTableViewer| Constructor and Description |
|---|
SDKTable(org.eclipse.swt.widgets.Composite pParent)
Main constructor of the SDK Table.
|
| Modifier and Type | Method and Description |
|---|---|
protected ITableElement |
addLine()
Method called after an action on the Add button.
|
void |
getPreferences()
Fill the table with the preferences from the SDKS_CONFIG file.
|
protected void |
handleDoubleClick(org.eclipse.jface.viewers.DoubleClickEvent pEvent)
Method called when a double click event has been raised by the table.
|
protected org.libreoffice.ide.eclipse.core.internal.model.SDK |
openDialog(org.libreoffice.ide.eclipse.core.internal.model.SDK pSdk)
This method create and calls the dialog box to be launched on SDK edition or SDK creation.
|
protected ITableElement |
removeLine()
Method called after an action on the Del button.
|
void |
savePreferences()
Saves the SDK preferences.
|
addLine, addSelectionChangedListener, createCellEditors, createContent, dispose, getLines, getSelection, removeSelectionChangedListener, setSelection, setToolTipTextchanged, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabListcomputeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBaraddControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, updateaddDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toStringpublic SDKTable(org.eclipse.swt.widgets.Composite pParent)
pParent - Composite parent of the table.public void getPreferences()
public void savePreferences()
protected void handleDoubleClick(org.eclipse.jface.viewers.DoubleClickEvent pEvent)
handleDoubleClick in class AbstractTablepEvent - the double click event raisedprotected ITableElement addLine()
addLine in class AbstractTableprotected ITableElement removeLine()
removeLine in class AbstractTablenull if none was removed.protected org.libreoffice.ide.eclipse.core.internal.model.SDK openDialog(org.libreoffice.ide.eclipse.core.internal.model.SDK pSdk)
pSdk could be null: in this case, a new one will be created. Otherwise the fields of the old one
will be changed. This is useful for SDK editing: the object reference is the same.pSdk - the SDK instance to edit if any