Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui
Interface ISystemRenameTarget

All Known Implementing Classes:
SystemFilterWorkWithFilterPoolsDialog, SystemScratchpadView, SystemTableTreeView, SystemTableView, SystemTeamViewPart, SystemView

public interface ISystemRenameTarget

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.


Field Summary
static String copyright
           
 
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
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Method Detail

showRename

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


canRename

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


doRename

public 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)


Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.