Examples of PaletteDropInsertCommand


Examples of org.eclipse.jst.pagedesigner.commands.PaletteDropInsertCommand

        return command;
      }
    } else if (TemplateTransfer.getInstance().isSupportedType(
        event.currentDataType)) {
      Object data = event.data;
      PaletteDropInsertCommand command = null;
      if (data instanceof IDropSourceData) {
          final IDropSourceData dropSourceData = (IDropSourceData) data;
          // "Create new item"
        command = new PaletteDropInsertCommand(
            PageDesignerResources
                .getInstance()
                .getString(
                    "DesignerSourceDropTargetListener.InserCommandLabel"), _textEditor, dropSourceData, _location); //$NON-NLS-1$
       
View Full Code Here

Examples of org.eclipse.jst.pagedesigner.commands.PaletteDropInsertCommand

        // 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);
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.