Java 类org.eclipse.core.resources.mapping.IModelProviderDescriptor 实例源码

项目:che    文件:ModelProviderManager.java   
public IModelProviderDescriptor getDescriptor(String id) {
  lazyInitialize();
  return descriptors.get(id);
}
项目:che    文件:ModelProviderManager.java   
public IModelProviderDescriptor[] getDescriptors() {
  lazyInitialize();
  return descriptors.values().toArray(new IModelProviderDescriptor[descriptors.size()]);
}
项目:che    文件:ModelProviderManager.java   
public ModelProvider getModelProvider(String modelProviderId) throws CoreException {
  IModelProviderDescriptor desc = getDescriptor(modelProviderId);
  if (desc == null) return null;
  return desc.getModelProvider();
}