Examples of Home


Examples of com.eteks.sweethome3d.model.Home

    }
   
    public void selectionChanged(SelectionEvent ev) {
      // If piece 3D was garbage collected, remove this listener from home
      HomePieceOfFurniture3D piece3D = this.piece.get();
      Home home = (Home)ev.getSource();
      if (piece3D == null) {
        home.removeSelectionListener(this);
      } else {
        piece3D.updatePieceOfFurnitureVisibility();
      }
    }
View Full Code Here

Examples of com.eteks.sweethome3d.model.Home

    }
    for (Room room : home.getRooms()) {
      exportNode((Node)object3DFactory.createObject3D(home, room, true), true, false, silk);
    }
    // Create a dummy home to export a ground 3D not cut by rooms and large enough to join the sky at the horizon 
    Home groundHome = new Home();
    groundHome.getEnvironment().setGroundColor(home.getEnvironment().getGroundColor());
    groundHome.getEnvironment().setGroundTexture(home.getEnvironment().getGroundTexture());
    Ground3D ground = new Ground3D(groundHome, -1E7f / 2, -1E7f / 2, 1E7f, 1E7f, true);
    Transform3D translation = new Transform3D();
    translation.setTranslation(new Vector3f(0, -0.1f, 0));
    TransformGroup groundTransformGroup = new TransformGroup(translation);
    groundTransformGroup.addChild(ground);
View Full Code Here

Examples of emometer.view.Home

            e.printStackTrace();
        }
        pool = new JedisPool(new JedisPoolConfig(), "localhost");
        MainFrame mf = MainFrame.getInstance();
        mf.setVisible(true);
        Window.switchPanel(new Home());
    }
View Full Code Here

Examples of org.apache.tapestry.vlib.pages.Home

    }

    public IPage borrow(final IRequestCycle cycle, final Integer bookId)
    {
        final Visit visit = getVisit();
        final Home home = getHome();

        RemoteCallback callback = new RemoteCallback()
        {
            public Object remoteCallback() throws RemoteException
            {
                try
                {
                    Book book = getOperations().borrowBook(bookId, visit.getUserId());

                    home.setMessage(borrowedBook(book.getTitle()));

                    return null;
                }
                catch (BorrowException ex)
                {
View Full Code Here

Examples of org.hibernate.test.annotations.id.entities.Home

  public void testDefaultSequence() throws Exception {
    Session s;
    Transaction tx;
    s = openSession();
    tx = s.beginTransaction();
    Home h = new Home();
    s.persist(h);
    tx.commit();
    s.close();
    assertNotNull(h.getId());

    s = openSession();
    tx = s.beginTransaction();
    Home reloadedHome = (Home) s.get(Home.class, h.getId());
    assertEquals(h.getId(), reloadedHome.getId());
    s.delete(reloadedHome);
    tx.commit();
    s.close();
  }
View Full Code Here

Examples of org.hibernate.test.annotations.id.sequences.entities.Home

  public void testDefaultSequence() throws Exception {
    Session s;
    Transaction tx;
    s = openSession();
    tx = s.beginTransaction();
    Home h = new Home();
    s.persist( h );
    tx.commit();
    s.close();
    assertNotNull( h.getId() );

    s = openSession();
    tx = s.beginTransaction();
    Home reloadedHome = ( Home ) s.get( Home.class, h.getId() );
    assertEquals( h.getId(), reloadedHome.getId() );
    s.delete( reloadedHome );
    tx.commit();
    s.close();
  }
View Full Code Here

Examples of org.hibernate.test.annotations.id.sequences.entities.Home

  public void testParameterizedAuto() throws Exception {
    Session s;
    Transaction tx;
    s = openSession();
    tx = s.beginTransaction();
    Home h = new Home();
    s.persist( h );
    tx.commit();
    s.close();
    assertNotNull( h.getId() );

    s = openSession();
    tx = s.beginTransaction();
    Home reloadedHome = ( Home ) s.get( Home.class, h.getId() );
    assertEquals( h.getId(), reloadedHome.getId() );
    s.delete( reloadedHome );
    tx.commit();
    s.close();
  }
View Full Code Here

Examples of org.jboss.remoting.Home

    */
   protected void handleConnect()
   throws ConnectionFailedException
  
      int registryPort = getRegistryPort(locator);
      Home home = null;
      Exception savedException = null;
      Iterator it = getConnectHomes().iterator();
     
      while (it.hasNext())
      {
View Full Code Here

Examples of org.jboss.remoting.Home

      InvokerLocator savedLocator = locator;
      String protocol = savedLocator.getProtocol();
      String path = savedLocator.getPath();
      Map params = savedLocator.getParameters();
      List homes = locator.getConnectHomeList();
      Home home = null;
     
      Iterator it = homes.iterator();
      while (it.hasNext())
      {
         try
View Full Code Here

Examples of org.jboss.remoting.Home

         List homes = getHomes();
        
         if (connectHomes.size() != homes.size())
            throw new IOException("number of connect homes and bind homes must match in RMI transport");
        
         Home bindHome = (Home) homes.get(0);
         Home connectHome = (Home) connectHomes.get(0);
         initRMI(bindHome, connectHome);

         for (int i = 1; i < homes.size(); i++)
         {
            bindHome = (Home) homes.get(i);
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.