Codota Logo
RuleModeller.lockLHS
Code IndexAdd Codota to your IDE (free)

How to use
lockLHS
method
in
org.kie.guvnor.guided.rule.client.editor.RuleModeller

Best Java code snippets using org.kie.guvnor.guided.rule.client.editor.RuleModeller.lockLHS (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: org.kie.guvnor/guvnor-guided-rule-editor-client

protected void showAttributeSelector() {
  AttributeSelectorPopup pop = new AttributeSelectorPopup( model,
                               lockLHS(),
                               lockRHS(),
                               new Command() {
                                 public void execute() {
                                   refreshWidget();
                                 }
                               } );
  pop.show();
}
origin: org.kie.guvnor/guvnor-guided-rule-editor-client

/**
 * Wraps a RuleModellerWidget with an icon to delete the pattern
 */
private Widget wrapLHSWidget( final CompositeFactPattern model,
               int i,
               RuleModellerWidget w ) {
  DirtyableHorizontalPane horiz = new DirtyableHorizontalPane();
  final Image remove = GuidedRuleEditorImages508.INSTANCE.DeleteItemSmall();
  remove.setTitle( Constants.INSTANCE.RemoveThisENTIREConditionAndAllTheFieldConstraintsThatBelongToIt() );
  final int idx = i;
  remove.addClickHandler( new ClickHandler() {
    public void onClick( ClickEvent event ) {
      if ( Window.confirm( Constants.INSTANCE.RemoveThisEntireConditionQ() ) ) {
        if ( pattern.removeFactPattern( idx ) ) {
          getModeller().refreshWidget();
        }
      }
    }
  } );
  horiz.setWidth( "100%" );
  w.setWidth( "100%" );
  horiz.add( w );
  if ( !( getModeller().lockLHS() || w.isReadOnly() ) ) {
    horiz.add( remove );
  }
  return horiz;
}
origin: org.kie.guvnor/guvnor-guided-rule-editor-client

          0,
          w );
if ( !( this.lockLHS() || w.isReadOnly() ) || !w.isFactTypeKnown() ) {
  wrapper.setWidget( 0,
            1,
origin: org.kie.guvnor/guvnor-guided-rule-editor-client

Boolean readOnly = this.lockLHS() ? true : null;
if ( !( this.lockLHS() || w.isReadOnly() ) ) {
  this.addActionsButtonsToLayout( Constants.INSTANCE.AddAConditionBelow(),
                  new ClickHandler() {
origin: org.kie.guvnor/guvnor-guided-rule-editor-client

                     4 );
if ( !lockLHS() ) {
  layout.setWidget( currentLayoutRow,
           1,
org.kie.guvnor.guided.rule.client.editorRuleModellerlockLHS

Javadoc

return true if we should not allow unfrozen editing of the LHS

Popular methods of RuleModeller

  • <init>
  • addActionsButtonsToLayout
  • addLineIcon
  • clearLineIcons
  • doLayout
  • getAddAttribute
  • getModel
  • getPath
  • getRuleModeller
  • getSuggestionCompletions
  • getWidgetFactory
  • initWidget
  • getWidgetFactory,
  • initWidget,
  • isDSLEnabled,
  • isDirty,
  • isLock,
  • isReadOnly,
  • isTemplate,
  • isVariableNameUsed,
  • lockRHS

Popular in Java

  • Parsing JSON documents to java classes using gson
  • onRequestPermissionsResult (Fragment)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • onCreateOptionsMenu (Activity)
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • IsNull (org.hamcrest.core)
    Is the value null?
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now