當前位置: 首頁>>代碼示例>>Java>>正文


Java ICompletionProposalAcceptor類代碼示例

本文整理匯總了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());
    }
  });
}
 
開發者ID:gw4e,項目名稱:gw4e.project,代碼行數:12,代碼來源:DSLPoliciesProposalProvider.java

示例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));
}
 
開發者ID:gw4e,項目名稱:gw4e.project,代碼行數:10,代碼來源:DSLPoliciesProposalProvider.java

示例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));
  }
}
 
開發者ID:gw4e,項目名稱:gw4e.project,代碼行數:10,代碼來源:DSLPoliciesProposalProvider.java

示例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
}
 
開發者ID:mduft,項目名稱:lcdsl,代碼行數:4,代碼來源:AbstractLcDslProposalProvider.java

示例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);
}
 
開發者ID:eclipse,項目名稱:n4js,代碼行數:4,代碼來源:AbstractN4JSProposalProvider.java

示例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
}
 
開發者ID:eclipse,項目名稱:n4js,代碼行數:4,代碼來源:AbstractN4JSProposalProvider.java

示例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);
}
 
開發者ID:eclipse,項目名稱:gemoc-studio,代碼行數:4,代碼來源:AbstractGExpressionsProposalProvider.java

示例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
}
 
開發者ID:eclipse,項目名稱:n4js,代碼行數:4,代碼來源:AbstractN4JSProposalProvider.java

示例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);
}
 
開發者ID:mduft,項目名稱:lcdsl,代碼行數:4,代碼來源:AbstractLcDslProposalProvider.java

示例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);
}
 
開發者ID:vicegd,項目名稱:org.xtext.dsl.restaurante,代碼行數:4,代碼來源:AbstractRestauranteProposalProvider.java

示例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
}
 
開發者ID:eclipse,項目名稱:n4js,代碼行數:4,代碼來源:AbstractN4JSProposalProvider.java

示例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
}
 
開發者ID:eclipse,項目名稱:n4js,代碼行數:4,代碼來源:AbstractN4JSProposalProvider.java

示例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);
}
 
開發者ID:mduft,項目名稱:lcdsl,代碼行數:4,代碼來源:AbstractLcDslProposalProvider.java

示例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
}
 
開發者ID:eclipse,項目名稱:n4js,代碼行數:4,代碼來源:AbstractRegularExpressionProposalProvider.java

示例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
}
 
開發者ID:hristo-vrigazov,項目名稱:bromium,代碼行數:4,代碼來源:AbstractBromiumProposalProvider.java


注:本文中的org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。