Package org.eclipse.jst.pagedesigner.editors.palette

Examples of org.eclipse.jst.pagedesigner.editors.palette.IDropSourceDataProvider


  public void mouseDown(MouseEvent e) {
        // do nothing
  }

  private PaletteDropInsertCommand getCommand(MouseEvent event) {
      IDropSourceDataProvider data = getPaletteObject();
    PaletteDropInsertCommand command = null;
    if (data != null) {
      // "Create new item"
      command = new PaletteDropInsertCommand(
          PageDesignerResources
              .getInstance()
              .getString(
                  "DesignerSourceDropTargetListener.InserCommandLabel"), //$NON-NLS-1$
          _textEditor, data.getDropSourceData(), _location);
    }
    return command;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jst.pagedesigner.editors.palette.IDropSourceDataProvider

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.