Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 8fb8a9f6909600cbf1669f94a79ad762cd4f8297 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package org.eclipse.emf.cdo.internal.ui.actions;

import org.eclipse.emf.cdo.internal.ui.views.CDOViewHistory;

import org.eclipse.net4j.util.ui.actions.LongRunningAction;

import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.IWorkbenchPage;

/**
 * @author Eike Stepper
 */
public abstract class EntryAction extends LongRunningAction
{
  private CDOViewHistory.Entry entry;

  public EntryAction(IWorkbenchPage page, String text, String toolTipText, ImageDescriptor image,
      CDOViewHistory.Entry entry)
  {
    super(page, text, toolTipText, image);
    this.entry = entry;
  }

  public CDOViewHistory.Entry getEntry()
  {
    return entry;
  }
}

Back to the top