org.formaria.swt
Class DialogTableAddColumn

java.lang.Object
  extended by Composite
      extended by org.formaria.swt.SwtPage
          extended by org.formaria.swt.Dialog
              extended by org.formaria.swt.DialogTable
                  extended by org.formaria.swt.DialogTableAddColumn
All Implemented Interfaces:
ContentPane, DialogSupport, ExceptionHandler, PageSupport, PageSupport.IDialog, PersistentState

public class DialogTableAddColumn
extends DialogTable

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


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.formaria.aria.PageSupport
PageSupport.IDialog
 
Field Summary
 
Fields inherited from class org.formaria.swt.DialogTable
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 org.formaria.swt.Dialog
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 org.formaria.swt.SwtPage
adapter, componentFactory, COOLITEM, pageHelper, pageMgr, project, rootModel
 
Fields inherited from interface org.formaria.aria.PageSupport
ACTIVATED, ANNOTATEDIMAGE, ARIA_AWT_PACKAGE, ARIA_HTML_PACKAGE, ARIA_SWING_PACKAGE, ARIA_SWT_PACKAGE, BORDER_LAYOUT, BOX_LAYOUT, BUTTON, CARD_LAYOUT, CHECK, COLUMN_LAYOUT, COMBO, CREATED, DEACTIVATED, DISCARDED, DISPLAYED, EDIT, FLOW_LAYOUT, GRID_LAYOUT, GRIDBAG_LAYOUT, GROUP, GUIDE_LAYOUT, HOTSPOTIMAGE, IMAGE, IMAGEMAP, LABEL, LAYER_LAYOUT, LIST, LOADED, MENU, MENUBAR, MENUITEM, METACONTENT, NULL_LAYOUT, PANEL, PASSWORD, RADIO, SCALE_LAYOUT, SCROLLABLEMETACONTENT, SCROLLPANE, SPLITPANE, SPRING_LAYOUT, TABLE, TABPANEL, TEXTAREA, UNKNOWN, UNKNOWN_PAGE_STATE, WMF
 
Constructor Summary
DialogTableAddColumn(EditTable 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 org.formaria.swt.DialogTable
addButtons, cancel, finalstep, getBorder, getEdit, getLabel, init, resetAll, show
 
Methods inherited from class org.formaria.swt.Dialog
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 org.formaria.swt.SwtPage
accumulateMessages, addBinding, addHandler, addHandler, addListener, addNestedPage, addValidation, addValidation, addValidation, checkValidations, clearValidations, doLayout, enterDataBindingContext, evaluateAttribute, evaluatePath, exitDataBindingContext, findComponent, findComponent, getAttribute, getAttribute, getBinding, getBinding, getBindings, getComponentFactory, getComponentName, getCurrentEvent, getDataBindingContext, getDataBindingContext, getEventAttribute, getEventHandler, getExtension, getName, getOwner, getPageSize, getProject, getStatus, getToolTip, getValidationHandler, handleEventHandlerException, handleException, isFocusChangeSuppressed, pageActivated, pageAdded, pageDeactivated, removeBinding, restoreState, saveBoundComponentValues, saveState, setAttribute, setAttribute, setClearPage, setComponentFactory, setEventHandler, setExceptionHandler, setExtension, setLayout, setName, setStatus, setToolTip, setValidationFactory, showComponents, showHandCursor, showMessage, showMessage, stripAttributeValues, translate, updateBinding, updateBindings, updateBoundComponentValues, validate, validationHandler, wasMouseDoubleClicked, wasMouseRightClicked
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.formaria.aria.PageSupport
accumulateMessages, addBinding, addHandler, addHandler, addListener, addNestedPage, addValidation, addValidation, addValidation, checkValidations, clearValidations, doLayout, enterDataBindingContext, evaluateAttribute, evaluatePath, exitDataBindingContext, findComponent, findComponent, getAttribute, getAttribute, getBinding, getBinding, getBindings, getComponentFactory, getComponentName, getCurrentEvent, getDataBindingContext, getDataBindingContext, getEventAttribute, getEventHandler, getExtension, getName, getOwner, getPageSize, getProject, getStatus, getValidationHandler, handleEventHandlerException, handleException, isFocusChangeSuppressed, pageActivated, pageAdded, pageDeactivated, removeBinding, saveBoundComponentValues, setAttribute, setClearPage, setComponentFactory, setEventHandler, setExceptionHandler, setExtension, setLayout, setLocation, setName, setStatus, setValidationFactory, setVisible, showComponents, showHandCursor, showMessage, showMessage, stripAttributeValues, translate, updateBinding, updateBindings, updateBoundComponentValues, validate, validationHandler, wasMouseDoubleClicked, wasMouseRightClicked
 
Methods inherited from interface org.formaria.aria.PersistentState
restoreState, saveState
 

Constructor Detail

DialogTableAddColumn

public DialogTableAddColumn(EditTable 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 DialogTable

secondstep

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

Specified by:
secondstep in class DialogTable

thirdstep

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

Specified by:
thirdstep in class DialogTable

fourthstep

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

Specified by:
fourthstep in class DialogTable

addColumn

public void addColumn()
Add a column