Package org.eclipse.jst.pagedesigner.validation.caret

Examples of org.eclipse.jst.pagedesigner.validation.caret.DnDPositionValidator


  public boolean checkInsertElement(LocalDropRequest request,
      EditPart[] host, Map results, DesignPosition[] dpHolder,
      IDOMPosition[] position) {
    DesignPosition designPosition = EditPartPositionHelper
        .findEditPartPosition(host[0], request.getLocation(),
            new DnDPositionValidator(new ActionData(
                ActionData.DATABINDING_DND, request)));
    dpHolder[0] = designPosition;
    if (designPosition == null) {
      return false;
    }
View Full Code Here


        }
    }

    protected final IPositionMediator createDefaultDropChildValidator(DropData r)
    {
        return new DnDPositionValidator(new DropActionData(
                ActionData.COMPONENT_MOVE, r));
    }
View Full Code Here

        }
        return position;
    }

    protected final IPositionMediator createDefaultDropChildValidator(DropData data) {
        return new DnDPositionValidator(new DropActionData(
                ActionData.PALETTE_DND, data));    }
View Full Code Here

TOP

Related Classes of org.eclipse.jst.pagedesigner.validation.caret.DnDPositionValidator

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.