Java 类com.intellij.openapi.actionSystem.impl.BundledQuickListsProvider 实例源码

项目:consulo    文件:QuickListsManager.java   
@Override
public void initComponent() {
  for (BundledQuickListsProvider provider : BundledQuickListsProvider.EP_NAME.getExtensions()) {
    for (final String path : provider.getBundledListsRelativePaths()) {
      mySchemesManager.loadBundledScheme(path, provider, new ThrowableConvertor<Element, QuickList, Throwable>() {
        @Override
        public QuickList convert(Element element) throws Throwable {
          QuickList item = createItem(element);
          item.getExternalInfo().setHash(JDOMUtil.getTreeHash(element, true));
          item.getExternalInfo().setPreviouslySavedName(item.getName());
          item.getExternalInfo().setCurrentFileName(PathUtilRt.getFileName(path));
          return item;
        }
      });
    }
  }
  mySchemesManager.loadSchemes();
  registerActions();
}
项目:intellij-ce-playground    文件:QuickListsManager.java   
@Override
public void initComponent() {
  for (BundledQuickListsProvider provider : BundledQuickListsProvider.EP_NAME.getExtensions()) {
    for (final String path : provider.getBundledListsRelativePaths()) {
      mySchemeManager.loadBundledScheme(path, provider, new ThrowableConvertor<Element, QuickList, Throwable>() {
        @Override
        public QuickList convert(Element element) throws Throwable {
          return createItem(element);
        }
      });
    }
  }
  mySchemeManager.loadSchemes();
  registerActions();
}