Examples of MultiInput


Examples of de.willuhn.jameica.gui.input.MultiInput

   
    {
      Container right = new SimpleContainer(cols.getComposite());
     
      right.addInput(this.getRange());
      MultiInput range = new MultiInput(this.getFrom(),this.getTo());
      right.addInput(range);
    }

    this.buttons.addButton(i18n.tr("Aktualisieren"), new Action()
    {
View Full Code Here

Examples of de.willuhn.jameica.gui.input.MultiInput

      left.addCheckbox(this.getUnChecked(),i18n.tr("Nur ungepr�fte Ums�tze"));
     
      Container right = new SimpleContainer(columns.getComposite());

      right.addInput(this.getRange());
      MultiInput range = new MultiInput(this.getStart(),this.getEnd());
      right.addInput(range);
     
      right.addCheckbox(this.getSubKategorien(),i18n.tr("Untergeordnete Kategorien einbeziehen"));
    }
   
View Full Code Here

Examples of de.willuhn.jameica.gui.input.MultiInput

      });
     
      Container right = new SimpleContainer(cols.getComposite());
       
      right.addInput(control.getRange());
      MultiInput range = new MultiInput(control.getStart(),control.getEnd());
      right.addInput(range);
    }

    ButtonArea buttons = new ButtonArea();
View Full Code Here

Examples of de.willuhn.jameica.gui.input.MultiInput

      left.addInput(control.getKontoAuswahl());
     
      Container right = new SimpleContainer(cols.getComposite());
       
      right.addInput(control.getRange());
      MultiInput range = new MultiInput(control.getStart(),control.getEnd());
      right.addInput(range);
     
    }

    ButtonArea buttons = new ButtonArea();
View Full Code Here

Examples of org.data2semantics.platform.core.data.MultiInput

      {
        int dependencyRank = ((ReferenceInput)input).reference().module().rank();
        rank = Math.max(rank, dependencyRank);
      }else
        if(input instanceof MultiInput){
          MultiInput mi = (MultiInput) input;
          for(Input i : mi.inputs()){
            if(i instanceof ReferenceInput){
              int dependencyRank = ((ReferenceInput)i).reference().module().rank();
              rank = Math.max(rank, dependencyRank);
            }
          }
View Full Code Here

Examples of org.data2semantics.platform.core.data.MultiInput

               
                // we are only coupling multi inputs
                if(!(input(ciName) instanceof MultiInput))
                  throw new IllegalStateException(" can't couple non multiple inputs");
             
                MultiInput coupledMi = (MultiInput) input(ciName);
               
                if(coupledMi.inputs().size() != ((MultiInput)originInput).inputs().size())
                  throw new IllegalStateException("These multiple inputs have different length and can't be coupled");
               
                // Raw inputs can only be coupled with another reference input
                if(!(coupledMi.inputs().get(idx) instanceof ReferenceInput))
                  throw new IllegalStateException(" Reference can only be paired with another reference ");
           
                ReferenceInput ri = (ReferenceInput) coupledMi.inputs().get(idx);
                if(!(ri.reference().module().equals(curMultiRefInput.reference().module())))
                  throw new IllegalStateException(" Reference can only be paired with another reference from the same module");
           
                // We are selecting next avlue from the same module instance
                InstanceOutput refIO = curModuleInstance.output(ri.reference().name());
View Full Code Here

Examples of org.data2semantics.platform.core.data.MultiInput

         
          // we are only coupling multi inputs
          if(!(input(ciName) instanceof MultiInput))
            throw new IllegalStateException("Can't pair non multiple inputs");
         
          MultiInput mi = (MultiInput) input(ciName);
         
          // Raw inputs can only be coupled with another raw input
          if(!(mi.inputs().get(idx) instanceof RawInput))
            throw new IllegalStateException("Raw inputs can only be paired with another raw inputs ");
         
          RawInput ri = (RawInput) mi.inputs().get(idx);
         
          nextUniverse.put(mi, new InstanceInput(this, mi, ri.value()));
        }
       
        instantiateInputRec(nextUniverse,  depth+1);
View Full Code Here

Examples of org.data2semantics.platform.core.data.MultiInput

      {
        if(!((ReferenceInput)input).reference().module().finished())
          return false;
      } else
      if(input instanceof MultiInput){
        MultiInput mi = (MultiInput) input;
        for(Input i : mi.inputs()){
          if(i instanceof ReferenceInput){
            if(!((ReferenceInput)i).reference().module().finished())
              return false;
          }
        }
View Full Code Here

Examples of org.data2semantics.platform.core.data.MultiInput

            RawInput newInput = new RawInput(value, inputName, description,  inputType, this);
            multiInputRefs.add(newInput);
          }
        }
       
        inputs.put(inputName, new MultiInput(inputName, description, inputType, this, multiInputRefs));
      }
View Full Code Here

Examples of org.data2semantics.platform.core.data.MultiInput

       
        List<RawInput> rawInputs = new ArrayList<RawInput>(values.size());
        for(Object value : values)
          rawInputs.add(new RawInput(value, name, description,  type, this));
       
        inputs.put(name, new MultiInput(name, description, type, this, rawInputs));
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.