本文整理汇总了Java中org.eclipse.gmf.runtime.common.ui.services.parser.ParserService类的典型用法代码示例。如果您正苦于以下问题:Java ParserService类的具体用法?Java ParserService怎么用?Java ParserService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ParserService类属于org.eclipse.gmf.runtime.common.ui.services.parser包,在下文中一共展示了ParserService类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getParser
import org.eclipse.gmf.runtime.common.ui.services.parser.ParserService; //导入依赖的package包/类
/**
* Method getParser.
*
* @return IParser
*/
private IParser getParser() {
if (parser == null) {
if (referenceAdapter != null
&& referenceAdapter.getAdapter(EObject.class) != null) {
parser = ParserService.getInstance()
.getParser(referenceAdapter);
}
}
return parser;
}
开发者ID:d-case,项目名称:d-case_editor,代码行数:16,代码来源:CustomTreeEditPart.java
示例2: getParser
import org.eclipse.gmf.runtime.common.ui.services.parser.ParserService; //导入依赖的package包/类
/**
* Returns the parser.
*
* @return the parser.
*/
private IParser getParser() {
if (parser == null) {
if (referenceAdapter != null
&& referenceAdapter.getAdapter(EObject.class) != null) {
parser = ParserService.getInstance()
.getParser(referenceAdapter);
}
}
return parser;
}
开发者ID:d-case,项目名称:d-case_editor,代码行数:16,代码来源:CustomTreeDiagramEditPart.java
示例3: getParser
import org.eclipse.gmf.runtime.common.ui.services.parser.ParserService; //导入依赖的package包/类
/**
* Utility method that consults ParserService
* @generated
*/
public static IParser getParser(IElementType type, EObject object,
String parserHint) {
return ParserService.getInstance().getParser(
new HintAdapter(type, object, parserHint));
}
开发者ID:spoenemann,项目名称:xtext-gef,代码行数:10,代码来源:StatemachineParserProvider.java
示例4: getParser
import org.eclipse.gmf.runtime.common.ui.services.parser.ParserService; //导入依赖的package包/类
/**
* Utility method that consults ParserService
* @generated
*/
public static IParser getParser(IElementType type, EObject object,
String parserHint) {
return ParserService.getInstance().getParser(
new HintAdapter(type, object, parserHint));
}
开发者ID:d-case,项目名称:d-case_editor,代码行数:10,代码来源:DcaseParserProvider.java
示例5: getParser
import org.eclipse.gmf.runtime.common.ui.services.parser.ParserService; //导入依赖的package包/类
/**
* Utility method that consults ParserService
* @generated
*/
public static IParser getParser(IElementType type, EObject object, String parserHint) {
return ParserService.getInstance().getParser(new HintAdapter(type, object, parserHint));
}
开发者ID:adisandro,项目名称:MMINT,代码行数:8,代码来源:ICSE15_SequenceDiagram_MAVOParserProvider.java
示例6: getParser
import org.eclipse.gmf.runtime.common.ui.services.parser.ParserService; //导入依赖的package包/类
/**
* Utility method that consults ParserService
* @generated
*/
public static IParser getParser(IElementType type, EObject object, String parserHint) {
return ParserService.getInstance().getParser(new HintAdapter(type, object, parserHint));
}
开发者ID:adisandro,项目名称:MMINT,代码行数:8,代码来源:MIDParserProvider.java
示例7: getParser
import org.eclipse.gmf.runtime.common.ui.services.parser.ParserService; //导入依赖的package包/类
/**
* Utility method that consults ParserService
* @generated
*/
public static IParser getParser(IElementType type, EObject object, String parserHint) {
return ParserService.getInstance().getParser(new HintAdapter(type, object, parserHint));
}
开发者ID:awltech,项目名称:eclipse-optimus,代码行数:8,代码来源:TransformationDependencyParserProvider.java
注:本文中的org.eclipse.gmf.runtime.common.ui.services.parser.ParserService类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论