Examples of BaseType


Examples of com.caucho.config.reflect.BaseType

          bindings = new Annotation[] { CurrentLiteral.CURRENT };

        args[i] = new BeanArg(param[i], bindings);
      }

      BaseType baseType = inject.createBaseType(param[0]);

      return new ExtensionMethod(method, baseType,
                                 inject.getQualifiers(paramAnn[0]),
                                 args);
    }
View Full Code Here

Examples of com.caucho.config.reflect.BaseType

                             Bean<?> bean)
  {
    if (type == null)
      return;
   
    BaseType baseType = createSourceBaseType(type);
   
    addBeanByType(baseType, annotated, bean);
  }
View Full Code Here

Examples of com.sardak.antform.types.BaseType

   * construct the gui widgets
   */
  protected void build() {
    displayedWidgets = new ArrayList();
    for (int i = 0; i < widgets.size(); i++) {
      BaseType o = (BaseType) widgets.get(i);
      if (o.validate(this)) {
        if (o.shouldBeDisplayed(getProject())) {
          if (o instanceof DummyComponent) {
            o = ((DummyComponent) o).getRealType();
            widgets.set(i, o);
          }
          o.addToControlPanel(control.getPanel());
          displayedWidgets.add(o);
        }
        if (o.getIf() != null || o.getUnless() != null) {
          dynamic = true;
        }
      } else {
        needFail = true;
      }
View Full Code Here

Examples of net.sf.gum.xml.v1.BaseType


  /********************************************************************************/
  public Object getChild( Object parentNode, int index )
  {
    BaseType baseType = (BaseType) parentNode;

    //logger.debug( "getChild()  parentNode: " + baseType.getTitle() + "  index: " + index + "  returns: " + baseType.getItem().get( index ).getTitle() );

    return baseType.getItem().get( index );
  }
View Full Code Here

Examples of net.sf.gum.xml.v1.BaseType


  /********************************************************************************/
  public int getChildCount( Object parentNode )
  {
    BaseType baseType = (BaseType) parentNode;

    //logger.debug( "getChildCount()  parentNode: " + baseType.getTitle() );

    return baseType.getItem().size();
  }
View Full Code Here

Examples of net.sf.gum.xml.v1.BaseType


  /********************************************************************************/
  public int getIndexOfChild( Object parentNode, Object childNode )
  {
    BaseType parent = (BaseType) parentNode;
    BaseType child = (BaseType) childNode;

    //logger.debug( "getIndexOfChild()  parent: " + parent.getTitle() + "   child: " + parent.getTitle() );

    return parent.getItem().indexOf( child );
  }
View Full Code Here

Examples of net.sf.gum.xml.v1.BaseType

    {
      return false;
    }
    else
    {
      BaseType baseType = (BaseType) node;
      return (baseType.getItem().size() == 0);
    }
  }
View Full Code Here

Examples of net.sf.gum.xml.v1.BaseType


  /********************************************************************************/
  public void valueForPathChanged( TreePath treePath, Object string )
  {
    BaseType baseType = (BaseType) treePath.getLastPathComponent();
    baseType.setTitle( (String) string );
  }
View Full Code Here

Examples of net.sf.gum.xml.v1.BaseType


  /********************************************************************************/
  public void addNode( TreePath treePathToParent, ItemType itemType )
  {
    BaseType baseType = (BaseType) treePathToParent.getLastPathComponent();
    baseType.getItem().add( 0, itemType );

    this.fireModelChanged( treePathToParent );
  }
View Full Code Here

Examples of net.sf.gum.xml.v1.BaseType


  /********************************************************************************/
  public void removeNode( TreePath pathToNodeForRemoval )
  {
    BaseType selectedNode = (BaseType) pathToNodeForRemoval.getLastPathComponent();
    BaseType parentNode = (BaseType) pathToNodeForRemoval.getParentPath().getLastPathComponent();

    parentNode.getItem().remove( selectedNode );

    this.fireModelChanged( pathToNodeForRemoval.getParentPath() );
  }
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.