* @see org.eclipse.jface.action.Action#run()
*/
public void run() {
Object flowModelElement = getFirstSelectedEditPart().getModel();
if (flowModelElement instanceof IWebflowModelElement) {
IWebflowModelElement element = (IWebflowModelElement) flowModelElement;
WebflowEditorInput input = WebflowUtils.getActiveFlowEditorInput();
IResource file = input.getFile();
if (file != null && file.exists()) {
SpringUIUtils.openInEditor((IFile) file, input
.getElementStartLine(element.getNode()));
}
}
}