Examples of IApplication


Examples of net.sourceforge.squirrel_sql.client.IApplication

   *
   * @return  The menu object.
   */
  private JMenu createFirebirdMenu()
  {
    final IApplication app = getApplication();
    final ActionCollection coll = app.getActionCollection();

    final JMenu firebirdMenu = _resources.createMenu(FirebirdResources.IMenuResourceKeys.FIREBIRD);

    _resources.addToMenu(coll.get(ActivateIndexAction.class), firebirdMenu);
    _resources.addToMenu(coll.get(DeactivateIndexAction.class), firebirdMenu);
View Full Code Here

Examples of org.eclipse.equinox.app.IApplication

  protected void destroySpecific() {
    // when this method is called we must force the application to exit.
    // first set the status to stopping
    setAppStatus(EclipseAppHandle.FLAG_STOPPING);
    // now force the appliction to stop
    IApplication app = getApplication();
    if (app != null)
      app.stop();
    // make sure the app status is stopped
    setAppStatus(EclipseAppHandle.FLAG_STOPPED);
  }
View Full Code Here

Examples of org.hdiv.application.IApplication

   *
   * @param servletContext {@link ServletContext} instance
   * @return IApplication object
   */
  public static IApplication getApplication(ServletContext servletContext) {
    IApplication app = (IApplication) servletContext.getAttribute(APPLICATION_SERVLETCONTEXT_KEY);
    if (app == null) {
      throw new HDIVException("IApplication has not been initialized in servlet context");
    }
    return app;
  }
View Full Code Here

Examples of org.jamesii.perfdb.entities.IApplication

      IRuntimeConfiguration rtConfig, IHardwareSetup setup,
      ComputationTaskRuntimeInformation crti) {

    // Create new application
    // TODO register result provider (ask Registry for factory etc.)
    IApplication application =
        perfDatabase.newApplication(probInst, rtConfig, setup, null);

    // Select suitable performance measurers
    HashMap<Class<? extends PerformanceMeasurerFactory>, IPerformanceType> factoryMapping =
        new HashMap<>();
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.