01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui;
11:
12: /**
13: * Interface for an action that is contributed into a view's local tool bar,
14: * pulldown menu, or popup menu. It extends <code>IActionDelegate</code>
15: * and adds an initialization method for connecting the delegate to the view it
16: * should work with.
17: */
18: public interface IViewActionDelegate extends IActionDelegate {
19: /**
20: * Initializes this action delegate with the view it will work in.
21: *
22: * @param view the view that provides the context for this delegate
23: */
24: public void init(IViewPart view);
25: }
|