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
Answertopia.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 ISystemRenameTarget

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

public interface ISystemRenameTarget
extends ISelectionProvider

Any UI part that supports the common rename action can implement this to enable the rename popup menu action, supplied by the system explorer view.


Method Summary
 boolean canRename ()
          Return true if rename should be enabled based on your current selection.
 boolean doRename ( String[] newNames)
          Actually do the rename of currently selected items.
 boolean showRename ()
          Return true if rename should even be shown in the popup menu
 
Methods inherited from interface org.eclipse.jface.viewers. ISelectionProvider
addSelectionChangedListener, getSelection, removeSelectionChangedListener, setSelection
 

Method Detail

showRename

boolean showRename()
Return true if rename should even be shown in the popup menu


canRename

boolean canRename()
Return true if rename should be enabled based on your current selection.


doRename

boolean doRename(
String[] newNames)
Actually do the rename of currently selected items. The array of new names matches the 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