Runtime

org.eclipse.gmf.runtime.common.ui.action.ide.actions.global
Class RenameResourceGlobalActionHandler

java.lang.Object
  extended by org.eclipse.gmf.runtime.common.ui.services.action.global.AbstractGlobalActionHandler
      extended by org.eclipse.gmf.runtime.common.ui.action.actions.global.ResourceGlobalActionHandler
          extended by org.eclipse.gmf.runtime.common.ui.action.ide.actions.global.RenameResourceGlobalActionHandler
All Implemented Interfaces:
IGlobalActionHandler

public class RenameResourceGlobalActionHandler
extends ResourceGlobalActionHandler

Global action handler that renames resources using an inline editor on the active workbench part. The active part must adapt to org.eclipse.gmf.runtime.common.ui.util.IInlineTextEditorPart.


Constructor Summary
RenameResourceGlobalActionHandler()
           
 
Method Summary
 ICommand getCommand(IGlobalActionContext cntxt)
          Return the ICommand for the context
 
Methods inherited from class org.eclipse.gmf.runtime.common.ui.action.actions.global.ResourceGlobalActionHandler
canHandle, getResourceSelection, getShell
 
Methods inherited from class org.eclipse.gmf.runtime.common.ui.services.action.global.AbstractGlobalActionHandler
getLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenameResourceGlobalActionHandler

public RenameResourceGlobalActionHandler()
Method Detail

getCommand

public ICommand getCommand(IGlobalActionContext cntxt)
Description copied from interface: IGlobalActionHandler
Return the ICommand for the context

Parameters:
cntxt - The context
Returns:
ICommand

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.