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

Examples of de.fu_berlin.inf.dpp.whiteboard.gef.request.CreatePointlistRequest


*/
public class PointlistCreationTool extends CreationToolWithoutSelection {

  @Override
  protected Request createTargetRequest() {
    CreatePointlistRequest request = new CreatePointlistRequest();
    request.setFactory(getFactory());
    return request;
  }
View Full Code Here


   * Adds the current location to the point list of the
   * CreatePointlistRequest.
   */
  @Override
  protected void updateTargetRequest() {
    CreatePointlistRequest req = getCreatePointlistRequest();
    if (isInState(STATE_DRAG)) {
      req.addPoint(getLocation());
    } else {
      req.clear();
      req.setLocation(getLocation());
    }
  }
View Full Code Here

TOP

Related Classes of de.fu_berlin.inf.dpp.whiteboard.gef.request.CreatePointlistRequest

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.