org.drools.guvnor.client.modeldriven.ui.factPattern
Class PopupCreator

java.lang.Object
  extended by org.drools.guvnor.client.modeldriven.ui.factPattern.PopupCreator

public class PopupCreator
extends Object


Constructor Summary
PopupCreator()
           
 
Method Summary
 SuggestionCompletionEngine getCompletions()
          Returns the completions.
 RuleModeller getModeller()
          Returns the modeller.
 FactPattern getPattern()
          Returns the pattern.
 boolean isBindable()
          Returns the bindable.
 void setBindable(boolean bindable)
           
 void setCompletions(SuggestionCompletionEngine completions)
           
 void setModeller(RuleModeller modeller)
           
 void setPattern(FactPattern pattern)
           
 void showBindFieldPopup(com.google.gwt.user.client.ui.Widget w, FactPattern fp, SingleFieldConstraint con, String[] fields, PopupCreator popupCreator)
          Display a little editor for field bindings.
 void showPatternPopup(com.google.gwt.user.client.ui.Widget w, FactPattern fp, SingleFieldConstraint con, boolean isNested)
          This shows a popup allowing you to add field constraints to a pattern (its a popup).
 void showPatternPopupForComposite(com.google.gwt.user.client.ui.Widget w, HasConstraints hasConstraints)
          This shows a popup for adding fields to a composite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopupCreator

public PopupCreator()
Method Detail

getPattern

public FactPattern getPattern()
Returns the pattern.


setPattern

public void setPattern(FactPattern pattern)
Parameters:
pattern - the pattern to set

getCompletions

public SuggestionCompletionEngine getCompletions()
Returns the completions.


setCompletions

public void setCompletions(SuggestionCompletionEngine completions)
Parameters:
completions - the completions to set

getModeller

public RuleModeller getModeller()
Returns the modeller.


setModeller

public void setModeller(RuleModeller modeller)
Parameters:
modeller - the modeller to set

isBindable

public boolean isBindable()
Returns the bindable.


setBindable

public void setBindable(boolean bindable)
Parameters:
bindable - the bindable to set

showBindFieldPopup

public void showBindFieldPopup(com.google.gwt.user.client.ui.Widget w,
                               FactPattern fp,
                               SingleFieldConstraint con,
                               String[] fields,
                               PopupCreator popupCreator)
Display a little editor for field bindings.


showPatternPopupForComposite

public void showPatternPopupForComposite(com.google.gwt.user.client.ui.Widget w,
                                         HasConstraints hasConstraints)
This shows a popup for adding fields to a composite


showPatternPopup

public void showPatternPopup(com.google.gwt.user.client.ui.Widget w,
                             FactPattern fp,
                             SingleFieldConstraint con,
                             boolean isNested)
This shows a popup allowing you to add field constraints to a pattern (its a popup).



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