Package org.thechiselgroup.choosel.dnd.client.windows

Examples of org.thechiselgroup.choosel.dnd.client.windows.WindowPanel


            DefaultResourceSetCollector persistanceManager) {

        List<WindowPanel> windows = desktop.getWindows();
        List<WindowDTO> windowDTOs = new ArrayList<WindowDTO>();
        for (int i = 0; i < windows.size(); i++) {
            WindowPanel window = windows.get(i);
            WindowContent windowContent = window.getViewContent();

            if (!(windowContent instanceof Persistable)) {
                continue;
            }
View Full Code Here


        shade.addClassName(CSS_SHADE_CLASS);

        CSS.setZIndex(shade, CSS_SHADE_Z_INDEX);

        WindowPanel window = getWindow(dropTarget);
        CSS.setAbsoluteBounds(shade,
                dropTarget.getAbsoluteLeft() - window.getAbsoluteLeft(),
                dropTarget.getAbsoluteTop() - window.getAbsoluteTop(),
                dropTarget.getOffsetWidth(), dropTarget.getOffsetHeight());

        return shade;
    }
View Full Code Here

    private List<Area> getDropTargetAreas() {
        List<Area> areas = new ArrayList<Area>();
        for (ResourceSetAvatarDropController dropController : getAvailableDropControllers()) {
            Widget dropTarget = dropController.getDropTarget();
            Rectangle rectangle = Rectangle.fromWidget(dropTarget);
            WindowPanel window = getWindow(dropTarget);

            areas.add(new Area(rectangle, window, dropController));
        }
        return areas;
    }
View Full Code Here

TOP

Related Classes of org.thechiselgroup.choosel.dnd.client.windows.WindowPanel

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.