Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

DraggableVariablesList.java

00001 package edu.ksu.cis.bandera.pdgslicer.dependency;
00002 
00003 import java.awt.*;
00004 import java.awt.dnd.*;
00005 import java.awt.datatransfer.*;
00006 
00007 import java.util.Hashtable;
00008 import java.util.List;
00009 import java.util.Iterator;
00010 
00011 import java.io.*;
00012 import java.io.IOException;
00013 import edu.ksu.cis.bandera.pdgslicer.datastructure.*;
00014 /**
00015  * Insert the type's description here.
00016  * Creation date: (00-11-20 10:02:34)
00017  * @author: 
00018  */
00019 public class DraggableVariablesList extends DraggableList {
00020 /**
00021  * DraggableVariablesList constructor comment.
00022  */
00023 public DraggableVariablesList() {
00024     super();
00025 }
00026 /**
00027    * a drag gesture has been initiated
00028    * 
00029    */
00030 
00031 public void dragGestureRecognized(DragGestureEvent event) {
00032     SliceVariable selected = (SliceVariable) getSelectedValue();
00033     if (selected != null) {
00034         currentDraggingListNode = new TransferableSliceVariable(selected);
00035         dragSource.startDrag(event, DragSource.DefaultCopyDrop, currentDraggingListNode, this);
00036     } else {
00037         System.out.println("nothing was selected");
00038     }
00039 }
00040 }

Generated at Thu Feb 7 06:44:39 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001