|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.swtbot.eclipse.gef.finder.widgets.SWTBotGefEditPart
public class SWTBotGefEditPart
represent an edit part of a graphical viewer.
SWTBotGefEditor
Field Summary | |
---|---|
protected org.eclipse.gef.EditPart |
part
|
protected SWTBotGefViewer |
viewer
|
Method Summary | |
---|---|
SWTBotGefEditPart |
activateDirectEdit()
|
SWTBotGefEditPart |
activateDirectEdit(Object feature)
|
List<SWTBotGefEditPart> |
children()
Get the children of this edit part. |
SWTBotGefEditPart |
click()
click on the edit part. |
SWTBotGefEditPart |
click(org.eclipse.draw2d.geometry.Point location)
click on the edit part at the specified location |
List<SWTBotGefEditPart> |
descendants(Matcher<? extends org.eclipse.gef.EditPart> matcher)
find descendants that match. |
SWTBotGefEditPart |
doubleClick()
double click on the edit part. |
void |
focus()
focus on this edit part |
SWTBotGefEditPart |
parent()
get the parent, or null if this is the root edit part. |
org.eclipse.gef.EditPart |
part()
get the underlying wrapped EditPart instance |
void |
resize(int direction,
int width,
int height)
Resize the current edit part from the corner orientation to the new size. |
SWTBotGefEditPart |
select()
select this edit part as a single selection |
List<SWTBotGefConnectionEditPart> |
sourceConnections()
|
List<SWTBotGefConnectionEditPart> |
targetConnections()
|
String |
toString()
provide a description of this edit part that is useful for debugging purposes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final org.eclipse.gef.EditPart part
protected final SWTBotGefViewer viewer
Method Detail |
---|
public SWTBotGefEditPart parent()
public List<SWTBotGefEditPart> children()
public List<SWTBotGefEditPart> descendants(Matcher<? extends org.eclipse.gef.EditPart> matcher)
matcher
- the matcher that matches against EditPart
public org.eclipse.gef.EditPart part()
EditPart
instance
EditPart
.public void focus()
public SWTBotGefEditPart select()
public SWTBotGefEditPart click()
public SWTBotGefEditPart click(org.eclipse.draw2d.geometry.Point location)
public SWTBotGefEditPart doubleClick()
public void resize(int direction, int width, int height)
PositionConstants.NORTH
, PositionConstants.NORTH_EAST
, etc.
direction
- the directionwidth
- the new widthheight
- the new heightpublic SWTBotGefEditPart activateDirectEdit()
public SWTBotGefEditPart activateDirectEdit(Object feature)
public String toString()
toString
in class Object
public List<SWTBotGefConnectionEditPart> sourceConnections()
public List<SWTBotGefConnectionEditPart> targetConnections()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |