Examples of WindowHandler


Examples of com.neophob.sematrix.gui.handler.WindowHandler

                for (WindowListener wl: frame.getWindowListeners()) {                 
                  frame.removeWindowListener(wl);
                }
               
                  //add our own window listener
                  frame.addWindowListener( new WindowHandler(this) );             
            } catch (Exception e) {
              LOG.log(Level.INFO, "failed to remove/add window listeners", e);
        }
            return;
View Full Code Here

Examples of com.neophob.sematrix.gui.handler.WindowHandler

        // that other internal variables are properly set.
        childFrame.setVisible(true);
       
        //childFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        childFrame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);               
        childFrame.addWindowListener( new WindowHandler(parentPapplet) );
 
View Full Code Here

Examples of de.sciss.app.WindowHandler

    public HelpFrame()
    {
        super();
       
    final Application  app  = AbstractApplication.getApplication();
    final WindowHandler wh  = app.getWindowHandler();
   
    win  = wh.createWindow( AbstractWindow.SUPPORT );
   
    Container              cp    = win.getContentPane();
        Box                  buttonPanel;
    final JButton            ggClose;
        JScrollPane              ggScroll;
View Full Code Here

Examples of de.sciss.app.WindowHandler

    return actionCollect;
  }
 
  public static Component getWindowAncestor( Component c )
  {
    final WindowHandler wh = AbstractApplication.getApplication().getWindowHandler();
   
    return SwingUtilities.getAncestorOfClass( (wh instanceof BasicWindowHandler) && ((BasicWindowHandler) wh).internalFrames ?
                          JInternalFrame.class : Window.class, c );
  }
View Full Code Here

Examples of org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.spi.WindowHandler

            if(AUTOMATED_ENTRY_POINT_PARAMETER_KEY.equalsIgnoreCase(windowId))
            {
                return true;
            }

            WindowHandler windowHandler = ConversationUtils.getWindowHandler();
            windowId = resolveWindowContextId(
                    windowHandler, urlParameterSupported, windowContextConfig.isUnknownWindowIdsAllowed());

            if(windowId == null)
            {
View Full Code Here

Examples of org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.spi.WindowHandler

    public void execute(FacesContext facesContext)
    {
        broadcastApplicationStartupBroadcaster();
        broadcastBeforeFacesRequestEvent(facesContext);

        WindowHandler windowHandler = CodiUtils.getContextualReferenceByClass(WindowHandler.class);

        if (windowHandler instanceof LifecycleAwareWindowHandler)
        {
            ((LifecycleAwareWindowHandler) windowHandler).beforeLifecycleExecute(facesContext);
            if (facesContext.getResponseComplete())
View Full Code Here

Examples of org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.spi.WindowHandler

        if(this.beforeAfterFacesRequestBroadcaster != null)
        {
            BeanManagerProvider beanManagerProvider = BeanManagerProvider.getInstance();
            EditableWindowContextManager windowContextManager =
                    beanManagerProvider.getContextualReference(EditableWindowContextManager.class);
            WindowHandler windowHandler =
                    beanManagerProvider.getContextualReference(WindowHandler.class);
            WindowContextConfig windowContextConfig =
                    beanManagerProvider.getContextualReference(WindowContextConfig.class);

            ConversationUtils.tryToRestoreTheWindowIdEagerly(facesContext,
View Full Code Here

Examples of org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.spi.WindowHandler

    }

    public void execute(FacesContext facesContext)
            throws FacesException
    {
        WindowHandler windowHandler = CodiUtils.getContextualReferenceByClass(WindowHandler.class);

        if (windowHandler instanceof LifecycleAwareWindowHandler)
        {
            ((LifecycleAwareWindowHandler) windowHandler).beforeLifecycleExecute(facesContext);
            if (facesContext.getResponseComplete())
View Full Code Here

Examples of org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.spi.WindowHandler

    }

    public void execute(FacesContext facesContext)
            throws FacesException
    {
        WindowHandler windowHandler = CodiUtils.getContextualReferenceByClass(WindowHandler.class);

        if (windowHandler instanceof LifecycleAwareWindowHandler)
        {
            ((LifecycleAwareWindowHandler) windowHandler).beforeLifecycleExecute(facesContext);
            if (facesContext.getResponseComplete())
View Full Code Here

Examples of org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.spi.WindowHandler

            if(AUTOMATED_ENTRY_POINT_PARAMETER_KEY.equalsIgnoreCase(windowId))
            {
                return true;
            }

            WindowHandler windowHandler = ConversationUtils.getWindowHandler();
            windowId = resolveWindowContextId(
                    windowHandler, urlParameterSupported, windowContextConfig.isUnknownWindowIdsAllowed());

            if(windowId == 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.