public class InterfaceMembersTable extends AbstractTable
mTable, mTableViewer| Constructor and Description |
|---|
InterfaceMembersTable(org.eclipse.swt.widgets.Composite pParent)
Creates a table to add/edit/remove the attributes and methods of an interface.
|
| Modifier and Type | Method and Description |
|---|---|
protected ITableElement |
addLine()
Method called after an action on the Add button.
|
UnoFactoryData[] |
getUnoFactoryData()
Returns an array of the defined
UnoFactoryData. |
protected void |
handleDoubleClick(org.eclipse.jface.viewers.DoubleClickEvent pEvent)
Method called when a double click event has been raised by the table.
|
protected UnoFactoryData |
openDialog(UnoFactoryData pContent)
Open the member dialog for edition or creation.
|
addLine, addSelectionChangedListener, createCellEditors, createContent, dispose, getLines, getSelection, removeLine, removeSelectionChangedListener, setSelection, setToolTipTextchanged, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabListcomputeTrim, getBorderWidth, getHorizontalBar, getScrollbarsMode, getVerticalBaraddControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, 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, 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, updatepublic InterfaceMembersTable(org.eclipse.swt.widgets.Composite pParent)
pParent - the parent composite where to create the table. Its layout should be a Grid Layout with one columnpublic UnoFactoryData[] getUnoFactoryData()
UnoFactoryData.protected ITableElement addLine()
addLine in class AbstractTableprotected void handleDoubleClick(org.eclipse.jface.viewers.DoubleClickEvent pEvent)
handleDoubleClick in class AbstractTablepEvent - the double click event raisedprotected UnoFactoryData openDialog(UnoFactoryData pContent)
pContent - if null, the dialog is opened to create a new member, otherwise it reuses the given data
to modify them.