net.infonode.docking.drop
Class AcceptAllDropFilter

java.lang.Object
  extended by net.infonode.docking.drop.AcceptAllDropFilter
All Implemented Interfaces:
DropFilter

public class AcceptAllDropFilter
extends java.lang.Object
implements DropFilter

A DropFilter that will accept drop of any window.

Since:
IDW 1.4.0
Version:
$Revision: 1.4 $
Author:
$Author: jesper $

Field Summary
static AcceptAllDropFilter INSTANCE
          The only instance of this class
private static long serialVersionUID
           
 
Constructor Summary
private AcceptAllDropFilter()
           
 
Method Summary
 boolean acceptDrop(DropInfo dropInfo)
          Return true if the drop should be accepted, otherwise false.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

INSTANCE

public static AcceptAllDropFilter INSTANCE
The only instance of this class

Constructor Detail

AcceptAllDropFilter

private AcceptAllDropFilter()
Method Detail

acceptDrop

public boolean acceptDrop(DropInfo dropInfo)
Description copied from interface: DropFilter
Return true if the drop should be accepted, otherwise false.

Specified by:
acceptDrop in interface DropFilter
Parameters:
dropInfo - information about the current drop
Returns:
true if drop is to be accepted, otherwise false