| | |
| | | * information: "Portions Copyright [year] [name of copyright owner]". |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2015 ForgeRock AS. |
| | | * Portions Copyright 2015-2016 ForgeRock AS. |
| | | */ |
| | | package org.opends.guitools.controlpanel.ui.nodes; |
| | | |
| | |
| | | /** The component that contains the nodes. */ |
| | | private Component parent; |
| | | |
| | | /** |
| | | /* |
| | | * Transferable implementation |
| | | * ============================================ |
| | | */ |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public boolean isDataFlavorSupported(DataFlavor df) { |
| | | return df.equals(INFO_FLAVOR); |
| | | } |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public Object getTransferData(DataFlavor df) |
| | | throws UnsupportedFlavorException, IOException { |
| | |
| | | return this; |
| | | } |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public DataFlavor[] getTransferDataFlavors() { |
| | | return FLAVORS; |