Examples of BaseDescription


Examples of com.pre.entity.base.BaseDescription

    Button okButton=new Button("OK");
    okButton.addEventListener("onClick", new EventListener(){
      public void onEvent(Event event) throws Exception {
        Warehouse w =new Warehouse();
        w.setName(nameBox.getText());
        BaseDescription odesc=new BaseDescription();
        w.setDescription(odesc);
        //Find  selected group
        OrganizationGroup comp=organizationGroupManager.findByName(groupsCombo.getText()).get(0);
        if(nameBox.getText().equals("")){
          Messagebox.show("Name is empty!", "Error", Messagebox.YES , null);
View Full Code Here

Examples of com.pre.entity.base.BaseDescription

  private void fillFromView(Item item){
    item.setCode(codeBox.getText());
    item.setStatus(statusCombo.getSelectedItem().getLabel());
    if(item.getDescription()==null){
      BaseDescription description=new BaseDescription();
      item.setDescription(description);
    }
    item.getDescription().setShortDescription(shortDescBox.getText());
    item.getDescription().setLongDescription(descriptionBox.getText());
    item.getDescription().setComment(commentBox.getText());
View Full Code Here

Examples of com.pre.entity.base.BaseDescription

  }

  protected void fillFromView(OrganizationGroup org) {
    org.setName(obox.getText());
    if(org.getDescription()==null){
      BaseDescription description=new BaseDescription();
      org.setDescription(description);
    }
    Organization organization=organizationManager.findByName(ccombo.getText()).get(0);
    if(obox.getText().equals("")){
      try {
View Full Code Here

Examples of com.pre.entity.base.BaseDescription

 
 
  public void fillFromView(Company comp){
    comp.setName(codeText.getText());
    if(comp.getDescription()==null){
      BaseDescription description=new BaseDescription();
      comp.setDescription(description);
    }
    Division divi=dmanager.findByCode(divisionCombo.getText()).get(0);
    comp.setDivision(divi);
    comp.getDescription().setShortDescription(shortDescText.getText());
View Full Code Here

Examples of com.pre.entity.base.BaseDescription

 
 
  private void fillFromView(Organization organization){
    organization.setName(organizationBox.getText());
    if(organization.getDescription()==null){
      BaseDescription description=new BaseDescription();
      organization.setDescription(description);
    }
    Company comp=companyManager.findByName(companiesCombo.getText()).get(0);
    if(organizationBox.getText().equals("")){
      try {
View Full Code Here

Examples of com.pre.entity.base.BaseDescription

          return;
        }
        Location location =new Location();
        location.setName(nameBox.getText());
        //Setup description
        BaseDescription odesc=new BaseDescription();
        location.setDescription(odesc);
        //Find  selected warehouse
        Warehouse comp=manager.findByName(warehousesCombo.getText()).get(0);
        location.setWarehouse(comp);       
        location.getDescription().setShortDescription(sbox.getText());
View Full Code Here

Examples of com.pre.entity.base.BaseDescription

  }
 
  private void fillFromView(Division d){
    d.setCode(codeText.getText());
    if(d.getDescription()==null){
      d.setDescription(new BaseDescription());
    }
    d.getDescription().setShortDescription(shortDescText.getText());
    d.getDescription().setLongDescription(descrioptionText.getText());
    d.getDescription().setComment(commentText.getText());
   
View Full Code Here

Examples of com.pre.entity.base.BaseDescription

      public void onEvent(Event event) throws Exception {
        //init();
        UnitOfMeasure divi=new UnitOfMeasure();
        divi.setName(cbox.getText());
        BaseDescription description=new BaseDescription();
        divi.setDescription(description);
        divi.getDescription().setShortDescription(sbox.getText());
        divi.getDescription().setLongDescription(dbox.getText());
        divi.getDescription().setComment(cmbox.getText());
        manager.create(divi);
View Full Code Here

Examples of org.eclipse.osgi.service.resolver.BaseDescription

        BundleDescription bundleDes1 = state.getBundle(wabActArray[i]
            .getBundle().getBundleId());
        BundleSpecification[] requiredBundleDeses = bundleDes1
            .getRequiredBundles();
        for (BundleSpecification bundleSpec : requiredBundleDeses) {
          BaseDescription supplier = bundleSpec.getSupplier();
          if (supplier instanceof BundleDescription
              && ((BundleDescription) supplier).getBundleId() == wabActArray[j]
                  .getBundle().getBundleId()) {
            isBd1DependentBd2 = true;
            break;
View Full Code Here

Examples of org.eclipse.osgi.service.resolver.BaseDescription

                .equals(ipks
                    .getDirective(Constants.RESOLUTION_DIRECTIVE)))
          continue;

        if (ipks.isResolved()) {
          BaseDescription supplier = ipks.getSupplier();
          if (supplier instanceof ExportPackageDescription) {
            result.add(((ExportPackageDescription) supplier)
                .getExporter());
          }
          if (supplier instanceof BundleDescription) {
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.