Examples of label()


Examples of org.dbwiki.data.document.DocumentNode.label()

            _elementStack.pop();
          } else {
            throw new WikiDataException(WikiDataException.InvaldInputData, "Duplicate text value for attribute " + attribute.label());
          }
        } else {
          throw new WikiDataException(WikiDataException.InvaldInputData, "Unexpected text value under element " + currentElement.label());
        }
      } else {
        throw new WikiDataException(WikiDataException.InvaldInputData, "Trying to close non-existing element past end of document");
      }
    } else if (!_elementStack.isEmpty()) {
View Full Code Here

Examples of org.dbwiki.data.index.DatabaseEntry.label()

    _containerList.add(container);
   
    DatabaseEntry entry = null;
   
    while ((entry = iterator.next()) != null) {
      String key = entry.label().substring(0, 1);
      container = _containerIndex.get(key);
      if (container == null) {
        container = _containerList.lastElement();
      }
      container.add(entry);
View Full Code Here

Examples of org.dbwiki.data.schema.GroupSchemaNode.label()

    URLDecodingRule rule = this.get(root);
    if (rule != null) {
      String entryIdentifier = url.get(0).decodedText();
      int pos = entryIdentifier.indexOf(':');
      if (pos != -1) {
        if (entryIdentifier.substring(0, pos).equals(root.label())) {
          entryIdentifier = entryIdentifier.substring(pos + 1);
        } else {
          throw new WikiDataException(WikiDataException.UnknownResource, url.toString());
        }
      }
View Full Code Here

Examples of org.dbwiki.data.schema.SchemaNode.label()

        if (node.isAttribute()) {
          newNode = newNode + RelSchemaColTypeValAttribute + ", ";
        } else {
          newNode = newNode + RelSchemaColTypeValGroup + ", ";       
        }
        newNode = newNode + "'" + node.label() + "', ";
        if (node.parent() != null) {
          newNode = newNode + node.parent().id() + ", ";
        } else {
          newNode = newNode + "-1, ";
        }
View Full Code Here

Examples of org.dcm4che3.conf.api.generic.ConfigField.label()

            // save metadata
            Map<String, Object> fieldMetaData = new HashMap<String, Object>();
            classMetaData.put(fieldAnno.name(), fieldMetaData);

            fieldMetaData.put("label", fieldAnno.label());
            fieldMetaData.put("description", fieldAnno.description());
            fieldMetaData.put("optional", fieldAnno.optional());
           
            // find typeadapter
            ConfigTypeAdapter customRep = config.lookupTypeAdapter(classField.getType());
View Full Code Here

Examples of org.eclipse.sapphire.modeling.annotations.NamedValues.NamedValue.label()

        for( int i = 0, n = namedValueAnnotations.length; i < n; i++ )
        {
            final NamedValue x = namedValueAnnotations[ i ];
           
            final String namedValueLabel
                = property.getLocalizationService().text( x.label(), CapitalizationType.FIRST_WORD_ONLY, true );
           
            this.namedValues[ i ] = new NamedValueLocal( x.value(), namedValueLabel );
        }
       
        this.updating = false;
View Full Code Here

Examples of org.eclipse.sapphire.services.ContentProposal.label()

                        .size()];
                for (int i = 0; i < proposals.size(); i++) {
                    ContentProposal contentProposalInfo = proposals.get(i);
                    ImageContentProposal contentProposal = new ImageContentProposal(
                            contentProposalInfo.content(),
                            contentProposalInfo.label(),
                            contentProposalInfo.description(),
                            contentProposalInfo.content().length(),
                            this.sapphirePart.getSwtResourceCache().image(
                                    contentProposalInfo.image()));
                    arrContentProposals[i] = contentProposal;
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.ActuatorPart.label()

       
        register( button );
       
        keyboardActionPresentation.attach( button );
       
        final String label = part.label( CapitalizationType.TITLE_STYLE, true );
       
        if( label != null )
        {
            button.setText( label );
        }
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.PropertyEditorPart.label()

        {
            final Runnable updateLabelOp = new Runnable()
            {
                public void run()
                {
                    CheckBoxPropertyEditorPresentation.this.checkbox.setText( part.label( CapitalizationType.FIRST_WORD_ONLY, true ) );
                }
            };
           
            attachPartListener
            (
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.WithPart.label()

               
                final SapphireActionGroup actions = part.getActions();
                final SapphireActionPresentationManager actionPresentationManager = new SapphireActionPresentationManager( WithPresentation.this, actions );
                final SapphireKeyboardActionPresentation actionPresentationKeyboard = new SapphireKeyboardActionPresentation( actionPresentationManager );
               
                final boolean showLabel = ( part.label() != null );

                if( style == Style.CHECKBOX )
                {
                    typeSelectorComposite.setLayout( glspacing( glayout( 2, 0, 0 ), 2 ) );
                   
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.