*
*
* @return
*/
protected final EditPart getFirstSelectedEditPart() {
GraphicalViewer viewer = ((WebflowEditor) getWorkbenchPart()).getGraphViewer();
List list = viewer.getSelectedEditParts();
if (!list.isEmpty()) {
return (EditPart) list.get(0);
}
return null;
}