TPTP 4.6.0 Platform Project
Internal API Specification

org.eclipse.hyades.trace.views.util.internal
Class ColumnsDialog

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.dialogs.Dialog
          extended by org.eclipse.hyades.trace.views.util.internal.ColumnsDialog
All Implemented Interfaces:
java.util.EventListener, org.eclipse.jface.window.IShellProvider, org.eclipse.swt.events.SelectionListener, org.eclipse.swt.internal.SWTEventListener

public class ColumnsDialog
extends org.eclipse.jface.dialogs.Dialog
implements org.eclipse.swt.events.SelectionListener

Insert the type's description here. Creation date: (3/7/2001 1:44:48 PM)


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
 
Fields inherited from class org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
 
Fields inherited from class org.eclipse.jface.window.Window
CANCEL, OK
 
Constructor Summary
ColumnsDialog(org.eclipse.swt.widgets.Shell shell, java.lang.String windowTitle, org.eclipse.swt.graphics.Image windowImage, java.util.ArrayList data, java.lang.String defaultColumnsTemplate, java.lang.String contextHelpId, java.lang.String context)
          CoulmnsDialog constructor comment.
 
Method Summary
protected  void buttonPressed(int buttonId)
           
protected  void configureShell(org.eclipse.swt.widgets.Shell shell)
          Configures the given shell in prepartaion for opening this window in it.
protected  void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
           
protected  org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
          Creates and returns the contents of the upper part of the dialog (above the button bar).
 java.util.ArrayList getData()
          Insert the method's description here.
protected  void moveDown(int idx)
          Insert the method's description here.
protected  void moveUp(int idx)
          Insert the method's description here.
protected  void okPressed()
          Notifies that the ok button of this dialog has been pressed.
 void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
           
 void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
           
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, isResizable, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnsDialog

public ColumnsDialog(org.eclipse.swt.widgets.Shell shell,
                     java.lang.String windowTitle,
                     org.eclipse.swt.graphics.Image windowImage,
                     java.util.ArrayList data,
                     java.lang.String defaultColumnsTemplate,
                     java.lang.String contextHelpId,
                     java.lang.String context)
CoulmnsDialog constructor comment.

Parameters:
windowTitle - java.lang.String
windowImage - org.eclipse.swt.graphics.Image
Method Detail

configureShell

protected void configureShell(org.eclipse.swt.widgets.Shell shell)
Configures the given shell in prepartaion for opening this window in it.

The default implementation of this framework method sets the shell's image and gives it a grid layout. Subclasses may extend or reimplement.

Overrides:
configureShell in class org.eclipse.jface.window.Window
Parameters:
newShell - the shell

createDialogArea

protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
Creates and returns the contents of the upper part of the dialog (above the button bar). Subclasses should overide.

Overrides:
createDialogArea in class org.eclipse.jface.dialogs.Dialog
Parameters:
the - parent composite to contain the dialog area
Returns:
the dialog area control

createButtonsForButtonBar

protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
Overrides:
createButtonsForButtonBar in class org.eclipse.jface.dialogs.Dialog

buttonPressed

protected void buttonPressed(int buttonId)
Overrides:
buttonPressed in class org.eclipse.jface.dialogs.Dialog

getData

public java.util.ArrayList getData()
Insert the method's description here. Creation date: (3/8/2001 4:13:01 PM)

Returns:
java.util.ArrayList

moveDown

protected void moveDown(int idx)
Insert the method's description here. Creation date: (3/7/2001 3:30:47 PM)

Parameters:
idx - int

moveUp

protected void moveUp(int idx)
Insert the method's description here. Creation date: (3/7/2001 3:30:47 PM)

Parameters:
idx - int

okPressed

protected void okPressed()
Notifies that the ok button of this dialog has been pressed.

The default implementation of this framework method sets this dialog's return code to Window.OK and closes the dialog. Subclasses may override.

Overrides:
okPressed in class org.eclipse.jface.dialogs.Dialog

widgetDefaultSelected

public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
Specified by:
widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener

widgetSelected

public void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
Specified by:
widgetSelected in interface org.eclipse.swt.events.SelectionListener

TPTP 4.6.0 Platform Project
Internal API Specification