Package net.xoetrope.xui

Examples of net.xoetrope.xui.XPageManager


        Preferences rsPrefs = Preferences.userNodeForPackage( getClass());
        rsPrefs.put( "defaultLanguage", defLangCode );
        project.setStartupParam( "Language", defLangCode );

        pageHelper.componentFactory.setResourceBundle( defLangCode );
        XPageManager pm = project.getPageManager();
        pm.reset();
        pm.showPage( "Welcome" );
        updateBoundComponentValues();
      }
      inChangeLang = false;
    }
  }
View Full Code Here


    clientFrame.setEnabled( true );
    appWindow.setEnabled( true );
    if (( closeButtonID != CANCEL_CLICKED ) && saveOnClose ) {
      saveBoundComponentValues();
      XPageManager pm = project.getPageManager();
      int numTargets = pm.getNumTargets();
     
      // Skip any toolbars
      int targetIdx = 0;
      Object t = pm.getTarget( targetIdx );
      if ( !( t instanceof XContentHolder ))
        targetIdx++;
     
      for ( ; targetIdx < numTargets; targetIdx++ )  {
        XContentHolder targetArea = (XContentHolder)pm.getTarget( targetIdx );
        PageSupport currentPage = pm.getCurrentPage( targetArea.getName());
        if ( currentPage != null )
          currentPage.updateBoundComponentValues();
      }
    }
    setStatus( XPage.LOADED );
View Full Code Here

    clientFrame.setEnabled( true );
    appWindow.setEnabled( true );
    if (( closeButtonID != CANCEL_CLICKED ) && saveOnClose ) {
      saveBoundComponentValues();
      XPageManager pm = XProjectManager.getPageManager();
      int numTargets = pm.getNumTargets();
     
      // Skip any toolbars
      int targetIdx = 0;
      Object t = pm.getTarget( targetIdx );
      if ( !( t instanceof XContentHolder ))
        targetIdx++;
     
      for ( ; targetIdx < numTargets; targetIdx++ )  {
        XContentHolder targetArea = (XContentHolder)pm.getTarget( targetIdx );
        PageSupport currentPage = pm.getCurrentPage( targetArea.getName());
        if ( currentPage != null )
          currentPage.updateBoundComponentValues();
      }
    }
    setStatus( XPage.LOADED );
View Full Code Here

TOP

Related Classes of net.xoetrope.xui.XPageManager

Copyright © 2018 www.massapicom. 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.