public class OOoTable extends AbstractTable
for the basic table functions descriptionsmTable, mTableViewer| Constructor and Description |
|---|
OOoTable(org.eclipse.swt.widgets.Composite pParent)
Main constructor of the OOo 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 OOOS_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.AbstractOOo |
openDialog(org.libreoffice.ide.eclipse.core.internal.model.AbstractOOo pOoo)
This method create and calls the dialog box to be launched on LibreOffice edition or LibreOffice creation.
|
protected ITableElement |
removeLine()
Method called after an action on the Del button.
|
void |
savePreferences()
Saves the OOos in the OOOS_CONFIG file.
|
addLine, addSelectionChangedListener, createCellEditors, createContent, dispose, getLines, getSelection, 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 OOoTable(org.eclipse.swt.widgets.Composite pParent)
pParent - Composite parent of the table.public void getPreferences()
public void savePreferences()
protected ITableElement addLine()
addLine in class AbstractTableprotected ITableElement removeLine()
removeLine in class AbstractTablenull if none was removed.protected void handleDoubleClick(org.eclipse.jface.viewers.DoubleClickEvent pEvent)
handleDoubleClick in class AbstractTablepEvent - the double click event raisedprotected org.libreoffice.ide.eclipse.core.internal.model.AbstractOOo openDialog(org.libreoffice.ide.eclipse.core.internal.model.AbstractOOo pOoo)
pOoo 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 OOo editing: the object reference is the same.pOoo - the LibreOffice instance to show in the dialog