Package org.destecs.ide.simeng.ui.views

Examples of org.destecs.ide.simeng.ui.views.InfoTableView


      {
        @Override
        public IStatus runInUIThread(IProgressMonitor monitor)
        {
          final String engineViewId = IDebugConstants.ENGINE_VIEW_ID;
          final InfoTableView engineView = getInfoTableView(engineViewId);

          views.add(engineView);
          engine.engineListeners.add(new EngineListener(engineView));

          if (showDebugInfo)
          {
            final String messageViewId = IDebugConstants.MESSAGE_VIEW_ID;
            final String simulationViewId = IDebugConstants.SIMULATION_VIEW_ID;

            final InfoTableView messageView = getInfoTableView(messageViewId);
            final InfoTableView simulationView = getInfoTableView(simulationViewId);

            views.add(messageView);
            views.add(simulationView);

            engine.messageListeners.add(new MessageListener(messageView));
View Full Code Here


    {
      @Override
      public IStatus runInUIThread(IProgressMonitor monitor)
      {
        final String engineViewId = IDebugConstants.ENGINE_VIEW_ID;
        final InfoTableView engineView = CoSimLaunchConfigurationDelegate.getInfoTableView(engineViewId);

        ISimulationControlProxy simulationControl = new ISimulationControlProxy()
        {

          public void terminate()
          {
            try
            {
              launch.terminate();
            } catch (DebugException e)
            {
              DestecsDebugPlugin.logError("Failed to terminate launch", e);
            }
          }

          public void pause()
          {
            // not supported
          }

          public void resume()
          {
            // not supported
          }
        };

        engineView.getTerminationAction().addSimulationControlProxy(simulationControl);
        engineView.getPauseAction().addSimulationControlProxy(simulationControl);
        engineView.getResumeAction().addSimulationControlProxy(simulationControl);

        return new Status(IStatus.OK, IDebugConstants.PLUGIN_ID, "Listeners OK");
      }
    };
    listeners.schedule();
View Full Code Here

    {
      @Override
      public IStatus runInUIThread(IProgressMonitor monitor)
      {
        final String engineViewId = IDebugConstants.ENGINE_VIEW_ID;
        final InfoTableView engineView = CoSimLaunchConfigurationDelegate.getInfoTableView(engineViewId);

        ISimulationControlProxy simulationControl = new ISimulationControlProxy()
        {

          public void terminate()
          {
            try
            {
              launch.terminate();
            } catch (DebugException e)
            {
              DestecsDebugPlugin.logError("Failed to terminate launch", e);
            }
          }

          public void pause()
          {
            // not supported
          }

          public void resume()
          {
            // not supported
          }
        };

        engineView.getTerminationAction().addSimulationControlProxy(simulationControl);
        engineView.getPauseAction().addSimulationControlProxy(simulationControl);
        engineView.getResumeAction().addSimulationControlProxy(simulationControl);

        return new Status(IStatus.OK, IDebugConstants.PLUGIN_ID, "Listeners OK");
      }
    };
    listeners.schedule();
View Full Code Here

TOP

Related Classes of org.destecs.ide.simeng.ui.views.InfoTableView

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.