1 28 29 package org.objectweb.util.explorer.core.dnd.lib; 30 31 import org.objectweb.util.explorer.api.DropTreeView; 32 import org.objectweb.util.explorer.api.Entry; 33 import org.objectweb.util.explorer.api.Tree; 34 import org.objectweb.util.explorer.core.common.lib.DefaultTreeView; 35 36 43 public class DefaultDropTreeView 44 extends DefaultTreeView 45 implements DropTreeView { 46 47 53 54 public Entry dragSource_ = null; 55 56 62 65 public DefaultDropTreeView(Tree tree, Entry current, Entry parent, Entry dragSource){ 66 super(tree, current, parent); 67 dragSource_ = dragSource; 68 } 69 70 76 82 85 public Object getDragSourceObject(){ 86 return getValue(dragSource_); 87 } 88 89 92 public Entry getDragSourceEntry(){ 93 return dragSource_; 94 } 95 96 } 97 | Popular Tags |