1 11 package org.eclipse.ui.menus; 12 13 import org.eclipse.core.expressions.IEvaluationContext; 14 import org.eclipse.jface.action.ContributionManager; 15 import org.eclipse.ui.services.IServiceWithSources; 16 17 29 public interface IMenuService extends IServiceWithSources { 30 31 45 public void addContributionFactory(AbstractContributionFactory factory); 46 47 61 public void removeContributionFactory(AbstractContributionFactory factory); 62 63 76 public void populateContributionManager(ContributionManager mgr, 77 String location); 78 79 89 public void releaseContributions(ContributionManager mgr); 90 91 98 public IEvaluationContext getCurrentState(); 99 } 100 | Popular Tags |