本文整理匯總了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
}