protected List getModelTargetConnections() {
return ((Box) getModel()).getTargetConnections();
}
protected void createEditPolicies() {
installEditPolicy(EditPolicy.COMPONENT_ROLE, new PageElementEditPolicy());
installEditPolicy(EditPolicy.GRAPHICAL_NODE_ROLE, new GraphicalNodeEditPolicy(){
protected Command getConnectionCompleteCommand( CreateConnectionRequest request ) {
ConnectionCreateCommand cmd = (ConnectionCreateCommand) request.getStartCommand();
cmd.setTarget((Box) getHost().getModel());