org.eclipse.ecf.docshare.messages
Class SelectionMessage

java.lang.Object
  extended by org.eclipse.ecf.docshare.messages.Message
      extended by org.eclipse.ecf.docshare.messages.SelectionMessage
All Implemented Interfaces:
java.io.Serializable, org.eclipse.core.runtime.IAdaptable, IModelChangeMessage

public class SelectionMessage
extends Message

Since:
2.1
See Also:
Serialized Form

Constructor Summary
SelectionMessage(int offset, int length)
           
SelectionMessage(int offset, int length, int startLine, int endLine)
           
 
Method Summary
 int getEndLine()
           
 int getLength()
           
 int getOffset()
           
 int getStartLine()
           
 
Methods inherited from class org.eclipse.ecf.docshare.messages.Message
deserialize, getAdapter, serialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionMessage

public SelectionMessage(int offset,
                        int length,
                        int startLine,
                        int endLine)

SelectionMessage

public SelectionMessage(int offset,
                        int length)
Method Detail

getOffset

public int getOffset()
Returns:
the offset

getLength

public int getLength()
Returns:
the length

getStartLine

public int getStartLine()
Returns:
the startLine

getEndLine

public int getEndLine()
Returns:
the endLine