Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/port80/eclipse/jdt/history/HistoryActions.java


1   package com.port80.eclipse.jdt.history;
2   
3   import org.eclipse.jface.action.IAction;
4   import org.eclipse.jface.viewers.ISelection;
5   import org.eclipse.ui.IWorkbenchWindow;
6   import org.eclipse.ui.IWorkbenchWindowActionDelegate;
7   
8   import com.port80.eclipse.jdt.JdtPlugin;
9   
10  /**
11   * @see IWorkbenchWindowActionDelegate
12   */
13  public class HistoryActions implements IWorkbenchWindowActionDelegate {
14  
15    private IWorkbenchWindow window;
16  
17    /**
18     * The constructor.
19     */
20    public HistoryActions() {
21    }
22   
23    /**
24     * Insert the method's description here.
25     * @see IWorkbenchWindowActionDelegate#run
26     */
27    public void run(IAction action) {
28      JdtPlugin.getEditorHistory().initActions();
29    }
30    /**
31      * Insert the method's description here.
32      * @see IWorkbenchWindowActionDelegate#selectionChanged
33      */
34    public void selectionChanged(IAction action, ISelection select) {
35    }
36  
37    /**
38     * Insert the method's description here.
39     * @see IWorkbenchWindowActionDelegate#dispose
40     */
41    public void dispose() {
42    }
43  
44    /**
45     * Insert the method's description here.
46     * @see IWorkbenchWindowActionDelegate#init
47     */
48    public void init(IWorkbenchWindow window) {
49      this.window = window;
50    }
51  }