本文整理汇总了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()));
}
示例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);
}
示例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);
}
}
示例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();
}
}
示例5: bindIOutlineTreeProvider
import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
return PkmntcgoOutlineTreeProvider.class;
}
示例6: bindIOutlineTreeProvider
import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
return N4JSOutlineTreeProvider.class;
}
示例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;
}
示例8: bindIOutlineTreeProvider
import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
return RegularExpressionOutlineTreeProvider.class;
}
示例9: bindIOutlineTreeProvider
import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
return N4MFOutlineTreeProvider.class;
}
示例10: bindIOutlineTreeProvider
import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
return TypesOutlineTreeProvider.class;
}
示例11: bindIOutlineTreeProvider
import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
return MyDslOutlineTreeProvider.class;
}
示例12: bindIOutlineTreeProvider
import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
return BromiumOutlineTreeProvider.class;
}
示例13: bindIOutlineTreeProvider
import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
return DSLPoliciesOutlineTreeProvider.class;
}
示例14: bindIOutlineTreeProvider
import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
return LcDslOutlineTreeProvider.class;
}
示例15: bindIOutlineTreeProvider
import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; //导入依赖的package包/类
public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
return DslOutlineTreeProvider.class;
}