Community
Participate
Working Groups
((CreateRequest) theRequest).setLocation(thePoint);
}
Command theCmd = getHost().getCommand(theRequest);
EditPart target = getHost().getTargetEditPart(theRequest);
if (target == null){
target = getHost();
Command theCmd = target.getCommand(theRequest);
// if we return a cmd that cannot execute then later downstream an
// NPE can be generated.
if (theCmd != null && theCmd.canExecute()) {