net.xoetrope.swt
Class XDialogTableAddColumn

java.lang.Object
  extended by org.eclipse.swt.widgets.Widget
      extended by org.eclipse.swt.widgets.Control
          extended by org.eclipse.swt.widgets.Scrollable
              extended by org.eclipse.swt.widgets.Composite
                  extended by net.xoetrope.swt.XSwtPage
                      extended by net.xoetrope.swt.XDialog
                          extended by net.xoetrope.swt.XDialogTable
                              extended by net.xoetrope.swt.XDialogTableAddColumn
All Implemented Interfaces:
XExceptionHandler, PageSupport, XAttributedComponent, XContentPane, XPage.IXDialog, org.eclipse.swt.graphics.Drawable

public class XDialogTableAddColumn
extends XDialogTable

Class which extends XDialogTable for the SWT Tables, and show a dialog to add a column to a table.


Field Summary
 
Fields inherited from class net.xoetrope.swt.XDialogTable
borders, H_GAP, height, HEIGHT_BUTTON, HEIGHT_FULL, HEIGHT_SPACING, V_GAP, value, width, WIDTH_SPACING, widthLabel, xbs, xes, xet, xls
 
Fields inherited from class net.xoetrope.swt.XDialog
CANCEL_CLICKED, CLOSE_CLICKED, closeButtonID, contentPanel, DEFAULT_PADDING, focusComponent, lastReturnValue, NO_CLICKED, NOTHING_CLICKED_YET, OK_CLICKED, padding, returnObject, returnValue, saveOnClose, shell, trueField, WIDTH_BORDER_CENTER
 
Fields inherited from class net.xoetrope.swt.XSwtPage
adapter, componentFactory, COOLITEM, pageHelper, pageMgr, project, rootModel
 
Fields inherited from class org.eclipse.swt.widgets.Control
handle
 
Constructor Summary
XDialogTableAddColumn(XEditTable xet, java.lang.String title)
          Creates a new dialogtableaddcolumn.
 
Method Summary
 void addColumn()
          Add a column
 void firststep()
          Do the first step of the dialog edition
 void fourthstep()
          Do the fourth step of the dialog edition
 void secondstep()
          Do the second step of the dialog edition
 void thirdstep()
          Do the third step of the dialog edition
 
Methods inherited from class net.xoetrope.swt.XDialogTable
addButtons, cancel, finalstep, getBorder, getEdit, getLabel, init, resetAll, show
 
Methods inherited from class net.xoetrope.swt.XDialog
cancelDlg, checkSubclass, closeDlg, getContentPane, getFocusComponent, getLastReturnValue, getMinimumSize, getPreferredSize, getReturnObject, pack, pageCreated, setBackground, setCaption, setFont, setForeground, setLocation, setModal, setResizable, setSaveOnClose, setSize, setUseNativeHeaders, showDialog, showDialog, showDialog, showModalWindow, SWTtoAWT, wasMouseClicked
 
Methods inherited from class net.xoetrope.swt.XSwtPage
accumulateMessages, addBinding, addHandler, addHandler, addListener, addValidation, addValidation, addValidation, checkValidations, clearValidations, doLayout, evaluateAttribute, evaluatePath, findComponent, findComponent, getAttribute, getAttribute, getBinding, getBinding, getBindings, getComponentFactory, getComponentName, getCurrentEvent, getEventAttribute, getEventHandler, getExtension, getName, getOwner, getPageSize, getProject, getStatus, getValidationHandler, handleEventHandlerException, handleException, isFocusChangeSuppressed, pageActivated, pageDeactivated, removeBinding, saveBoundComponentValues, setAttribute, setAttribute, setBackground, setClearPage, setComponentFactory, setEventHandler, setExceptionHandler, setExtension, setLayout, setName, setStatus, setValidationFactory, showComponents, showHandCursor, showMessage, showMessage, stripAttributeValues, translate, updateBinding, updateBindings, updateBoundComponentValues, validate, validationHandler, wasMouseDoubleClicked, wasMouseRightClicked
 
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, computeSize, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
 
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getVerticalBar
 
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addFocusListener, addHelpListener, addKeyListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addPaintListener, addTraverseListener, computeSize, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, redraw, redraw, removeControlListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removePaintListener, removeTraverseListener, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setEnabled, setLayoutData, setLocation, setMenu, setParent, setRedraw, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update
 
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, 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
 
Methods inherited from interface net.xoetrope.xui.PageSupport
accumulateMessages, addBinding, addHandler, addHandler, addListener, addValidation, addValidation, addValidation, checkValidations, clearValidations, doLayout, evaluateAttribute, evaluatePath, findComponent, findComponent, getAttribute, getAttribute, getBinding, getBinding, getBindings, getComponentFactory, getComponentName, getCurrentEvent, getEventAttribute, getEventHandler, getExtension, getName, getOwner, getPageSize, getProject, getStatus, getValidationHandler, handleEventHandlerException, handleException, isFocusChangeSuppressed, pageActivated, pageDeactivated, removeBinding, saveBoundComponentValues, setAttribute, setBackground, setClearPage, setComponentFactory, setEventHandler, setExceptionHandler, setExtension, setLayout, setLocation, setName, setStatus, setValidationFactory, setVisible, showComponents, showHandCursor, showMessage, showMessage, stripAttributeValues, translate, updateBinding, updateBindings, updateBoundComponentValues, validate, validationHandler, wasMouseDoubleClicked, wasMouseRightClicked
 

Constructor Detail

XDialogTableAddColumn

public XDialogTableAddColumn(XEditTable xet,
                             java.lang.String title)
Creates a new dialogtableaddcolumn.

Parameters:
xet - the table
title - the title of the dialog
Method Detail

firststep

public void firststep()
Do the first step of the dialog edition

Specified by:
firststep in class XDialogTable

secondstep

public void secondstep()
Do the second step of the dialog edition

Specified by:
secondstep in class XDialogTable

thirdstep

public void thirdstep()
Do the third step of the dialog edition

Specified by:
thirdstep in class XDialogTable

fourthstep

public void fourthstep()
Do the fourth step of the dialog edition

Specified by:
fourthstep in class XDialogTable

addColumn

public void addColumn()
Add a column