本文整理汇总了Java中org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation类的典型用法代码示例。如果您正苦于以下问题:Java GetParserOperation类的具体用法?Java GetParserOperation怎么用?Java GetParserOperation使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
GetParserOperation类属于org.eclipse.gmf.runtime.common.ui.services.parser包,在下文中一共展示了GetParserOperation类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: provides
import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; //导入依赖的package包/类
/**
* @generated
*/
public boolean provides(IOperation operation) {
if (operation instanceof GetParserOperation) {
IAdaptable hint = ((GetParserOperation) operation).getHint();
if (StatemachineElementTypes.getElement(hint) == null) {
return false;
}
return getParser(hint) != null;
}
return false;
}
示例2: provides
import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; //导入依赖的package包/类
/**
* @generated
*/
public boolean provides(IOperation operation) {
if (operation instanceof GetParserOperation) {
IAdaptable hint = ((GetParserOperation) operation).getHint();
if (SmcElementTypes.getElement(hint) == null) {
return false;
}
return getParser(hint) != null;
}
return false;
}
示例3: provides
import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; //导入依赖的package包/类
/**
* @generated
*/
public boolean provides(IOperation operation) {
if (operation instanceof GetParserOperation) {
IAdaptable hint = ((GetParserOperation) operation).getHint();
if (Wc2014ElementTypes.getElement(hint) == null) {
return false;
}
return getParser(hint) != null;
}
return false;
}
示例4: provides
import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; //导入依赖的package包/类
/**
* @generated
*/
public boolean provides(IOperation operation) {
if (operation instanceof GetParserOperation) {
IAdaptable hint = ((GetParserOperation) operation).getHint();
if (SimpleBPMN.diagram.providers.SimpleBPMNElementTypes
.getElement(hint) == null) {
return false;
}
return getParser(hint) != null;
}
return false;
}
示例5: provides
import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; //导入依赖的package包/类
/**
* @generated
*/
public boolean provides(IOperation operation) {
if (operation instanceof GetParserOperation) {
IAdaptable hint = ((GetParserOperation) operation).getHint();
if (edu.toronto.cs.se.modelepedia.icse15_sequencediagram_mavo.diagram.providers.ICSE15_SequenceDiagram_MAVOElementTypes
.getElement(hint) == null) {
return false;
}
return getParser(hint) != null;
}
return false;
}
示例6: provides
import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; //导入依赖的package包/类
/**
* @generated
*/
public boolean provides(IOperation operation) {
if (operation instanceof GetParserOperation) {
IAdaptable hint = ((GetParserOperation) operation).getHint();
if (edu.toronto.cs.se.modelepedia.necsis14_classdiagram.diagram.providers.NECSIS14_ClassDiagramElementTypes
.getElement(hint) == null) {
return false;
}
return getParser(hint) != null;
}
return false;
}
示例7: provides
import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; //导入依赖的package包/类
/**
* @generated
*/
public boolean provides(IOperation operation) {
if (operation instanceof GetParserOperation) {
IAdaptable hint = ((GetParserOperation) operation).getHint();
if (edu.toronto.cs.se.modelepedia.necsis14_databaseschema.diagram.providers.NECSIS14_DatabaseSchemaElementTypes
.getElement(hint) == null) {
return false;
}
return getParser(hint) != null;
}
return false;
}
示例8: provides
import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; //导入依赖的package包/类
/**
* @generated
*/
public boolean provides(IOperation operation) {
if (operation instanceof GetParserOperation) {
IAdaptable hint = ((GetParserOperation) operation).getHint();
if (MIDElementTypes.getElement(hint) == null) {
return false;
}
return getParser(hint) != null;
}
return false;
}
示例9: provides
import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; //导入依赖的package包/类
/**
* @generated
*/
public boolean provides(IOperation operation) {
if (operation instanceof GetParserOperation) {
IAdaptable hint = ((GetParserOperation) operation).getHint();
if (MIDElementTypes.getElement(hint) == null) {
return false;
}
return getParser(hint) != null;
}
return false;
}
示例10: provides
import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; //导入依赖的package包/类
/**
* @generated
*/
public boolean provides(IOperation operation) {
if (operation instanceof GetParserOperation) {
IAdaptable hint = ((GetParserOperation) operation).getHint();
if (edu.toronto.cs.se.modelepedia.relationaldatabase_mavo.diagram.providers.RelationalDatabase_MAVOElementTypes
.getElement(hint) == null) {
return false;
}
return getParser(hint) != null;
}
return false;
}
示例11: provides
import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; //导入依赖的package包/类
/**
* @generated
*/
public boolean provides(IOperation operation) {
if (operation instanceof GetParserOperation) {
IAdaptable hint = ((GetParserOperation) operation).getHint();
if (RelationalDatabaseElementTypes.getElement(hint) == null) {
return false;
}
return getParser(hint) != null;
}
return false;
}
示例12: provides
import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; //导入依赖的package包/类
/**
* @generated
*/
public boolean provides(IOperation operation) {
if (operation instanceof GetParserOperation) {
IAdaptable hint = ((GetParserOperation) operation).getHint();
if (edu.toronto.cs.se.modelepedia.istar_mavo.diagram.providers.IStar_MAVOElementTypes
.getElement(hint) == null) {
return false;
}
return getParser(hint) != null;
}
return false;
}
示例13: provides
import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; //导入依赖的package包/类
/**
* @generated
*/
public boolean provides(IOperation operation) {
if (operation instanceof GetParserOperation) {
IAdaptable hint = ((GetParserOperation) operation).getHint();
if (IStarElementTypes.getElement(hint) == null) {
return false;
}
return getParser(hint) != null;
}
return false;
}
示例14: provides
import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; //导入依赖的package包/类
/**
* @generated
*/
public boolean provides(IOperation operation) {
if (operation instanceof GetParserOperation) {
IAdaptable hint = ((GetParserOperation) operation).getHint();
if (StateMachineElementTypes.getElement(hint) == null) {
return false;
}
return getParser(hint) != null;
}
return false;
}
示例15: provides
import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; //导入依赖的package包/类
/**
* @generated
*/
public boolean provides(IOperation operation) {
if (operation instanceof GetParserOperation) {
IAdaptable hint = ((GetParserOperation) operation).getHint();
if (edu.toronto.cs.se.modelepedia.statemachine_mavo.diagram.providers.StateMachine_MAVOElementTypes
.getElement(hint) == null) {
return false;
}
return getParser(hint) != null;
}
return false;
}