Examples of DragViewOutline


Examples of org.apache.isis.viewer.dnd.view.base.DragViewOutline

        final int left = axis.getHeaderOffset();
        ;
        if (x < left - BORDER) {
            return Toolkit.getViewFactory().createDragContentOutline(this, drag.getLocation());
        } else if (x < left) {
            final View dragOverlay = new DragViewOutline(getView());
            return new ViewDragImpl(this, new Offset(drag.getLocation()), dragOverlay);
        } else {
            return super.dragStart(drag);
        }
    }
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.base.DragViewOutline

    @Override
    public DragEvent dragStart(final DragStart drag) {
        if (overBorder(drag.getLocation())) {
            final Location location = drag.getLocation();
            final DragViewOutline dragOverlay = new DragViewOutline(getView());
            return new ViewDragImpl(this, new Offset(location.getX(), location.getY()), dragOverlay);
        } else {
            return super.dragStart(drag);
        }
    }
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.base.DragViewOutline

    public DragEvent dragStart(final DragStart drag) {
        if (drag.getLocation().getX() > getSize().getWidth() - right) {
            if (getContent().getAdapter() == null) {
                return null;
            }
            final View dragOverlay = new DragViewOutline(getView());
            return new ViewDragImpl(this, new Offset(drag.getLocation()), dragOverlay);
        } else {
            return super.dragStart(drag);
        }
    }
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.base.DragViewOutline

        this.dragContentSpecification = dragContentSpecification;
    }

    @Override
    public View createDragViewOutline(final View view) {
        return new DragViewOutline(view);
    }
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.base.DragViewOutline

    }

    @Override
    public DragEvent dragStart(final DragStart drag) {
        if (drag.getLocation().getX() > getSize().getWidth() - right) {
            final View dragOverlay = new DragViewOutline(getView());
            return new ViewDragImpl(this, new Offset(drag.getLocation()), dragOverlay);
        } else if (overBorder(drag.getLocation())) {
            return Toolkit.getViewFactory().createDragContentOutline(this, drag.getLocation());
        } else {
            return super.dragStart(drag);
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.base.DragViewOutline

        final int left = axis.getHeaderOffset();
        ;
        if (x < left - BORDER) {
            return Toolkit.getViewFactory().createDragContentOutline(this, drag.getLocation());
        } else if (x < left) {
            final View dragOverlay = new DragViewOutline(getView());
            return new ViewDragImpl(this, new Offset(drag.getLocation()), dragOverlay);
        } else {
            return super.dragStart(drag);
        }
    }
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.base.DragViewOutline

        this.dragContentSpecification = dragContentSpecification;
    }

    @Override
    public View createDragViewOutline(final View view) {
        return new DragViewOutline(view);
    }
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.base.DragViewOutline

    }

    @Override
    public DragEvent dragStart(final DragStart drag) {
        if (drag.getLocation().getX() > getSize().getWidth() - right) {
            final View dragOverlay = new DragViewOutline(getView());
            return new ViewDragImpl(this, new Offset(drag.getLocation()), dragOverlay);
        } else if (overBorder(drag.getLocation())) {
            return Toolkit.getViewFactory().createDragContentOutline(this, drag.getLocation());
        } else {
            return super.dragStart(drag);
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.base.DragViewOutline

    }

    @Override
    public DragEvent dragStart(final DragStart drag) {
        if (drag.getLocation().getX() > getSize().getWidth() - right) {
            final View dragOverlay = new DragViewOutline(getView());
            return new ViewDragImpl(this, new Offset(drag.getLocation()), dragOverlay);
        } else if (overBorder(drag.getLocation())) {
            return Toolkit.getViewFactory().createDragContentOutline(this, drag.getLocation());
        } else {
            return super.dragStart(drag);
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.base.DragViewOutline

        final int left = axis.getHeaderOffset();
        ;
        if (x < left - BORDER) {
            return Toolkit.getViewFactory().createDragContentOutline(this, drag.getLocation());
        } else if (x < left) {
            final View dragOverlay = new DragViewOutline(getView());
            return new ViewDragImpl(this, new Offset(drag.getLocation()), dragOverlay);
        } else {
            return super.dragStart(drag);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.