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


Java IDocumentProvider类代码示例

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


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

示例1: getDocumentProvider

import org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider; //导入依赖的package包/类
/**
 * @generated
 */
protected IDocumentProvider getDocumentProvider(IEditorInput input) {
	if (input instanceof IFileEditorInput
			|| input instanceof URIEditorInput) {
		return StatemachineDiagramEditorPlugin.getInstance()
				.getDocumentProvider();
	}
	return super.getDocumentProvider(input);
}
 
开发者ID:spoenemann,项目名称:xtext-gef,代码行数:12,代码来源:StatemachineDiagramEditor.java

示例2: getDocumentProvider

import org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider; //导入依赖的package包/类
/**
 * @generated
 */
protected IDocumentProvider getDocumentProvider(IEditorInput input) {
	if (input instanceof IFileEditorInput
			|| input instanceof URIEditorInput) {
		return SmcDiagramEditorPlugin.getInstance().getDocumentProvider();
	}
	return super.getDocumentProvider(input);
}
 
开发者ID:road-framework,项目名称:ROADDesigner,代码行数:11,代码来源:SmcDiagramEditor.java

示例3: getDocumentProvider

import org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider; //导入依赖的package包/类
/**
 * @generated
 */
protected IDocumentProvider getDocumentProvider(IEditorInput input) {
	if (input instanceof IFileEditorInput
			|| input instanceof URIEditorInput) {
		return Wc2014DiagramEditorPlugin.getInstance()
				.getDocumentProvider();
	}
	return super.getDocumentProvider(input);
}
 
开发者ID:ggxx,项目名称:HelloBrazil,代码行数:12,代码来源:Wc2014DiagramEditor.java

示例4: getDocumentProvider

import org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider; //导入依赖的package包/类
/**
 * @generated
 */
protected IDocumentProvider getDocumentProvider(IEditorInput input) {
	if (input instanceof IFileEditorInput
			|| input instanceof URIEditorInput) {
		return SimpleBPMN.diagram.part.SimpleBPMNDiagramEditorPlugin
				.getInstance().getDocumentProvider();
	}
	return super.getDocumentProvider(input);
}
 
开发者ID:bluezio,项目名称:simplified-bpmn-example,代码行数:12,代码来源:SimpleBPMNDiagramEditor.java

示例5: getDocumentProvider

import org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider; //导入依赖的package包/类
/**
* @generated
*/
protected IDocumentProvider getDocumentProvider(IEditorInput input) {
	if (input instanceof IFileEditorInput || input instanceof URIEditorInput) {
		return edu.toronto.cs.se.modelepedia.icse15_sequencediagram_mavo.diagram.part.ICSE15_SequenceDiagram_MAVODiagramEditorPlugin
				.getInstance().getDocumentProvider();
	}
	return super.getDocumentProvider(input);
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:11,代码来源:ICSE15_SequenceDiagram_MAVODiagramEditor.java

示例6: getDocumentProvider

import org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider; //导入依赖的package包/类
/**
 * @generated
 */
protected IDocumentProvider getDocumentProvider(IEditorInput input) {
	if (input instanceof IFileEditorInput
			|| input instanceof URIEditorInput) {
		return edu.toronto.cs.se.modelepedia.necsis14_classdiagram.diagram.part.NECSIS14_ClassDiagramDiagramEditorPlugin
				.getInstance().getDocumentProvider();
	}
	return super.getDocumentProvider(input);
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:12,代码来源:NECSIS14_ClassDiagramDiagramEditor.java

示例7: getDocumentProvider

import org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider; //导入依赖的package包/类
/**
 * @generated
 */
protected IDocumentProvider getDocumentProvider(IEditorInput input) {
	if (input instanceof IFileEditorInput
			|| input instanceof URIEditorInput) {
		return edu.toronto.cs.se.modelepedia.necsis14_databaseschema.diagram.part.NECSIS14_DatabaseSchemaDiagramEditorPlugin
				.getInstance().getDocumentProvider();
	}
	return super.getDocumentProvider(input);
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:12,代码来源:NECSIS14_DatabaseSchemaDiagramEditor.java

示例8: getDocumentProvider

import org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider; //导入依赖的package包/类
/**
 * @generated
 */
protected IDocumentProvider getDocumentProvider(IEditorInput input) {
	if (input instanceof IFileEditorInput || input instanceof URIEditorInput) {
		return MIDDiagramEditorPlugin.getInstance().getDocumentProvider();
	}
	return super.getDocumentProvider(input);
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:10,代码来源:MIDDiagramEditor.java

示例9: getDocumentProvider

import org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider; //导入依赖的package包/类
/**
* @generated
*/
protected IDocumentProvider getDocumentProvider(IEditorInput input) {
	if (input instanceof IFileEditorInput || input instanceof URIEditorInput) {
		return MIDDiagramEditorPlugin.getInstance().getDocumentProvider();
	}
	return super.getDocumentProvider(input);
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:10,代码来源:MIDDiagramEditor.java

示例10: getDocumentProvider

import org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider; //导入依赖的package包/类
/**
* @generated
*/
protected IDocumentProvider getDocumentProvider(IEditorInput input) {
	if (input instanceof IFileEditorInput || input instanceof URIEditorInput) {
		return edu.toronto.cs.se.modelepedia.relationaldatabase_mavo.diagram.part.RelationalDatabase_MAVODiagramEditorPlugin
				.getInstance().getDocumentProvider();
	}
	return super.getDocumentProvider(input);
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:11,代码来源:RelationalDatabase_MAVODiagramEditor.java

示例11: getDocumentProvider

import org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider; //导入依赖的package包/类
/**
 * @generated
 */
protected IDocumentProvider getDocumentProvider(IEditorInput input) {
	if (input instanceof IFileEditorInput
			|| input instanceof URIEditorInput) {
		return RelationalDatabaseDiagramEditorPlugin.getInstance()
				.getDocumentProvider();
	}
	return super.getDocumentProvider(input);
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:12,代码来源:RelationalDatabaseDiagramEditor.java

示例12: getDocumentProvider

import org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider; //导入依赖的package包/类
/**
* @generated
*/
protected IDocumentProvider getDocumentProvider(IEditorInput input) {
	if (input instanceof IFileEditorInput || input instanceof URIEditorInput) {
		return edu.toronto.cs.se.modelepedia.istar_mavo.diagram.part.IStar_MAVODiagramEditorPlugin.getInstance()
				.getDocumentProvider();
	}
	return super.getDocumentProvider(input);
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:11,代码来源:IStar_MAVODiagramEditor.java

示例13: getDocumentProvider

import org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider; //导入依赖的package包/类
/**
 * @generated
 */
protected IDocumentProvider getDocumentProvider(IEditorInput input) {
	if (input instanceof IFileEditorInput
			|| input instanceof URIEditorInput) {
		return IStarDiagramEditorPlugin.getInstance().getDocumentProvider();
	}
	return super.getDocumentProvider(input);
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:11,代码来源:IStarDiagramEditor.java

示例14: getDocumentProvider

import org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider; //导入依赖的package包/类
/**
 * @generated
 */
protected IDocumentProvider getDocumentProvider(IEditorInput input) {
	if (input instanceof IFileEditorInput
			|| input instanceof URIEditorInput) {
		return StateMachineDiagramEditorPlugin.getInstance()
				.getDocumentProvider();
	}
	return super.getDocumentProvider(input);
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:12,代码来源:StateMachineDiagramEditor.java

示例15: getDocumentProvider

import org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider; //导入依赖的package包/类
/**
* @generated
*/
protected IDocumentProvider getDocumentProvider(IEditorInput input) {
	if (input instanceof IFileEditorInput || input instanceof URIEditorInput) {
		return edu.toronto.cs.se.modelepedia.statemachine_mavo.diagram.part.StateMachine_MAVODiagramEditorPlugin
				.getInstance().getDocumentProvider();
	}
	return super.getDocumentProvider(input);
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:11,代码来源:StateMachine_MAVODiagramEditor.java


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