SAM

org.topcased.modeler.sam.dialogs
Class EditRequirementDialog

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.dialogs.Dialog
          extended by org.topcased.modeler.sam.dialogs.EditRequirementDialog
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider

Deprecated. Remove this dialog. Use the corresponding section in the Properties View

public class EditRequirementDialog
extends org.eclipse.jface.dialogs.Dialog

Edit a requirement in a new Window in a multilign textfield


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
EditRequirementDialog(java.lang.String initialRequirement, org.eclipse.swt.widgets.Shell parentShell)
          Deprecated. Create the Dialog window that handles the requirement editing
 
Method Summary
protected  void configureShell(org.eclipse.swt.widgets.Shell newShell)
          Deprecated.  
protected  org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
          Deprecated. Create the Dialog area
 java.lang.String getNewRequirement()
          Deprecated. Returns the new Requirement
protected  void okPressed()
          Deprecated. Store the requirement text
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createButtonsForButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, 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

EditRequirementDialog

public EditRequirementDialog(java.lang.String initialRequirement,
                             org.eclipse.swt.widgets.Shell parentShell)
Deprecated. 
Create the Dialog window that handles the requirement editing

Parameters:
initialRequirement - the initial requirement
parentShell - the parent Shell
Method Detail

configureShell

protected void configureShell(org.eclipse.swt.widgets.Shell newShell)
Deprecated. 
Overrides:
configureShell in class org.eclipse.jface.window.Window
See Also:
Window.configureShell(org.eclipse.swt.widgets.Shell)

createDialogArea

protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
Deprecated. 
Create the Dialog area

Overrides:
createDialogArea in class org.eclipse.jface.dialogs.Dialog
See Also:
Dialog.createDialogArea(org.eclipse.swt.widgets.Composite)

okPressed

protected void okPressed()
Deprecated. 
Store the requirement text

Overrides:
okPressed in class org.eclipse.jface.dialogs.Dialog
See Also:
Dialog.okPressed()

getNewRequirement

public java.lang.String getNewRequirement()
Deprecated. 
Returns the new Requirement

Returns:
the string representing the new requirement

SAM

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.