本文整理汇总了Java中org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor类的典型用法代码示例。如果您正苦于以下问题:Java ICompletionProposalAcceptor类的具体用法?Java ICompletionProposalAcceptor怎么用?Java ICompletionProposalAcceptor使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ICompletionProposalAcceptor类属于org.eclipse.xtext.ui.editor.contentassist包,在下文中一共展示了ICompletionProposalAcceptor类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: completeIntegerStopCondition_Pathtype
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; //导入依赖的package包/类
@Override
public void completeIntegerStopCondition_Pathtype(final EObject model, final Assignment assignment, final ContentAssistContext context, final ICompletionProposalAcceptor acceptor) {
System.out.println("---> completeIntegerStopCondition_Pathtype");
EList<EStructuralFeature> _eAllStructuralFeatures = model.eClass().getEAllStructuralFeatures();
_eAllStructuralFeatures.forEach(new Consumer<EStructuralFeature>() {
@Override
public void accept(final EStructuralFeature t) {
InputOutput.<String>println(t.getName());
}
});
}
示例2: complete_Percent
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; //导入依赖的package包/类
@Override
public void complete_Percent(final EObject model, final RuleCall ruleCall, final ContentAssistContext context, final ICompletionProposalAcceptor acceptor) {
System.out.println("---> complete_Percent");
for (int i = 1; (i <= 10); i++) {
String _plus = (Integer.valueOf((10 * i)) + "");
acceptor.accept(this.createCompletionProposal(_plus, context));
}
acceptor.accept(this.createCompletionProposal("<a_percentage_value>", context));
}
示例3: complete_WS
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; //导入依赖的package包/类
@Override
public void complete_WS(final EObject model, final RuleCall ruleCall, final ContentAssistContext context, final ICompletionProposalAcceptor acceptor) {
System.out.println("---> complete_WS");
super.complete_PathGeneratorStopCondition(model, ruleCall, context, acceptor);
acceptor.accept(this.createCompletionProposal(";", context));
for (final String elt : this.proposals) {
acceptor.accept(this.createCompletionProposal((" " + elt), context));
}
}
示例4: complete_ClearOption
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; //导入依赖的package包/类
public void complete_ClearOption(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
示例5: completeShiftExpression_Rhs
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; //导入依赖的package包/类
public void completeShiftExpression_Rhs(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
示例6: complete_ImportClause
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; //导入依赖的package包/类
public void complete_ImportClause(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
示例7: completeGRelationExpression_Operator
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; //导入依赖的package包/类
public void completeGRelationExpression_Operator(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
示例8: complete_AssignmentOperator
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; //导入依赖的package包/类
public void complete_AssignmentOperator(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
示例9: completeWorkingDir_WorkingDir
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; //导入依赖的package包/类
public void completeWorkingDir_WorkingDir(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
示例10: completeBebidaFria_Foto
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; //导入依赖的package包/类
public void completeBebidaFria_Foto(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
示例11: complete_BindingElementFragment
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; //导入依赖的package包/类
public void complete_BindingElementFragment(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
示例12: complete_FunctionBody
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; //导入依赖的package包/类
public void complete_FunctionBody(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
示例13: completeGroupMember_Member
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; //导入依赖的package包/类
public void completeGroupMember_Member(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
}
示例14: complete_CharacterClass
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; //导入依赖的package包/类
public void complete_CharacterClass(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
示例15: complete_WebDriverAction
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; //导入依赖的package包/类
public void complete_WebDriverAction(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}