|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.openoffice.ide.eclipse.core.gui.AbstractTable
org.openoffice.ide.eclipse.core.wizards.pages.InterfacesTable
public class InterfacesTable
This class corresponds to the table of interface inheritances. The add action launches the UNO Type browser to select one interface. This class shouldn't be subclassed.
Nested Class Summary | |
---|---|
class |
InterfacesTable.InheritanceLine
The interface names are stored in path-like strings, ie: using "::" as separator. |
Field Summary |
---|
Fields inherited from class org.openoffice.ide.eclipse.core.gui.AbstractTable |
---|
mTable, mTableViewer |
Fields inherited from class org.eclipse.swt.widgets.Composite |
---|
embeddedHandle |
Fields inherited from class org.eclipse.swt.widgets.Widget |
---|
handle |
Constructor Summary | |
---|---|
InterfacesTable(org.eclipse.swt.widgets.Composite pParent)
Simplified constructor for this kind of table. |
Method Summary | |
---|---|
void |
addInterface(java.lang.String pIfaceName,
boolean pOptional)
Add a new interface in the table. |
protected ITableElement |
addLine()
Method called after an action on the Add button. |
protected org.eclipse.jface.viewers.CellEditor[] |
createCellEditors(org.eclipse.swt.widgets.Table pTable)
Method called to configure the columns cell editors. |
Methods inherited from class org.openoffice.ide.eclipse.core.gui.AbstractTable |
---|
addLine, addSelectionChangedListener, createContent, dispose, getLines, getSelection, handleDoubleClick, removeLine, removeSelectionChangedListener, setSelection, setToolTipText |
Methods inherited from class org.eclipse.swt.widgets.Composite |
---|
changed, checkSubclass, computeSize, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList |
Methods inherited from class org.eclipse.swt.widgets.Scrollable |
---|
computeTrim, getBorderWidth, getHorizontalBar, getVerticalBar |
Methods inherited from class org.eclipse.swt.widgets.Control |
---|
addControlListener, addDragDetectListener, addFocusListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBounds, getCursor, getData, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getRegion, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setRegion, setSize, setSize, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update |
Methods inherited from class org.eclipse.swt.widgets.Widget |
---|
addDisposeListener, addListener, checkWidget, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InterfacesTable(org.eclipse.swt.widgets.Composite pParent)
pParent
- the parent composite where to put the tableMethod Detail |
---|
public void addInterface(java.lang.String pIfaceName, boolean pOptional)
pIfaceName
- the name of the interface to addpOptional
- true
if the interface is optional.protected org.eclipse.jface.viewers.CellEditor[] createCellEditors(org.eclipse.swt.widgets.Table pTable)
null
to indicate that no editing is allowed.
createCellEditors
in class AbstractTable
pTable
- the table for which to create the cell editors, i.e. the
internal table object of this class.
protected ITableElement addLine()
addLine
in class AbstractTable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |