}
return false;
}
public int getSourceActions(JComponent comp) {
AWorkspaceModeExtension ctrl = WorkspaceController.getCurrentModeExtension();
if(ctrl.getView().containsComponent(comp)) {
TreePath selectionPath = ctrl.getView().getSelectionPath();
if(selectionPath != null) {
if(selectionPath.getLastPathComponent() instanceof WorkspaceRootNode) {
return NONE;
}
//SYSTEM NODES are vulnerable for DnD move events (e.g. Copy a system file link and delete the copy hard afterwards, maybe the original will also be deleted.)