org.eclipse.emf.edit.ui.celleditor
Class FeatureEditorDialog

java.lang.Object
  |
  +--org.eclipse.jface.window.Window
        |
        +--org.eclipse.jface.dialogs.Dialog
              |
              +--org.eclipse.emf.edit.ui.celleditor.FeatureEditorDialog

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


Inner classes inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
protected  java.util.List choiceOfValues
           
protected  org.eclipse.jface.viewers.IContentProvider contentProvider
           
protected  java.lang.String displayName
           
protected  EClassifier eClassifier
           
protected  EObject eObject
           
protected  org.eclipse.jface.viewers.ILabelProvider labelProvider
           
protected  EList result
           
protected  ItemProvider values
           
 
Fields inherited from class org.eclipse.jface.dialogs.Dialog
buttonBar, dialogArea, DLG_IMG_ERROR, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING
 
Fields inherited from class org.eclipse.jface.window.Window
CANCEL, OK
 
Constructor Summary
FeatureEditorDialog(org.eclipse.swt.widgets.Shell parent, org.eclipse.jface.viewers.ILabelProvider labelProvider, EObject eObject, EClassifier eClassifier, java.util.List currentValues, java.lang.String displayName, java.util.List choiceOfValues)
           
FeatureEditorDialog(org.eclipse.swt.widgets.Shell parent, org.eclipse.jface.viewers.ILabelProvider labelProvider, EObject eObject, EStructuralFeature eStructuralFeature, java.lang.String displayName, java.util.List choiceOfValues)
           
 
Method Summary
 boolean close()
           
protected  void configureShell(org.eclipse.swt.widgets.Shell shell)
           
protected  org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
           
 EList getResult()
           
protected  void okPressed()
           
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, cancelPressed, constrainShellSize, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, createButton, createButtonBar, createButtonsForButtonBar, createContents, getButton, getButtonBar, getCancelButton, getDialogArea, getImage, getOKButton, initializeBounds, initializeDialogUnits, setButtonLayoutData, setButtonLayoutFormData
 
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, create, createShell, getContents, getDefaultImage, getInitialLocation, getInitialSize, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setExceptionHandler, setReturnCode, setShellStyle, setWindowManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

labelProvider

protected org.eclipse.jface.viewers.ILabelProvider labelProvider

contentProvider

protected org.eclipse.jface.viewers.IContentProvider contentProvider

eObject

protected EObject eObject

eClassifier

protected EClassifier eClassifier

displayName

protected java.lang.String displayName

values

protected ItemProvider values

choiceOfValues

protected java.util.List choiceOfValues

result

protected EList result
Constructor Detail

FeatureEditorDialog

public FeatureEditorDialog(org.eclipse.swt.widgets.Shell parent,
                           org.eclipse.jface.viewers.ILabelProvider labelProvider,
                           EObject eObject,
                           EClassifier eClassifier,
                           java.util.List currentValues,
                           java.lang.String displayName,
                           java.util.List choiceOfValues)

FeatureEditorDialog

public FeatureEditorDialog(org.eclipse.swt.widgets.Shell parent,
                           org.eclipse.jface.viewers.ILabelProvider labelProvider,
                           EObject eObject,
                           EStructuralFeature eStructuralFeature,
                           java.lang.String displayName,
                           java.util.List choiceOfValues)
Method Detail

configureShell

protected void configureShell(org.eclipse.swt.widgets.Shell shell)
Overrides:
configureShell in class org.eclipse.jface.dialogs.Dialog

createDialogArea

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

okPressed

protected void okPressed()
Overrides:
okPressed in class org.eclipse.jface.dialogs.Dialog

close

public boolean close()
Overrides:
close in class org.eclipse.jface.dialogs.Dialog

getResult

public EList getResult()

Copyright 2001-2003 IBM Corporation and others.
All Rights Reserved.