Protege 3.4.1

edu.stanford.smi.protege.ui
Class SlotsTreeTarget

java.lang.Object
  extended by edu.stanford.smi.protege.util.TreeTarget
      extended by edu.stanford.smi.protege.ui.SlotsTreeTarget
All Implemented Interfaces:
DropTargetListener, EventListener

public class SlotsTreeTarget
extends TreeTarget

Target support for Slots tree drag and drop support. Note that both move and copy drop operations result in an add of a superslot. The source will disconnect the old superclass if the operation was a move.


Constructor Summary
SlotsTreeTarget()
           
 
Method Summary
 boolean doDrop(JTree tree, Object source, int targetRow, Object area)
           
 String toString()
           
 
Methods inherited from class edu.stanford.smi.protege.util.TreeTarget
doDrop, dragEnter, dragExit, dragOver, drop, dropActionChanged, getLastDropSucceeded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SlotsTreeTarget

public SlotsTreeTarget()
Method Detail

doDrop

public boolean doDrop(JTree tree,
                      Object source,
                      int targetRow,
                      Object area)
Specified by:
doDrop in class TreeTarget

toString

public String toString()
Overrides:
toString in class Object

Protege 3.4.1

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2009 Stanford University.