Tabnine Logo
ExpressionFormLine.isEmpty
Code IndexAdd Tabnine to your IDE (free)

How to use
isEmpty
method
in
org.drools.guvnor.models.commons.shared.rule.ExpressionFormLine

Best Java code snippets using org.drools.guvnor.models.commons.shared.rule.ExpressionFormLine.isEmpty (Showing top 4 results out of 315)

origin: org.kie.guvnor/guvnor-guided-rule-editor-client

private Widget getWidgetForCurrentType() {
  if ( expression.isEmpty() ) {
    return createStartPointWidget();
  }
  ChangeHandler ch = new ChangeHandler() {
    public void onChange( ChangeEvent event ) {
      ListBox box = (ListBox) event.getSource();
      panel.remove( box );
      if ( box.getSelectedIndex() > 0 ) {
        onChangeSelection( box.getValue( box.getSelectedIndex() ) );
      }
    }
  };
  ListBox lb = new ListBox();
  lb.setVisibleItemCount( 1 );
  lb.addItem( Constants.INSTANCE.ChooseDotDotDot(),
        "" );
  lb.addItem( "<==" + Constants.INSTANCE.DeleteItem(),
        DELETE_VALUE );
  for ( Map.Entry<String, String> entry : getCompletionsForCurrentType( expression.getParts().size() > 1 ).entrySet() ) {
    lb.addItem( entry.getKey(),
          entry.getValue() );
  }
  lb.addChangeHandler( ch );
  return lb;
}
origin: org.kie.guvnor/guvnor-guided-rule-editor-client

this.expression = expression;
if ( this.expression.isEmpty() ) {
  this.isFactTypeKnown = true;
} else {
if ( expression == null || expression.isEmpty() ) {
  if ( this.readOnly ) {
    panel.add( new SmallLabel( "<b>-</b>" ) );
origin: org.kie.guvnor/guvnor-guided-rule-editor-client

if ( !expression.isEmpty() ) {
  panel.add( createWidgetForExpression( expression.getText() + "." ) );
origin: org.kie.guvnor/guvnor-guided-rule-editor-client

if ( !expression.isEmpty() ) {
  panel.add( createWidgetForExpression( expression.getText() + "." ) );
org.drools.guvnor.models.commons.shared.ruleExpressionFormLineisEmpty

Popular methods of ExpressionFormLine

  • <init>
  • appendPart
  • getBinding
  • setBinding
  • getClassType
  • getFieldName
  • getGenericType
  • getParts
  • getPreviousGenericType
  • getRootExpression
  • getText
  • isBound
  • getText,
  • isBound,
  • getParametricType,
  • getPreviousClassType,
  • getPreviousPart,
  • removeLast

Popular in Java

  • Reactive rest calls using spring rest template
  • onCreateOptionsMenu (Activity)
  • setScale (BigDecimal)
  • putExtra (Intent)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now