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


Java GetParserOperation类代码示例

本文整理汇总了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;
}
 
开发者ID:spoenemann,项目名称:xtext-gef,代码行数:14,代码来源:StatemachineParserProvider.java

示例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;
}
 
开发者ID:road-framework,项目名称:ROADDesigner,代码行数:14,代码来源:SmcParserProvider.java

示例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;
}
 
开发者ID:ggxx,项目名称:HelloBrazil,代码行数:14,代码来源:Wc2014ParserProvider.java

示例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;
}
 
开发者ID:bluezio,项目名称:simplified-bpmn-example,代码行数:15,代码来源:SimpleBPMNParserProvider.java

示例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;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:15,代码来源:ICSE15_SequenceDiagram_MAVOParserProvider.java

示例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;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:15,代码来源:NECSIS14_ClassDiagramParserProvider.java

示例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;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:15,代码来源:NECSIS14_DatabaseSchemaParserProvider.java

示例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;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:14,代码来源:MIDParserProvider.java

示例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;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:14,代码来源:MIDParserProvider.java

示例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;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:15,代码来源:RelationalDatabase_MAVOParserProvider.java

示例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;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:14,代码来源:RelationalDatabaseParserProvider.java

示例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;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:15,代码来源:IStar_MAVOParserProvider.java

示例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;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:14,代码来源:IStarParserProvider.java

示例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;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:14,代码来源:StateMachineParserProvider.java

示例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;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:15,代码来源:StateMachine_MAVOParserProvider.java


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