Skip to content

Commit

Permalink
Removed references to hidden classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioz committed Jul 2, 2023
1 parent 4fab252 commit c41f8aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
Expand Up @@ -12,7 +12,6 @@
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.search.internal.ui.SearchPlugin;
import org.eclipse.swt.dnd.DND;
import org.eclipse.swt.dnd.DragSource;
import org.eclipse.swt.dnd.DragSourceAdapter;
Expand Down Expand Up @@ -87,7 +86,7 @@ public void dragFinished(DragSourceEvent event) {
try {
resource.delete(IResource.KEEP_HISTORY | IResource.FORCE, null);
} catch (CoreException e) {
StatusManager.getManager().handle(e, SearchPlugin.getID());
StatusManager.getManager().handle(e, "com.python.pydev.refactoring");
}
}
} else if (event.detail == DND.DROP_TARGET_MOVE) {
Expand All @@ -102,7 +101,7 @@ public void dragFinished(DragSourceEvent event) {
try {
resource.refreshLocal(IResource.DEPTH_INFINITE, null);
} catch (CoreException e) {
StatusManager.getManager().handle(e, SearchPlugin.getID());
StatusManager.getManager().handle(e, "com.python.pydev.refactoring");
}
}
}
Expand Down
Expand Up @@ -12,8 +12,6 @@
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.search.internal.ui.SearchMessages;
import org.eclipse.search.internal.ui.SearchPlugin;
import org.eclipse.swt.dnd.DND;
import org.eclipse.swt.dnd.DragSource;
import org.eclipse.swt.dnd.DragSourceAdapter;
Expand All @@ -32,9 +30,9 @@
* navigator. Copied from deprecated org.eclipse.ui.views.navigator.NavigatorDragAdapter
*/
public class NavigatorDragAdapter extends DragSourceAdapter {
private static final String CHECK_MOVE_TITLE = SearchMessages.DragAdapter_title;
private static final String CHECK_MOVE_TITLE = "Check Move";

private static final String CHECK_DELETE_MESSAGE = SearchMessages.DragAdapter_checkDeleteMessage;
private static final String CHECK_DELETE_MESSAGE = "{0} is read-only. Do you still wish to delete it?";

ISelectionProvider selectionProvider;

Expand Down Expand Up @@ -88,7 +86,7 @@ public void dragFinished(DragSourceEvent event) {
try {
resource.delete(IResource.KEEP_HISTORY | IResource.FORCE, null);
} catch (CoreException e) {
StatusManager.getManager().handle(e, SearchPlugin.getID());
StatusManager.getManager().handle(e, "org.python.pydev.shared_ui");
}
}
} else if (event.detail == DND.DROP_TARGET_MOVE) {
Expand All @@ -103,7 +101,7 @@ public void dragFinished(DragSourceEvent event) {
try {
resource.refreshLocal(IResource.DEPTH_INFINITE, null);
} catch (CoreException e) {
StatusManager.getManager().handle(e, SearchPlugin.getID());
StatusManager.getManager().handle(e, "org.python.pydev.shared_ui");
}
}
}
Expand Down

0 comments on commit c41f8aa

Please sign in to comment.