public class EditorActionContext extends ActionContext
Constructor and Description |
---|
EditorActionContext(ISelection selection,
TestEditor editor)
Creates an action context corresponding to an ADD or INSERT action.
|
EditorActionContext(TestEditor editor,
ISelection selection)
Creates an action context corresponding to an ADD action.
|
EditorActionContext(TestEditor editor,
ISelection selection,
int i)
Creates an action context corresponding to an INSERT action.
|
Modifier and Type | Method and Description |
---|---|
void |
addInsertionPoint(int newInsertionPoint) |
Integer[] |
getAllInsertionPoints() |
int |
getInsertionPoint() |
TestEditor |
getTestEditor() |
boolean |
isContiguousInsertionPoints() |
void |
setInsertionPoint(int insertionPoint)
Deprecated.
Not used.
|
getInput, getSelection, setInput, setSelection
public EditorActionContext(TestEditor editor, ISelection selection)
selection
- public EditorActionContext(TestEditor editor, ISelection selection, int i)
selection
- public EditorActionContext(ISelection selection, TestEditor editor)
EditorActionContext.addInsertionPoint(int)
.selection
- public void addInsertionPoint(int newInsertionPoint)
public TestEditor getTestEditor()
public int getInsertionPoint()
public Integer[] getAllInsertionPoints()
public void setInsertionPoint(int insertionPoint)
insertionPoint
- The insertionPoint to set.public boolean isContiguousInsertionPoints()
© Copyright IBM Corp. 2013. All rights reserved.