Examples of toReference()


Examples of com.haulmont.yarg.formatters.impl.xlsx.CellReference.toReference()

            newRef.move(newRow.getR().intValue(), newRef.getColumn());
            if (bandData.getOrientation() == BandOrientation.VERTICAL) {
                newRef.shift(0, previousRangesRightOffset);

            }
            newCell.setR(newRef.toReference());

            newRow.getC().add(newCell);
            newCell.setParent(newRow);

            WorksheetPart worksheetPart = null;
View Full Code Here

Examples of com.haulmont.yarg.formatters.impl.xlsx.CellReference.toReference()

        if (bandData.getOrientation() == BandOrientation.VERTICAL) {
            newRef.shift(0, previousRangesRightOffset);

        }

        newCell.setR(newRef.toReference());
        return newCell;
    }

    protected void addFormulaForPostProcessing(Range templateRange, Row newRow, Cell templateCell, Cell newCell) {
        Worksheet worksheet = getWorksheet(newRow);
View Full Code Here

Examples of org.objectweb.joram.client.jms.ConnectionFactory.toReference()

      strbuf.append("CF#").append(i).append(".class");
      ref.add(new StringRefAddr(strbuf.toString(), cf.getClass().getName()));

      strbuf.setLength(0);
      strbuf.append("CF#").append(i);
      cf.toReference(ref, strbuf.toString());
    }
  }

  /** Restores the administered object from a naming reference. */
  public void fromReference(Reference ref) throws NamingException {
View Full Code Here

Examples of org.rssowl.core.persist.IBookMark.toReference()

    DynamicDAO.save(bookmark);

    assertNotNull(feed.toReference().resolve());
    assertNotNull(news.toReference().resolve());
    assertNotNull(folder.toReference().resolve());
    assertNotNull(bookmark.toReference().resolve());

    InternalOwl.getDefault().recreateProfile(false); //Creates a new, empty rssowl.db.restore
    assertTrue(new File(DBManager.getDBRestoreFilePath()).exists());
    InternalOwl.getDefault().startup(new LongOperationMonitor(new NullProgressMonitor()) {}, false, false); //Normal startup will pickup rssowl.db.restore
    assertFalse(new File(DBManager.getDBRestoreFilePath()).exists());
View Full Code Here

Examples of org.rssowl.core.persist.IBookMark.toReference()

    assertFalse(new File(DBManager.getDBRestoreFilePath()).exists());

    assertNull(feed.toReference().resolve());
    assertNull(news.toReference().resolve());
    assertNull(folder.toReference().resolve());
    assertNull(bookmark.toReference().resolve());

    feed = DynamicDAO.save(createFeed());
    news = createNews(feed);
    news.setState(INews.State.NEW);
    news.setFlagged(true);
View Full Code Here

Examples of org.rssowl.core.persist.IBookMark.toReference()

    DynamicDAO.save(bookmark);

    assertNotNull(feed.toReference().resolve());
    assertNotNull(news.toReference().resolve());
    assertNotNull(folder.toReference().resolve());
    assertNotNull(bookmark.toReference().resolve());
  }

  /**
   * @throws Exception
   */
 
View Full Code Here

Examples of org.rssowl.core.persist.IBookMark.toReference()

    DynamicDAO.save(bookmark);

    assertNotNull(feed.toReference().resolve());
    assertNotNull(news.toReference().resolve());
    assertNotNull(folder.toReference().resolve());
    assertNotNull(bookmark.toReference().resolve());

    InternalOwl.getDefault().recreateProfile(true);
    assertTrue(new File(DBManager.getDBRestoreFilePath()).exists());

    assertNull(feed.toReference().resolve());
View Full Code Here

Examples of org.rssowl.core.persist.IBookMark.toReference()

    assertTrue(new File(DBManager.getDBRestoreFilePath()).exists());

    assertNull(feed.toReference().resolve());
    assertNull(news.toReference().resolve());
    assertNull(folder.toReference().resolve());
    assertNull(bookmark.toReference().resolve());

    File tmpFile = File.createTempFile("rssowlopml", "tmp");
    if (!tmpFile.exists())
      tmpFile.createNewFile();
    tmpFile.deleteOnExit();
View Full Code Here

Examples of org.rssowl.core.persist.IBookMark.toReference()

    DynamicDAO.save(bookmark);

    assertNotNull(feed.toReference().resolve());
    assertNotNull(news.toReference().resolve());
    assertNotNull(folder.toReference().resolve());
    assertNotNull(bookmark.toReference().resolve());

    File tmpFile = File.createTempFile("rssowldb", "tmp");
    if (!tmpFile.exists())
      tmpFile.createNewFile();
    tmpFile.deleteOnExit();
View Full Code Here

Examples of org.rssowl.core.persist.IFeed.toReference()

    IFolder folder = Owl.getModelFactory().createFolder(null, null, "Root");
    IBookMark bookmark = Owl.getModelFactory().createBookMark(null, folder, new FeedLinkReference(feed.getLink()), "Bookmark");

    DynamicDAO.save(bookmark);

    assertNotNull(feed.toReference().resolve());
    assertNotNull(news.toReference().resolve());
    assertNotNull(folder.toReference().resolve());
    assertNotNull(bookmark.toReference().resolve());

    InternalOwl.getDefault().recreateProfile(false); //Creates a new, empty rssowl.db.restore
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.