com.openindex.openestate.tool.utils.engine.ui.swing
Class PluginsTransferHandler

java.lang.Object
  extended by javax.swing.TransferHandler
      extended by com.openindex.openestate.tool.utils.engine.ui.swing.PluginsTransferHandler
All Implemented Interfaces:
Serializable

public class PluginsTransferHandler
extends TransferHandler

Support for drag & drop of plugin to install.
$Id: PluginsTransferHandler.java 856 2011-04-29 22:30:40Z andy $

Author:
Christophe Le Besnerais, Andreas Rudolph
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.TransferHandler
TransferHandler.DropLocation, TransferHandler.TransferSupport
 
Field Summary
 
Fields inherited from class javax.swing.TransferHandler
COPY, COPY_OR_MOVE, LINK, MOVE, NONE
 
Constructor Summary
PluginsTransferHandler(JDialog dialog, org.apache.http.client.HttpClient client)
           
 
Method Summary
 boolean canImport(JComponent comp, DataFlavor[] transferFlavors)
           
 boolean importData(JComponent comp, Transferable t)
           
 
Methods inherited from class javax.swing.TransferHandler
canImport, createTransferable, exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getPasteAction, getSourceActions, getVisualRepresentation, importData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginsTransferHandler

public PluginsTransferHandler(JDialog dialog,
                              org.apache.http.client.HttpClient client)
Method Detail

canImport

public boolean canImport(JComponent comp,
                         DataFlavor[] transferFlavors)
Overrides:
canImport in class TransferHandler

importData

public boolean importData(JComponent comp,
                          Transferable t)
Overrides:
importData in class TransferHandler


Copyright © 2012 OpenEstate. All Rights Reserved.