Package org.eclipse.ui.part

Examples of org.eclipse.ui.part.PluginTransferData


        // For a PluginTransfer, we transmit the URI of the element.
        // The DropListener is responsible for handling this.
        Object uri = selectedElement.getProperty(ResultProperty.URI
            .name());
        if (uri != null)
          event.data = new PluginTransferData(
              "de.uni_mannheim.swt.codeconjurer.ui.dnd.pluginDropAction",
              (((String) uri).getBytes()));
        logger.debug("PluginTransfer triggered for " + uri);
      }
    } catch (Exception e) {
View Full Code Here


        // For a PluginTransfer, we transmit the URI of the element.
        // The DropListener is responsible for handling this.
        Object uri = selectedElement.getProperty(ResultProperty.URI
            .name());
        if (uri != null)
          event.data = new PluginTransferData(
              "de.uni_mannheim.swt.codeconjurer.ui.dnd.pluginDropAction",
              (((String) uri).getBytes()));
        logger.debug("PluginTransfer triggered for " + uri);
      } else if (TextTransfer.getInstance().isSupportedType(
          event.dataType)) {
View Full Code Here

TOP

Related Classes of org.eclipse.ui.part.PluginTransferData

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.