Examples of markDamaged()


Examples of org.apache.isis.viewer.dnd.view.View.markDamaged()

                final View sourceView = drag.getSource();
                if (!sourceView.getSpecification().isOpen()) {
                    final View[] subviews = getSubviews();
                    for (final View subview : subviews) {
                        if (subview == sourceView) {
                            sourceView.markDamaged();
                            sourceView.setLocation(dropLocation);
                            sourceView.markDamaged();
                            return;
                        }
                    }
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.View.markDamaged()

                    final View[] subviews = getSubviews();
                    for (final View subview : subviews) {
                        if (subview == sourceView) {
                            sourceView.markDamaged();
                            sourceView.setLocation(dropLocation);
                            sourceView.markDamaged();
                            return;
                        }
                    }
                } else {
                    for (final View view : iconViews) {
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.View.markDamaged()

    public void clearServiceViews() {
        final Enumeration e = serviceViews.elements();
        while (e.hasMoreElements()) {
            final View view = (View) e.nextElement();
            view.markDamaged();
        }
        serviceViews.clear();
    }

    protected View[] getWindowViews() {
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.View.markDamaged()

    }

    protected void replaceWrappedView(final View withReplacement) {
        final View root = getView();
        final View parent = getParent();
        parent.markDamaged();
        getViewManager().removeFromNotificationList(root);
        for (final View view : root.getSubviews()) {
            view.dispose();
        }
        wrappedView = withReplacement;
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.View.markDamaged()

                final int offset = getView().getPadding().getLeft();
                final Location location = getAbsoluteLocation();
                location.add(offset, 0);
                textView.setLocation(location);
                textView.markDamaged();
            }
        }
    }

    @Override
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.View.markDamaged()

        } else {
            final Location pos = parent.getLocation();
            bounds.translate(pos.getX(), pos.getY());
            final Padding pad = parent.getPadding();
            bounds.translate(pad.getLeft(), pad.getTop());
            parent.markDamaged(bounds);
        }
    }

    @Override
    public void mouseDown(final Click click) {
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.View.markDamaged()

        } else {
            final Location pos = parent.getLocation();
            bounds.translate(pos.getX(), pos.getY());
            final Padding pad = parent.getPadding();
            bounds.translate(pad.getLeft(), pad.getTop());
            parent.markDamaged(bounds);
        }
    }

    @Override
    public void mouseDown(final Click click) {
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.View.markDamaged()

                final int offset = getView().getPadding().getLeft();
                final Location location = getAbsoluteLocation();
                location.add(offset, 0);
                textView.setLocation(location);
                textView.markDamaged();
            }
        }
    }

    @Override
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.View.markDamaged()

                final View sourceView = drag.getSource();
                if (!sourceView.getSpecification().isOpen()) {
                    final View[] subviews = getSubviews();
                    for (final View subview : subviews) {
                        if (subview == sourceView) {
                            sourceView.markDamaged();
                            sourceView.setLocation(dropLocation);
                            sourceView.markDamaged();
                            return;
                        }
                    }
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.View.markDamaged()

                    final View[] subviews = getSubviews();
                    for (final View subview : subviews) {
                        if (subview == sourceView) {
                            sourceView.markDamaged();
                            sourceView.setLocation(dropLocation);
                            sourceView.markDamaged();
                            return;
                        }
                    }
                } else {
                    for (final View view : iconViews) {
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.