Package org.dyno.visual.swing.plugin.spi

Examples of org.dyno.visual.swing.plugin.spi.IDesignOperation.dragExit()


        adapter = ExtensionRegistry.createWidgetAdapter(popup);
      Point sp = new Point(p);
      SwingUtilities.convertPointToScreen(sp, jmenu);
      SwingUtilities.convertPointFromScreen(sp, popup);
      IDesignOperation operation = (IDesignOperation) adapter.getAdapter(IDesignOperation.class);
      operation.dragExit(sp);
      return true;
    } else {
      inside_popup=false;
      setDropStatus(NOOP);
    }
View Full Code Here


          CompositeAdapter compositeAdapter = (CompositeAdapter) adapter;
          if (hoveredAdapter != compositeAdapter) {
            if (hoveredAdapter != null) {
              IDesignOperation operation = (IDesignOperation) hoveredAdapter.getAdapter(IDesignOperation.class);
              if (operation != null)
                operation.dragExit(hoveredAdapter.convertToLocal(p));
            }
            hoveredAdapter = compositeAdapter;
            IDesignOperation operation = (IDesignOperation) hoveredAdapter.getAdapter(IDesignOperation.class);
            if (operation != null)
              operation.dragEnter(hoveredAdapter.convertToLocal(p));
View Full Code Here

        }
      } else {
        if (hoveredAdapter != null) {
          IDesignOperation operation = (IDesignOperation) hoveredAdapter.getAdapter(IDesignOperation.class);
          if (operation != null) {
            operation.dragExit(hoveredAdapter.convertToLocal(p));
          }
          hoveredAdapter = null;
        }
        glassPlane.setHotspotPoint(p);
      }
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.