org.eclipse.ocl.examples.emf.validation.validity.ui.view
Class SelectionUtil

java.lang.Object
  extended by org.eclipse.ocl.examples.emf.validation.validity.ui.view.SelectionUtil

public class SelectionUtil
extends java.lang.Object


Constructor Summary
SelectionUtil()
           
 
Method Summary
static org.eclipse.emf.common.notify.Notifier getNotifierSelection(org.eclipse.jface.viewers.ISelection selection, org.eclipse.ui.IWorkbenchPart part)
           
static org.eclipse.emf.common.notify.Notifier getStructureSelection(org.eclipse.jface.viewers.IStructuredSelection selection, org.eclipse.ui.IWorkbenchPart part)
           
static org.eclipse.emf.common.notify.Notifier getTextSelection(org.eclipse.jface.text.ITextSelection selection, org.eclipse.ui.IWorkbenchPart part)
           
static org.eclipse.emf.common.notify.Notifier getTreeSelection(org.eclipse.jface.viewers.ITreeSelection selection, org.eclipse.ui.IWorkbenchPart part)
           
static org.eclipse.emf.common.notify.Notifier getXtextOutlineSelection(org.eclipse.xtext.ui.editor.outline.impl.EObjectNode selection, org.eclipse.ui.IWorkbenchPart part)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionUtil

public SelectionUtil()
Method Detail

getNotifierSelection

@Nullable
public static org.eclipse.emf.common.notify.Notifier getNotifierSelection(@Nullable
                                                                                   org.eclipse.jface.viewers.ISelection selection,
                                                                                   @Nullable
                                                                                   org.eclipse.ui.IWorkbenchPart part)

getTreeSelection

@Nullable
public static org.eclipse.emf.common.notify.Notifier getTreeSelection(@NonNull
                                                                               org.eclipse.jface.viewers.ITreeSelection selection,
                                                                               @Nullable
                                                                               org.eclipse.ui.IWorkbenchPart part)

getStructureSelection

@Nullable
public static org.eclipse.emf.common.notify.Notifier getStructureSelection(@NonNull
                                                                                    org.eclipse.jface.viewers.IStructuredSelection selection,
                                                                                    @Nullable
                                                                                    org.eclipse.ui.IWorkbenchPart part)

getTextSelection

@Nullable
public static org.eclipse.emf.common.notify.Notifier getTextSelection(@NonNull
                                                                               org.eclipse.jface.text.ITextSelection selection,
                                                                               @Nullable
                                                                               org.eclipse.ui.IWorkbenchPart part)

getXtextOutlineSelection

@Nullable
public static org.eclipse.emf.common.notify.Notifier getXtextOutlineSelection(@NonNull
                                                                                       org.eclipse.xtext.ui.editor.outline.impl.EObjectNode selection,
                                                                                       @Nullable
                                                                                       org.eclipse.ui.IWorkbenchPart part)