part = (GraphEditPart) ((VertexEditPart) obj).getParent();
}
// execute the paste command
List<Vertex> contents = (List<Vertex>) getClipboardContents();
PasteCommand command = new PasteCommand(part, contents);
command.run();
if (command.isDirty()) {
execute(command);
}
}