Package de.fu_berlin.inf.dpp.whiteboard.gef.commands

Examples of de.fu_berlin.inf.dpp.whiteboard.gef.commands.ElementRecordChangeLayoutCommand


  protected Command createChangeConstraintCommand(EditPart child,
      Object constraint) {

    log.trace("Create Change Constraint Command " + child);

    ElementRecordChangeLayoutCommand command = null;

    if (child instanceof ElementRecordPart) {
      normalizeConstraint((Rectangle) constraint, MIN_WIDTH, MIN_HEIGHT);
      command = new ElementRecordChangeLayoutCommand();
      command.setConstraint((Rectangle) constraint);
      command.setModel(child.getModel());
    }

    return command;
  }
View Full Code Here

TOP

Related Classes of de.fu_berlin.inf.dpp.whiteboard.gef.commands.ElementRecordChangeLayoutCommand

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.