sk.uniba.euromath.editor.textEditor.requests.editTextRequests
Class ActivateTextEditingRequest
java.lang.Object
org.eclipse.gef.Request
sk.uniba.euromath.editor.textEditor.requests.editTextRequests.EditTextRequest
sk.uniba.euromath.editor.textEditor.requests.editTextRequests.ActivateTextEditingRequest
- All Implemented Interfaces:
- IRequestSpecialization
public class ActivateTextEditingRequest
- extends EditTextRequest
- implements IRequestSpecialization
Used when activating TextTool
- Author:
- Martin Kollar
Method Summary |
int |
getCaretOffset()
|
org.eclipse.gef.EditDomain |
getDomain()
|
String |
getSpecialization()
TODO Kollar ocakavam navrhy na zmenu mena tejto metody, ale getAction sa
mi zda byt metuce, lebo od getAction() by som cakal ze vrati nejaku
akciu. |
Methods inherited from class org.eclipse.gef.Request |
getExtendedData, getType, setExtendedData, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActivateTextEditingRequest
public ActivateTextEditingRequest(ITextPieceKeeper source,
int caretOffset,
org.eclipse.gef.EditDomain domain)
- Parameters:
source
- ITextPieceKeeper where the Caret is going to be activatedcaretOffset
- index from start of TextPiece before that Caret is
going to be activated
getDomain
public org.eclipse.gef.EditDomain getDomain()
getCaretOffset
public int getCaretOffset()
- Returns:
- index from start of TextPiece before that Caret is going to be activated
getSpecialization
public String getSpecialization()
- Description copied from interface:
IRequestSpecialization
- TODO Kollar ocakavam navrhy na zmenu mena tejto metody, ale getAction sa
mi zda byt metuce, lebo od getAction() by som cakal ze vrati nejaku
akciu. Ak suhlasis s menom tejto metody, staci ze zmazes toto TODO Return
request specialization unique string.
- Specified by:
getSpecialization
in interface IRequestSpecialization
- Returns:
- request specialization string
Copyright © 2003-2006 null. All Rights Reserved.