* Policy for editing an element node.
*/
public class ElementNodeEditPolicy extends GraphicalNodeEditPolicy {
protected Command getConnectionCompleteCommand(CreateConnectionRequest request) {
ElementConnectionCreateCommand cmd =
(ElementConnectionCreateCommand) request.getStartCommand();
cmd.setConnection((ElementConnection) request.getNewObject());
cmd.setTarget(getElement());
return cmd;
}