Package org.eclipse.wb.gef.core.requests

Examples of org.eclipse.wb.gef.core.requests.LocationRequest


  @Override
  protected boolean isRequestCondition(Request request) {
    // active only in top 15 pixels
    if (request instanceof LocationRequest) {
      LocationRequest locationRequest = (LocationRequest) request;
      Point location = locationRequest.getLocation().getCopy();
      PolicyUtils.translateAbsoluteToModel(this, location);
      if (location.y >= 15) {
        eraseTargetFeedback(request);
        return false;
      }
View Full Code Here

TOP

Related Classes of org.eclipse.wb.gef.core.requests.LocationRequest

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.