Package com.allen_sauer.gwt.dnd.client

Examples of com.allen_sauer.gwt.dnd.client.PickupDragController


     *            the drop controller.
     */
    public void makeTabsDraggable(final DragHandler dragHandler, final DropController dropController)
    {
        draggable = true;
        tabDragController = new PickupDragController(tabBoundaryPanel, false);
        tabDragController.setBehaviorConstrainedToBoundaryPanel(true);
        tabDragController.setBehaviorMultipleSelection(false);
        tabDragController.setBehaviorDragStartSensitivity(DRAG_SENSITIVITY);
        tabDragController.addDragHandler(dragHandler);
        tabDragController.registerDropController(dropController);
View Full Code Here


        setSize("100%", "100%");
        setAlwaysShowScrollBars(false);
        panel.setSize("100%", "100%");
        add(panel);
       
        PickupDragController dragController = CommonGlobals.getInstance().getDragController();
        dragController.registerDropController(new DisposeDropController(this));
       
        this.presenter = new EditionPresenter(this);
    }
View Full Code Here

            }
        });
        new HistoryPresenter();
        RoleUtils.getInstance();
        FormEncodingFactory.register(FormEncodingClientFactory.getEncoder(), FormEncodingClientFactory.getDecoder());
        PickupDragController dragController = new PickupDragController(view, true);
        dragController.registerDropController(new DisposeDropController(view));
        CommonGlobals.getInstance().registerDragController(dragController);
       
        this.formExporter = new FormExporter();
        this.formExporter.start();
       
View Full Code Here

    private final I18NConstants i18n = FormBuilderGlobals.getInstance().getI18n();
    private final EventBus bus = CommonGlobals.getInstance().getEventBus();
    private final LayoutView layoutView;
   
    public LayoutPresenter(LayoutView view) {
        final PickupDragController dragController = CommonGlobals.getInstance().getDragController();
        this.layoutView = view;
        this.layoutView.startDropController(dragController, layoutView);
       
        this.bus.addHandler(RegisterLayoutEvent.TYPE, new RegisterLayoutHandler() {
            @Override
View Full Code Here

TOP

Related Classes of com.allen_sauer.gwt.dnd.client.PickupDragController

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.