当前位置: 首页>>代码示例>>Java>>正文


Java IOutlineTreeProvider类代码示例

本文整理汇总了Java中org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider的典型用法代码示例。如果您正苦于以下问题:Java IOutlineTreeProvider类的具体用法?Java IOutlineTreeProvider怎么用?Java IOutlineTreeProvider使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


IOutlineTreeProvider类属于org.eclipse.xtext.ui.editor.outline包,在下文中一共展示了IOutlineTreeProvider类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: beforeAllTests

import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
/**
 * 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()));
}
 
开发者ID:dsldevkit,项目名称:dsl-devkit,代码行数:11,代码来源:AbstractOutlineTest.java

示例2: setInfoText

import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
/**
 * @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);
}
 
开发者ID:cplutte,项目名称:bts,代码行数:11,代码来源:QuickOutlinePopup.java

示例3: changeOutlineMode

import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
/**
 * @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);
	}
}
 
开发者ID:cplutte,项目名称:bts,代码行数:13,代码来源:QuickOutlinePopup.java

示例4: refreshOutlineModel

import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
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();
	}
}
 
开发者ID:cplutte,项目名称:bts,代码行数:15,代码来源:OutlineRefreshJob.java

示例5: bindIOutlineTreeProvider

import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
	return PkmntcgoOutlineTreeProvider.class;
}
 
开发者ID:rehne93,项目名称:pokemon-tcgo-deck-generator,代码行数:4,代码来源:AbstractPkmntcgoUiModule.java

示例6: bindIOutlineTreeProvider

import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
	return N4JSOutlineTreeProvider.class;
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:4,代码来源:AbstractN4JSUiModule.java

示例7: bindIOutlineTreeProvider_ModeAware

import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
/** Outline modes for showing inherited members or not */
public Class<? extends IOutlineTreeProvider.ModeAware> bindIOutlineTreeProvider_ModeAware() {
	return N4JSOutlineModes.class;
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:5,代码来源:N4JSUiModule.java

示例8: bindIOutlineTreeProvider

import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
	return RegularExpressionOutlineTreeProvider.class;
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:4,代码来源:AbstractRegularExpressionUiModule.java

示例9: bindIOutlineTreeProvider

import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
	return N4MFOutlineTreeProvider.class;
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:4,代码来源:AbstractN4MFUiModule.java

示例10: bindIOutlineTreeProvider

import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
	return TypesOutlineTreeProvider.class;
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:4,代码来源:AbstractTypesUiModule.java

示例11: bindIOutlineTreeProvider

import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
	return MyDslOutlineTreeProvider.class;
}
 
开发者ID:fatalerrortan,项目名称:Xtext_Xtend_HTML_Generator,代码行数:4,代码来源:AbstractMyDslUiModule.java

示例12: bindIOutlineTreeProvider

import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
	return BromiumOutlineTreeProvider.class;
}
 
开发者ID:hristo-vrigazov,项目名称:bromium,代码行数:4,代码来源:AbstractBromiumUiModule.java

示例13: bindIOutlineTreeProvider

import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
	return DSLPoliciesOutlineTreeProvider.class;
}
 
开发者ID:gw4e,项目名称:gw4e.project,代码行数:4,代码来源:AbstractDSLPoliciesUiModule.java

示例14: bindIOutlineTreeProvider

import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
	return LcDslOutlineTreeProvider.class;
}
 
开发者ID:mduft,项目名称:lcdsl,代码行数:4,代码来源:AbstractLcDslUiModule.java

示例15: bindIOutlineTreeProvider

import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
	return DslOutlineTreeProvider.class;
}
 
开发者ID:eclipse,项目名称:gemoc-studio,代码行数:4,代码来源:AbstractDslUiModule.java


注:本文中的org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。