Examples of library()


Examples of co.arcs.groove.thresher.User.library()

        // The library.get() response contains favorited songs that do not have
        // the 'favorited' property set. To work around this, favorites are
        // removed from the library set and replaced with instances from the
        // favorites set. The result is that all songs within the resulting set
        // are 'collected', and some are 'favorited'.
        ImmutableSet<Song> library = ImmutableSet.copyOf(user.library().get());

        bus.post(new GetSongsToSyncProgressChangedEvent(this, 2, 3));

        ImmutableSet<Song> favorites = ImmutableSet.copyOf(user.favorites().get());
View Full Code Here

Examples of org.cruxframework.crux.core.rebind.screen.widget.declarative.DeclarativeFactory.library()

              {
                DeclarativeFactory declarativeFactory = childAttributes.type().getAnnotation(DeclarativeFactory.class);
                if (declarativeFactory != null)
                {
                  referenceWidgetsList.put(parentLibrary+"_"+parentPath,
                      declarativeFactory.library()+"_"+declarativeFactory.id());
                }
              }
              else
              {
                widgetsSubTags.add(parentLibrary+"_"+parentPath);             
View Full Code Here

Examples of org.cruxframework.crux.core.rebind.screen.widget.declarative.DeclarativeFactory.library()

    else if (WidgetCreator.class.isAssignableFrom(type))
    {
      DeclarativeFactory annot = type.getAnnotation(DeclarativeFactory.class);
      if (annot != null)
      {
        if (annot.library().equals(library))
        {
          return "T"+annot.id();
        }
        else
        {
View Full Code Here

Examples of org.cruxframework.crux.core.rebind.screen.widget.declarative.DeclarativeFactory.library()

        {
          return "T"+annot.id();
        }
        else
        {
          return "_"+annot.library()+":T"+annot.id();
        }
      }
    }
    else if (WidgetChildProcessor.class.isAssignableFrom(type))
    {
View Full Code Here

Examples of org.cruxframework.crux.core.rebind.screen.widget.declarative.DeclarativeFactory.library()

  public String getWidgetFactoryDeclaration()
  {
    DeclarativeFactory declarativeFactory = getClass().getAnnotation(DeclarativeFactory.class);
    if (declarativeFactory != null)
    {
      return declarativeFactory.library()+"_"+declarativeFactory.id();
    }
    throw new CruxGeneratorException("Error reading viewFactory declaration.");
  }
 
  /**
 
View Full Code Here

Examples of org.cruxframework.crux.core.rebind.screen.widget.declarative.DeclarativeFactory.library()

  public String getWidgetDeclarationType()
  {
    DeclarativeFactory declarativeFactory = factoryClass.getAnnotation(DeclarativeFactory.class);
    if (declarativeFactory != null)
    {
      return declarativeFactory.library()+"_"+declarativeFactory.id();
    }
    else
    {
      return null;
    }
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.