org.eclipse.emf.ecp.view.internal.editor.controls
Class ECPViewEditorTreeSelectionDialog

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.dialogs.Dialog
          extended by org.eclipse.jface.dialogs.TrayDialog
              extended by org.eclipse.ui.dialogs.SelectionDialog
                  extended by org.eclipse.ui.dialogs.SelectionStatusDialog
                      extended by org.eclipse.ui.dialogs.ElementTreeSelectionDialog
                          extended by org.eclipse.emf.ecp.view.internal.editor.controls.ECPViewEditorTreeSelectionDialog
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider

public class ECPViewEditorTreeSelectionDialog
extends org.eclipse.ui.dialogs.ElementTreeSelectionDialog

ElementTreeSelectionDialog which also stores the selection along the tree.

Author:
Eugen Neufeld

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
ECPViewEditorTreeSelectionDialog(org.eclipse.swt.widgets.Shell parent, org.eclipse.jface.viewers.ILabelProvider labelProvider, org.eclipse.jface.viewers.ITreeContentProvider contentProvider)
          Default constructor.
 
Method Summary
 org.eclipse.jface.viewers.TreePath getTreePath()
          Returns the TreePath from the tree viewer.
 
Methods inherited from class org.eclipse.ui.dialogs.ElementTreeSelectionDialog
addFilter, create, open, setAllowMultiple, setComparator, setDoubleClickSelects, setEmptyListMessage, setInitialSelection, setInput, setSize, setSorter, setValidator
 
Methods inherited from class org.eclipse.ui.dialogs.SelectionStatusDialog
getFirstResult, setImage, setStatusLineAboveButtons
 
Methods inherited from class org.eclipse.ui.dialogs.SelectionDialog
getOkButton, getResult, setDialogBoundsSettings, setInitialElementSelections, setInitialSelections, setMessage, setTitle
 
Methods inherited from class org.eclipse.jface.dialogs.TrayDialog
closeTray, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, close, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getBlockedHandler, getImage, setBlockedHandler, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
getDefaultImage, getDefaultImages, getDefaultOrientation, getReturnCode, getShell, getWindowManager, 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

ECPViewEditorTreeSelectionDialog

public ECPViewEditorTreeSelectionDialog(org.eclipse.swt.widgets.Shell parent,
                                        org.eclipse.jface.viewers.ILabelProvider labelProvider,
                                        org.eclipse.jface.viewers.ITreeContentProvider contentProvider)
Default constructor.

Parameters:
parent - the Shell for creating the dialog
labelProvider - the ILabelProvider for the tree
contentProvider - the ITreeContentProvider for the tree
Method Detail

getTreePath

public org.eclipse.jface.viewers.TreePath getTreePath()
Returns the TreePath from the tree viewer.

Returns:
the path


Copyright © 2015. All Rights Reserved.