org.dawb.passerelle.editors
Class UserModifyDialog

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.dialogs.Dialog
          extended by org.dawb.passerelle.editors.UserModifyDialog
All Implemented Interfaces:
UserModifyComposite.Closeable, RemoveWorkbenchPart, org.eclipse.jface.window.IShellProvider

public class UserModifyDialog
extends org.eclipse.jface.dialogs.Dialog
implements RemoveWorkbenchPart, UserModifyComposite.Closeable


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, 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
UserModifyDialog(org.eclipse.swt.widgets.Shell parentShell)
           
 
Method Summary
 boolean close()
           
 void setConfiguration(java.lang.String configuration)
          Information specifying which fields should be edited and how.
 void setPartName(java.lang.String partName)
           
 void setQueue(java.util.Queue<java.util.Map<java.lang.String,java.lang.String>> valueQueue)
          This queue will be notified when the user confirms the values.
 void setValues(java.util.Map<java.lang.String,java.lang.String> values)
          The default values that the user will edit.
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, create, getBlockedHandler, getImage, setBlockedHandler, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
getDefaultImage, getDefaultImages, getDefaultOrientation, getReturnCode, getShell, getWindowManager, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setWindowManager
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserModifyDialog

public UserModifyDialog(org.eclipse.swt.widgets.Shell parentShell)
Method Detail

close

public boolean close()
Specified by:
close in interface UserModifyComposite.Closeable
Overrides:
close in class org.eclipse.jface.dialogs.Dialog

setPartName

public void setPartName(java.lang.String partName)
Specified by:
setPartName in interface RemoveWorkbenchPart

setQueue

public void setQueue(java.util.Queue<java.util.Map<java.lang.String,java.lang.String>> valueQueue)
Description copied from interface: RemoveWorkbenchPart
This queue will be notified when the user confirms the values.

Specified by:
setQueue in interface RemoveWorkbenchPart

setValues

public void setValues(java.util.Map<java.lang.String,java.lang.String> values)
Description copied from interface: RemoveWorkbenchPart
The default values that the user will edit. NOTE Calling this will also refresh the UI table to reflect these new values.

Specified by:
setValues in interface RemoveWorkbenchPart

setConfiguration

public void setConfiguration(java.lang.String configuration)
                      throws java.lang.Exception
Description copied from interface: RemoveWorkbenchPart
Information specifying which fields should be edited and how.

Specified by:
setConfiguration in interface RemoveWorkbenchPart
Throws:
java.lang.Exception