org.eclipse.gmt.umlx.editor.actions
Class PositionedSelection

java.lang.Object
  extended by org.eclipse.jface.viewers.StructuredSelection
      extended by org.eclipse.gmt.umlx.editor.actions.PositionedSelection
All Implemented Interfaces:
org.eclipse.jface.viewers.ISelection, org.eclipse.jface.viewers.IStructuredSelection

public class PositionedSelection
extends org.eclipse.jface.viewers.StructuredSelection

A PositionedSelection keeps track of the location of a cut/copied set of objects during a cut and paste.


Field Summary
 
Fields inherited from class org.eclipse.jface.viewers.StructuredSelection
EMPTY
 
Constructor Summary
PositionedSelection(org.eclipse.draw2d.geometry.Point origin, java.util.List<java.lang.Object> selectedObjects)
           
 
Method Summary
 org.eclipse.draw2d.geometry.Point getOrigin()
           
 
Methods inherited from class org.eclipse.jface.viewers.StructuredSelection
equals, getFirstElement, isEmpty, iterator, size, toArray, toList, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PositionedSelection

public PositionedSelection(org.eclipse.draw2d.geometry.Point origin,
                           java.util.List<java.lang.Object> selectedObjects)
Method Detail

getOrigin

public org.eclipse.draw2d.geometry.Point getOrigin()