| java.lang.Object org.drools.brms.client.modeldriven.SuggestionCompletionEngine
SuggestionCompletionEngine | public class SuggestionCompletionEngine implements PortableObject(Code) | | An suggestion completion processor. This should be usable in both GWT/Web and the IDE.
The data for this can be loaded into this from simple string lists.
author: Michael Neale |
TYPE_COLLECTION | final public static String TYPE_COLLECTION(Code) | | These are the explicit types supported
|
TYPE_COMPARABLE | final public static String TYPE_COMPARABLE(Code) | | |
conditionDSLSentences | public DSLSentence[] conditionDSLSentences(Code) | | DSL language extensions, if needed, if provided by the package.
|
dataEnumLists | public Map dataEnumLists(Code) | | Contains a map of { TypeName.field : String[] } - where a list is
valid values to display in a drop down for a given Type.field combination.
|
factTypes | public String[] factTypes(Code) | | A list of fact types (never fully qualified).
|
fieldTypes | public Map fieldTypes(Code) | | A map of the Fields to their types, needed for operator completions,
as well as other things like rendering strings, dates etc.
This is in the format of: { 'Type.field' => 'typename' }.
Should not be the exact type, perhaps just a high level interface, eg "Comparable".
|
fieldsForType | public Map fieldsForType(Code) | | A map of types to the fields. key is type, value is (String[] of fields)
|
globalTypes | public Map globalTypes(Code) | | Contains a map of globals (name is key) and their type (value).
|
SuggestionCompletionEngine | public SuggestionCompletionEngine()(Code) | | |
getConditionalElements | public String[] getConditionalElements()(Code) | | |
getConnectiveOperatorCompletions | public String[] getConnectiveOperatorCompletions(String factType, String fieldName)(Code) | | |
getFieldCompletionsForGlobalVariable | public String[] getFieldCompletionsForGlobalVariable(String varName)(Code) | | |
getGlobalVariables | public String[] getGlobalVariables()(Code) | | |
isGlobalVariable | public boolean isGlobalVariable(String variable)(Code) | | |
|
|