Examples of load()


Examples of com.tinyline.svg.SVGParser.load()

      // Create the SVGT attributes parser
      SVGAttr attrParser = new SVGAttr(pixbuf.width, pixbuf.height);
      // Create the SVGT stream parser
      SVGParser parser = new SVGParser(attrParser);
      // Parse the input SVGT stream parser into the document
      parser.load(doc,is);
      str = "www.tinyline.com";
      alertInit(str);
    }
    catch(OutOfMemoryError memerror)
    {
View Full Code Here

Examples of com.tll.client.data.rpc.CrudCommand.load()

      }, new InterfaceStack.IFieldPanelDataLoader() {

        @Override
        public IRpcCommand load(ModelKey intfKey, AuxDataRequest adr) {
          final CrudCommand c = new CrudCommand();
          c.load(new PrimaryKeySearch(intfKey), adr);
          return c;
        }
      }, true);
    addWidget(intfStack);
  }
View Full Code Here

Examples of com.tll.server.rpc.entity.PersistServiceDelegate.load()

    final com.tll.server.AdminContext sac =
      (com.tll.server.AdminContext) rc.getSession().getAttribute(com.tll.server.AdminContext.KEY);
    final Marshaler em = mec.getMarshaler();
    assert delegate != null && em != null && sac != null;

    final ModelPayload ep = delegate.load(new LoadRequest<PrimaryKeySearch>(new PrimaryKeySearch(accountRef)));
    final Status status = ep.getStatus();

    status.addMsg("Admin Context current account retrieved for " + accountRef.descriptor(), MsgLevel.INFO,
        MsgAttr.STATUS.flag);
    return new AdminContextPayload(status, ep.getModel());
View Full Code Here

Examples of com.tll.service.entity.account.IAccountService.load()

    assert m != null;
    final Account a = (Account) e;
    if(a.getParent() != null) {
      final PrimaryKey<Account> pk = new PrimaryKey<Account>(Account.class, a.getParent().getId());
      final IAccountService svc = context.getEntityServiceFactory().instance(IAccountService.class);
      final Account parent = svc.load(pk);
      final Model mparent = new Model(SmbizEntityType.ACCOUNT);
      mparent.set(new StringPropertyValue(Model.ID_PROPERTY, parent.getId()));
      mparent.set(new StringPropertyValue(Model.NAME_PROPERTY, parent.getName()));
      m.set(new RelatedOneProperty(SmbizEntityType.ACCOUNT, mparent, "parent", true));
    }
View Full Code Here

Examples of com.tll.service.entity.test.IAccountService.load()

    assert m != null;
    final Account a = (Account) e;
    if(a.getParent() != null) {
      final PrimaryKey<Account> pk = new PrimaryKey<Account>(Account.class, a.getParent().getId());
      final IAccountService svc = context.getEntityServiceFactory().instance(IAccountService.class);
      final Account parent = svc.load(pk);
      final Model mparent = new Model(TestEntityType.ACCOUNT);
      mparent.set(new StringPropertyValue(Model.ID_PROPERTY, parent.getId()));
      mparent.set(new StringPropertyValue(Model.NAME_PROPERTY, parent.getName()));
      m.set(new RelatedOneProperty(TestEntityType.ACCOUNT, mparent, "parent", true));
    }
View Full Code Here

Examples of com.trolltech.qt.core.QTranslator.load()

    }
   
    logger.log(logger.EXTREME, "Starting GUI build");

    QTranslator nevernoteTranslator = new QTranslator();
    nevernoteTranslator.load(Global.getFileManager().getTranslateFilePath("nevernote_" + QLocale.system().name() + ".qm"));
    QApplication.instance().installTranslator(nevernoteTranslator);

    Global.originalPalette = QApplication.palette();
    QApplication.setStyle(Global.getStyle());
    if (Global.useStandardPalette())
View Full Code Here

Examples of com.trolltech.qt.gui.QPixmap.load()

    mutex.lock();
    logger.log(logger.EXTREME, "Image found "+guid);
     
    logger.log(logger.EXTREME, "Getting image");
    QPixmap image = new QPixmap();
    if (!image.load(Global.getFileManager().getResDirPath()+"thumbnail-"+guid+".png")) {
      logger.log(logger.EXTREME, "Failure to reload image. Aborting.");
      mutex.unlock();
      return;
    }
   
View Full Code Here

Examples of com.tulskiy.musique.system.Application.load()

        try {
            UIManager.setLookAndFeel(new MetalLookAndFeel());
        } catch (UnsupportedLookAndFeelException ignored) {
        }
        Application app = Application.getInstance();
        app.load();
        TreeFileChooser fileChooser = new TreeFileChooser(new JLabel(), "Select files", true);
        File[] files = fileChooser.showOpenDialog();
        if (files != null) {
            System.out.println(Arrays.toString(files));
        }
View Full Code Here

Examples of com.valhalla.jbother.groupchat.GroupChatBookmarks.load()

                    MessageDelegator.getInstance().showPanel(panel);
                    MessageDelegator.getInstance().frontFrame(panel);
                } else if (e.getSource() == joinChatItem) {
                    GroupChatBookmarks gc = new GroupChatBookmarks(BuddyList.getInstance()
                    .getTabFrame());
                    gc.load();
                    gc.setVisible(true);
                } else if (e.getSource() == registerItem)
                    registrationHandler();
                else if (e.getSource() == discoItem)
                    new ServiceDiscoveryDialog(blist.getContainerFrame())
View Full Code Here

Examples of com.vercer.engine.persist.annotation.AnnotationObjectDatastore.load()

    Key key = datastore.store(musicFestival);

    AnnotationObjectDatastore typesafe2 = new AnnotationObjectDatastore();
    typesafe2.setActivationDepth(5);
    Object reloaded = typesafe2.load(key);

    // they should be different instances from distinct sessions
    assertNotSame(musicFestival, reloaded);

    // they should have the same data
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.