Protege 3.3.1

edu.stanford.smi.protege.ui
Class SlotsTreeDragSourceListener

java.lang.Object
  extended by edu.stanford.smi.protege.util.TreeDragSourceListener
      extended by edu.stanford.smi.protege.ui.SlotsTreeDragSourceListener
All Implemented Interfaces:
DragGestureListener, DragSourceListener, EventListener

public class SlotsTreeDragSourceListener
extends TreeDragSourceListener

Source listener drag and drop support for the ClsesTree. All this guy has to do is to disconnect a class from its superclass on a successful move/drop operation.


Constructor Summary
SlotsTreeDragSourceListener()
           
 
Method Summary
 boolean canStartDrag(Collection objects)
           
 void doCopy(Collection paths)
           
 void doMove(Collection paths)
           
 
Methods inherited from class edu.stanford.smi.protege.util.TreeDragSourceListener
dragDropEnd, dragEnter, dragExit, dragGestureRecognized, dragOver, dropActionChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlotsTreeDragSourceListener

public SlotsTreeDragSourceListener()
Method Detail

canStartDrag

public boolean canStartDrag(Collection objects)
Specified by:
canStartDrag in class TreeDragSourceListener

doCopy

public void doCopy(Collection paths)
Specified by:
doCopy in class TreeDragSourceListener

doMove

public void doMove(Collection paths)
Specified by:
doMove in class TreeDragSourceListener

Protege 3.3.1

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