prefix.length(),
"accumulate",
"accumulate ( , init ( ), action ( ), result ( ) )",
13,
DROOLS_ICON ) );
KnowledgeBuilderConfigurationImpl config = new KnowledgeBuilderConfigurationImpl( ProjectClassLoader.getProjectClassLoader( getEditor() ),
null );
Map<String, String> accumulateFunctions = config.getAccumulateFunctionsMap();
for (String accumulateFunction : accumulateFunctions.keySet()) {
list.add( new RuleCompletionProposal( documentOffset - prefix.length(),
prefix.length(),
"accumulate " + accumulateFunction,
"accumulate ( , " + accumulateFunction + "( ) )",