- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
if (tp != null) {
DocElement d = (DocElement)tp.getLastPathComponent();
if (d.getElementType() == Constants.TYPE_FOLDER) {
context.setCursor(DragSource.DefaultMoveDrop);
if (d.getElementType()==Constants.TYPE_FOLDER) {
tree.setSelectionPath(tp);
tree.expandPath(tp);
}
}else {
context.setCursor(DragSource.DefaultMoveNoDrop);
}
}
jericho 29.03.2010 15:50 # −1