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

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

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

origin: org.drools/drools-guvnor-models-commons

public ExpressionFormLine( ExpressionFormLine other ) {
  CopyExpressionVisitor copier = new CopyExpressionVisitor();
  if ( other.getParts().size() == 0 ) {
    return;
  }
  for ( ExpressionPart exp = copier.copy( other.getRootExpression() ); exp != null; exp = exp.getNext() ) {
    parts.add( exp );
  }
}
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;
}
org.drools.guvnor.models.commons.shared.ruleExpressionFormLinegetParts

Popular methods of ExpressionFormLine

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

Popular in Java

  • Making http requests using okhttp
  • requestLocationUpdates (LocationManager)
  • getApplicationContext (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Socket (java.net)
    Provides a client-side TCP socket.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Join (org.hibernate.mapping)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Best IntelliJ plugins
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