1 11 package org.eclipse.ui.navigator; 12 13 import org.eclipse.ui.IActionBars; 14 import org.eclipse.ui.IMemento; 15 import org.eclipse.ui.actions.ActionGroup; 16 17 60 public abstract class CommonActionProvider extends ActionGroup implements 61 IMementoAware { 62 63 private ICommonActionExtensionSite actionSite; 64 65 78 public void init(ICommonActionExtensionSite aSite) { 79 actionSite = aSite; 80 } 81 82 97 public void restoreState(IMemento aMemento) { 98 } 99 100 117 public void saveState(IMemento aMemento) { 118 } 119 120 125 protected final ICommonActionExtensionSite getActionSite() { 126 return actionSite; 127 } 128 129 } 130 | Popular Tags |