org.drools.eclipse.flow.ruleflow.view.property.constraint
Class GlobalCompletionProcessor

java.lang.Object
  extended by org.drools.eclipse.editors.completion.AbstractCompletionProcessor
      extended by org.drools.eclipse.editors.completion.DefaultCompletionProcessor
          extended by org.drools.eclipse.flow.ruleflow.view.property.constraint.GlobalCompletionProcessor
All Implemented Interfaces:
org.eclipse.jface.text.contentassist.IContentAssistProcessor

public class GlobalCompletionProcessor
extends DefaultCompletionProcessor

Completion for ruleflow constraints.


Field Summary
 
Fields inherited from class org.drools.eclipse.editors.completion.DefaultCompletionProcessor
CLASS_ICON, IMPORT_PATTERN, METHOD_ICON, VARIABLE_ICON
 
Constructor Summary
GlobalCompletionProcessor()
           
 
Method Summary
protected  List getCompletionProposals(org.eclipse.jface.text.ITextViewer viewer, int documentOffset)
          Returns a list of RuleCompletionProposals.
protected  org.eclipse.jdt.core.IJavaProject getCurrentJavaProject()
           
 org.eclipse.ui.IEditorPart getEditor()
           
 List getGlobals()
           
 List getImports()
           
protected  List getPossibleProposals(org.eclipse.jface.text.ITextViewer viewer, int documentOffset, String backText, String prefix)
           
 
Methods inherited from class org.drools.eclipse.editors.completion.DefaultCompletionProcessor
doesNotContainFieldCompletion, getAllClassProposals, getAttributes, getClassesInPackage, getFunctions, getJavaCompletionProposals, getJavaCompletionProposals, getPackage, getUniqueImports, requestJavaCompletionProposals, requestJavaCompletionProposals
 
Methods inherited from class org.drools.eclipse.editors.completion.AbstractCompletionProcessor
computeCompletionProposals, computeContextInformation, filterProposalsOnPrefix, getCompletionProposalAutoActivationCharacters, getContextInformationAutoActivationCharacters, getContextInformationValidator, getErrorMessage, readBackwards
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalCompletionProcessor

public GlobalCompletionProcessor()
Method Detail

getEditor

public org.eclipse.ui.IEditorPart getEditor()
Overrides:
getEditor in class AbstractCompletionProcessor

getCompletionProposals

protected List getCompletionProposals(org.eclipse.jface.text.ITextViewer viewer,
                                      int documentOffset)
Description copied from class: AbstractCompletionProcessor
Returns a list of RuleCompletionProposals.

Overrides:
getCompletionProposals in class DefaultCompletionProcessor
Returns:

getImports

public List getImports()
Overrides:
getImports in class DefaultCompletionProcessor

getGlobals

public List getGlobals()
Overrides:
getGlobals in class DefaultCompletionProcessor

getCurrentJavaProject

protected org.eclipse.jdt.core.IJavaProject getCurrentJavaProject()

getPossibleProposals

protected List getPossibleProposals(org.eclipse.jface.text.ITextViewer viewer,
                                    int documentOffset,
                                    String backText,
                                    String prefix)
Overrides:
getPossibleProposals in class DefaultCompletionProcessor


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.