Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.ui
Interface ISystemDeleteTarget

All Superinterfaces:
ISelectionProvider
All Known Implementing Classes:
SystemCommandsView, SystemTableView

public interface ISystemDeleteTarget
extends ISelectionProvider

Any UI part that supports global deletion can implement this to enable the Edit menu's delete item.


Method Summary
 boolean canDelete ()
          Return true if delete should be enabled based on your current selection.
 boolean doDelete ( IProgressMonitor monitor)
          Actually do the delete of currently selected items.
 boolean showDelete ()
          Return true if delete should even be shown in the popup menu
 
Methods inherited from interface org.eclipse.jface.viewers. ISelectionProvider
addSelectionChangedListener, getSelection, removeSelectionChangedListener, setSelection
 

Method Detail

showDelete

boolean showDelete()
Return true if delete should even be shown in the popup menu


canDelete

boolean canDelete()
Return true if delete should be enabled based on your current selection.


doDelete

boolean doDelete(
IProgressMonitor monitor)
Actually do the delete of currently selected items. Return true if it worked. Return false if it didn't (you display msg), or throw an exception (framework displays msg)


RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire