1 11 12 package org.eclipse.ui.menus; 13 14 import org.eclipse.jface.action.IContributionItem; 15 import org.eclipse.ui.services.IServiceLocator; 16 17 61 public abstract class AbstractContributionFactory { 62 private String location = null; 63 private String namespace; 64 65 76 public AbstractContributionFactory(String location, String namespace) { 77 this.location = location; 78 this.namespace = namespace; 79 } 80 81 86 public String getLocation() { 87 return location; 88 } 89 90 109 public abstract void createContributionItems(IServiceLocator serviceLocator, 110 IContributionRoot additions); 111 112 118 public String getNamespace() { 119 return namespace; 120 } 121 } 122 | Popular Tags |