Examples of stack()


Examples of appeng.api.util.AEColoredItemDefinition.stack()

        AEColoredItemDefinition coveredCableDefinition = AEApi.instance().parts().partCableCovered;
        Item transparentCoveredCable = coveredCableDefinition.item( AEColor.Transparent );

        EnumSet<ForgeDirection> sides = tqb.getConnections();
        renderCableAt( 0.11D, world, x, y, z, block, renderer, transparentGlassCable.getIconIndex( glassCableDefinition.stack( AEColor.Transparent, 1 ) ), 0.141D, sides );
        renderCableAt( 0.188D, world, x, y, z, block, renderer, transparentCoveredCable.getIconIndex( coveredCableDefinition.stack( AEColor.Transparent, 1 ) ), 0.1875D, sides );
      }

      float renderMin = 2.0f / 16.0f;
      float renderMax = 14.0f / 16.0f;
      renderer.setRenderBounds( renderMin, renderMin, renderMin, renderMax, renderMax, renderMax );
View Full Code Here

Examples of appeng.api.util.AEColoredItemDefinition.stack()

        // renderer,
        // AppEngTextureRegistry.Blocks.MECable.get(), true, 0.0D);
        AEColoredItemDefinition coveredCableDefinition = AEApi.instance().parts().partCableCovered;
        Item transparentCoveredCable = coveredCableDefinition.item( AEColor.Transparent );

        renderCableAt( 0.188D, world, x, y, z, block, renderer, transparentCoveredCable.getIconIndex( coveredCableDefinition.stack( AEColor.Transparent, 1 ) ), 0.05D,
            tqb.getConnections() );

        float renderMin = 4.0f / 16.0f;
        float renderMax = 12.0f / 16.0f;
View Full Code Here

Examples of appeng.core.features.ItemStackSrc.stack()

  protected ItemStack getItemFromTile(Object obj)
  {
    ItemStackSrc src = myItem.get( obj.getClass() );
    if ( src == null )
      return null;
    return src.stack( 1 );
  }

  protected boolean hasHandlerFor(TileEventType type)
  {
    List<AETileEventHandler> list = getHandlerListFor( type );
View Full Code Here

Examples of org.eclipse.ui.internal.EditorSashContainer.stack()

            }
            /*
             * Create a new part stack (i.e. a workbook) to home the currentEditorPartPane which hold the active editor
             */
            PartStack newPart = createStack(editorSashContainer);
            editorSashContainer.stack(currentEditorPartPane, newPart);
            if (rootLayoutContainer instanceof LayoutPart) {
                ILayoutContainer cont = ((LayoutPart) rootLayoutContainer).getContainer();
                if (cont instanceof PartSashContainer) {
                    // "Split" the editor area by adding the new part
                    PartSashContainer c = (PartSashContainer) cont;
View Full Code Here

Examples of org.jboss.identity.federation.web.core.IdentityServer.stack()

            throw new ProcessingException("Identity Server not found");
        
         String sessionID = httpSession.getId();
        
         String statusIssuer = statusResponseType.getIssuer().getValue();
         server.stack().deRegisterTransitParticipant(sessionID, statusIssuer);
        
         String nextParticipant = this.getParticipant(server, sessionID, relayState);
         if(nextParticipant == null || nextParticipant.equals(relayState))
         {
            //we are done with logout
View Full Code Here

Examples of org.jboss.identity.federation.web.core.IdentityServer.stack()

            }
         }
         else
         {
            //Put the participant in transit mode
            server.stack().registerTransitParticipant(sessionID, nextParticipant);
                     
            //send logout request to participant with relaystate to orig
            response.setRelayState(relayState);
           
            response.setDestination(nextParticipant);
View Full Code Here

Examples of org.jboss.identity.federation.web.core.IdentityServer.stack()

          
            if(participant == null || participant.equals(originalIssuer))
            {
               //All log out is done
               session.invalidate();
               server.stack().pop(sessionID);
              
               generateSuccessStatusResponseType(logOutRequest.getID(),
                     request, response, originalIssuer);
            }
            else
View Full Code Here

Examples of org.jboss.identity.federation.web.core.IdentityServer.stack()

                     request, response, originalIssuer);
            }
            else
            {
               //Put the participant in transit mode
               server.stack().registerTransitParticipant(sessionID, participant);
              
               if(relayState == null)
                  relayState = originalIssuer;
              
               //send logout request to participant with relaystate to orig
View Full Code Here

Examples of org.picketlink.identity.federation.web.core.IdentityServer.stack()

        //IDP should now send the final logout response to Sales application who sent the original request
        sp.authenticate(request, response, new LoginConfig());

        //Ensure that at the IDP we do not have any participants in the session (both employee and sales are logged out)
        IdentityParticipantStack stack = server.stack();
        assertEquals(0, stack.getParticipants(session.getId()));
        assertEquals(0, stack.getNumOfParticipantsInTransit(session.getId()));

        // Finally the session should be invalidated
        assertTrue(session.isInvalidated());
View Full Code Here

Examples of org.picketlink.identity.federation.web.core.IdentityServer.stack()

    // Get the Identity server with 2 participants
    private IdentityServer getIdentityServer(HttpSession session) {
        IdentityServer server = new IdentityServer();
        server.sessionCreated(new HttpSessionEvent(session));

        server.stack().register(session.getId(), sales, false);
        server.stack().register(session.getId(), employee, false);
        return server;
    }
}
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.