Java 类org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider 实例源码

项目:dsl-devkit    文件:AbstractOutlineTest.java   
/**
 * Set up the test by reading the input file and generating the outline tree.
 */
@Override
protected final void beforeAllTests() {
  super.beforeAllTests();
  IOutlineTreeProvider provider = getXtextTestUtil().get(IOutlineTreeProvider.class);
  getTestInformation().putTestObject(IOutlineNode.class, new HashMap<Object, ArrayList<IOutlineNode>>());
  buildOutlineMap(provider.createRoot(getDocument()));
}
项目:bts    文件:QuickOutlinePopup.java   
/**
 * @since 2.2
 */
protected void setInfoText() {
    if(treeProvider instanceof IOutlineTreeProvider.ModeAware) 
        setInfoText("Press " + invokingKeystroke + " to " + ((IOutlineTreeProvider.ModeAware) treeProvider)
                .getNextMode().getDescription());
    else 
        setInfoText(Messages.QuickOutlinePopup_pressESC);
}
项目:bts    文件:QuickOutlinePopup.java   
/**
 * @since 2.2
 */
protected void changeOutlineMode() {
    if(treeProvider instanceof IOutlineTreeProvider.ModeAware) {
        IOutlineTreeProvider.ModeAware modeTreeProvider = (IOutlineTreeProvider.ModeAware) treeProvider;
        OutlineMode nextMode = modeTreeProvider.getNextMode();
        modeTreeProvider.setCurrentMode(nextMode);
        setInfoText();
        setInput(document);
    }
}
项目:bts    文件:OutlineRefreshJob.java   
protected IOutlineNode refreshOutlineModel(final IProgressMonitor monitor, final OutlineTreeState formerState,
        final OutlineTreeState newState) {
    final IOutlineTreeProvider treeProvider = outlinePage.getTreeProvider();
    if(treeProvider instanceof BackgroundOutlineTreeProvider) {
        return iternalRefreshOutlineModel(formerState, newState, treeProvider);
    } else {
        return new DisplayRunnableWithResult<IOutlineNode>() {
            @Override
            protected IOutlineNode run() throws Exception {
                return iternalRefreshOutlineModel(formerState, newState, treeProvider);
            }
        }.syncExec();
    }
}
项目:pokemon-tcgo-deck-generator    文件:AbstractPkmntcgoUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return PkmntcgoOutlineTreeProvider.class;
}
项目:n4js    文件:AbstractN4JSUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return N4JSOutlineTreeProvider.class;
}
项目:n4js    文件:N4JSUiModule.java   
/** Outline modes for showing inherited members or not */
public Class<? extends IOutlineTreeProvider.ModeAware> bindIOutlineTreeProvider_ModeAware() {
    return N4JSOutlineModes.class;
}
项目:n4js    文件:AbstractRegularExpressionUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return RegularExpressionOutlineTreeProvider.class;
}
项目:n4js    文件:AbstractN4MFUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return N4MFOutlineTreeProvider.class;
}
项目:n4js    文件:AbstractTypesUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return TypesOutlineTreeProvider.class;
}
项目:Xtext_Xtend_HTML_Generator    文件:AbstractMyDslUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return MyDslOutlineTreeProvider.class;
}
项目:bromium    文件:AbstractBromiumUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return BromiumOutlineTreeProvider.class;
}
项目:gw4e.project    文件:AbstractDSLPoliciesUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return DSLPoliciesOutlineTreeProvider.class;
}
项目:lcdsl    文件:AbstractLcDslUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return LcDslOutlineTreeProvider.class;
}
项目:gemoc-studio    文件:AbstractDslUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return DslOutlineTreeProvider.class;
}
项目:org.xtext.dsl.restaurante    文件:AbstractRestauranteUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return RestauranteOutlineTreeProvider.class;
}
项目:org.xtext.dsl.restaurante    文件:RestauranteUiModule.java   
@Override
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
  return RestauranteOutlineTransformer.class;
}
项目:OCCI-Studio    文件:AbstractOCCIUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return OCCIOutlineTreeProvider.class;
}
项目:jason-eclipse-plugin    文件:Mas2jUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return Mas2jOutlineTreeProvider.class;
}
项目:jason-eclipse-plugin    文件:AslUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return AslOutlineTreeProvider.class;
}
项目:M2Doc    文件:AbstractMyDslUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return MyDslOutlineTreeProvider.class;
}
项目:minitl    文件:AbstractMinitlUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return MinitlOutlineTreeProvider.class;
}
项目:Sparrow    文件:AbstractModelEditorUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return ModelEditorOutlineTreeProvider.class;
}
项目:chariot    文件:MongoBeansUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return MongoBeansOutlineTreeProvider.class;
}
项目:bts    文件:OutlinePage.java   
public IOutlineTreeProvider getTreeProvider() {
    return treeProvider;
}
项目:CooperateModelingEnvironment    文件:AbstractComponentUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return ComponentOutlineTreeProvider.class;
}
项目:CooperateModelingEnvironment    文件:AbstractClsUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return ClsOutlineTreeProvider.class;
}
项目:CooperateModelingEnvironment    文件:AbstractUsecaseUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return UsecaseOutlineTreeProvider.class;
}
项目:cs2as    文件:AbstractASBHLangUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return ASBHLangOutlineTreeProvider.class;
}
项目:cs2as    文件:AbstractMiniOCLUiModule.java   
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
    return MiniOCLOutlineTreeProvider.class;
}
项目:dsl-devkit    文件:AbstractOutlineTest.java   
/**
 * Asserts that the outline tree has a node with the given name and type.
 *
 * @param nodeName
 *          the name of the node expected in the outline.
 * @param nodeType
 *          the type of the node expected in the outline.
 * @return the {@link IOutlineNode} with the given name, {@code null} if it does not exist
 */
protected IOutlineNode assertHasOutlineNode(final String nodeName, final String nodeType) {
  IOutlineTreeProvider provider = getXtextTestUtil().get(IOutlineTreeProvider.class);
  IOutlineNode field = findNode(provider.createRoot(getDocument()), nodeName, nodeType);
  Assert.assertTrue("Outline must contain element '" + nodeName + "'.", field != null);
  return field;
}