Eclipse Platform
Release 3.1

org.eclipse.ui
Interface IViewActionDelegate

All Superinterfaces:
IActionDelegate
All Known Implementing Classes:
RunToLineActionDelegate

public interface IViewActionDelegate
extends IActionDelegate

Interface for an action that is contributed into a view's local tool bar, pulldown menu, or popup menu. It extends IActionDelegate and adds an initialization method for connecting the delegate to the view it should work with.


Method Summary
 void init(IViewPart view)
          Initializes this action delegate with the view it will work in.
 
Methods inherited from interface org.eclipse.ui.IActionDelegate
run, selectionChanged
 

Method Detail

init

public void init(IViewPart view)
Initializes this action delegate with the view it will work in.

Parameters:
view - the view that provides the context for this delegate

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.