Examples of createLabel()


Examples of com.dtrules.automapping.access.IDataSource.createLabel()

                spec);
       
        // If we haven't got a label for this sort of object yet, create one.
        if (labelObj == null  || !labelObj.isCached()){
       
            labelObj = dataSrc.createLabel(
                this,
                groupObj,
                dataSrc.getName(object),           // Get our default label name
                dataSrc.getKey(object),            // See if we can find a key for this obj                 
                false,
View Full Code Here

Examples of de.chris_soft.nanoarchive.DB.createLabel()

   * @throws IOException
   */
  @Test
  public void testLabels() throws ClassNotFoundException, SQLException, IOException {
    DB db = new DB(DB_PATH);
    long labelID = db.createLabel("lucas");
    assertEquals("lucas", db.getLabelName(labelID));
    db.addLabelToDocument(3312L, labelID);
    List<Long> list = db.getDocumentsFromLabel(labelID);
    assertEquals(1, list.size());
    assertEquals(3312L, list.get(0).longValue());
View Full Code Here

Examples of de.innovationgate.eclipse.utils.ui.WidgetFactory.createLabel()

       
        sectionLayout.numColumns = 3;
        sectionClient.setLayout(sectionLayout);
       
       
        _lblDirectory = factory.createLabel(sectionClient, "Directory", "designDirectory");       
        _lblDirectory.setLayoutData(fillHSpan);
       
//      _lblDesignKey = factory.createLabel(sectionClient, "Design key:", "designKey");
//      _lblDesignKey.setLayoutData(fillHSpan);
     
View Full Code Here

Examples of de.innovationgate.eclipse.utils.wga.WGADesignStructureHelper.createLabel()

      if (resource instanceof IFile) {
        IFile referer = (IFile) resource;
        WGADesignStructureHelper helper = new WGADesignStructureHelper(referer);
       
        try {
          helper.createLabel(_labelFilename, _labelKey, "");                 
          // revalidate tmlfile and open editor
          WGADesignResourceValidator.validate(referer);
          Plugin.getDefault().openLabelEditor(helper.getLabelFile(_labelFilename), _labelKey);         
        } catch (CoreException e) {
        }
View Full Code Here

Examples of edu.mayo.bmi.guoqian.claml.ObjectFactory.createLabel()

                //rubricLabel.setId("id-to-be-added-later");
                ClassKind cKindPreferred = factory.createClassKind();
                cKindPreferred.setName("preferred");
                rubricLabel.setKind(cKindPreferred);

                Label clsLabel = factory.createLabel();
                clsLabel.setLang("en");
                clsLabel.setSpace("default");
                clsLabel.getContent().add(label);
                rubricLabel.getLabel().add(clsLabel);
                cls.getRubric().add(rubricLabel);
View Full Code Here

Examples of net.lucidviews.geoalgo.limb.refine.labelling.SimpleFeatureLabelFormatter.createLabel()

   
    this.feature.getProperty( NUMERIC_ATTRIBUTE_ID ).setValue( null );
   
    SimpleFeatureLabelFormatter testObj = new SimpleFeatureLabelFormatter();
    testObj.setUndefinedValueLabel( undefinedValueLabel );
    String label = testObj.createLabel( this.feature, options );
   
    assertEquals( undefinedValueLabel, label );
  }
 
  public void testUndefinedProperty()
View Full Code Here

Examples of net.rim.device.api.ui.component.progressindicator.ActivityIndicatorView.createLabel()

            final long animationFieldStyle, final String label,
            final long lableStyle) {
        final ActivityIndicatorView view =
                createActivityIndicator(viewStyle, bitmap, numFrames,
                        animationFieldStyle);
        view.createLabel(label, lableStyle);

        return view;
    }

    /**
 
View Full Code Here

Examples of org.apache.cxf.common.util.ASMHelper.createLabel()

           
          
            mv = cw.visitMethod(Opcodes.ACC_PUBLIC, "<init>", "(Ljava/util/Map;)V",
                                "(Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V", null);
            mv.visitCode();
            Label l0 = helper.createLabel();
            mv.visitLabel(l0);
            mv.visitVarInsn(Opcodes.ALOAD, 0);
            mv.visitVarInsn(Opcodes.ALOAD, 1);
            mv.visitMethodInsn(Opcodes.INVOKESPECIAL,
                               superName, "<init>", "(Ljava/util/Map;)V", false);
View Full Code Here

Examples of org.apache.cxf.common.util.ASMHelper.createLabel()

            mv.visitLabel(l0);
            mv.visitVarInsn(Opcodes.ALOAD, 0);
            mv.visitVarInsn(Opcodes.ALOAD, 1);
            mv.visitMethodInsn(Opcodes.INVOKESPECIAL,
                               superName, "<init>", "(Ljava/util/Map;)V", false);
            Label l1 = helper.createLabel();
            mv.visitLabel(l1);
            mv.visitInsn(Opcodes.RETURN);
            Label l2 = helper.createLabel();
            mv.visitLabel(l2);
            mv.visitMaxs(2, 2);
View Full Code Here

Examples of org.apache.cxf.common.util.ASMHelper.createLabel()

            mv.visitMethodInsn(Opcodes.INVOKESPECIAL,
                               superName, "<init>", "(Ljava/util/Map;)V", false);
            Label l1 = helper.createLabel();
            mv.visitLabel(l1);
            mv.visitInsn(Opcodes.RETURN);
            Label l2 = helper.createLabel();
            mv.visitLabel(l2);
            mv.visitMaxs(2, 2);
            mv.visitEnd();           
           
           
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.