Package es.uma.ama.maudeWorkstationGUI.ui.views

Examples of es.uma.ama.maudeWorkstationGUI.ui.views.MaudeDepuracion


          if(MaudeWorkstationGUIPlugin.DEBUG) System.out.println("Creando una nueva sesion...."); //$NON-NLS-1$
          MaudeSesion.newInstance().reset();
         
          MaudeTraza traza = (MaudeTraza) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().findView(Messages.getString("MaudeWorkstationGUIPlugin.MAUDE_TRAZA"))//$NON-NLS-1$
        if(traza!=null) traza.reset();
          MaudeDepuracion debug = (MaudeDepuracion) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().findView(Messages.getString("MaudeWorkstationGUIPlugin.MAUDE_DEPURACION"))//$NON-NLS-1$
        if(debug!=null) debug.reset();
          MaudeRewriting rewriting = (MaudeRewriting) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().findView(Messages.getString("MaudeWorkstationGUIPlugin.MAUDE_REWRITING")); //$NON-NLS-1$
         
        if(MaudeWorkstationGUIPlugin.DEBUG) System.out.println("Habilitando base de datos...."); //$NON-NLS-1$
       
        //setPathDatabase();
View Full Code Here


 
 
  private void setDebuging(final boolean state){
      Workbench.getInstance().getDisplay().syncExec(new Runnable() {
      public void run() {
          MaudeDepuracion depuracion = (MaudeDepuracion) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().findView(Messages.getString("MaudeWorkstationGUIPlugin.MAUDE_DEPURACION")); //$NON-NLS-1$
            if(depuracion==null){
              try {
                PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView(Messages.getString("MaudeWorkstationGUIPlugin.MAUDE_DEPURACION")); //$NON-NLS-1$
              } catch (PartInitException e) {
                e.printStackTrace();
              }
              depuracion = (MaudeDepuracion) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().findView(Messages.getString("MaudeWorkstationGUIPlugin.MAUDE_DEPURACION")); //$NON-NLS-1$
             
            }
            else{
              try {
                PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView(Messages.getString("MaudeWorkstationGUIPlugin.MAUDE_DEPURACION")); //$NON-NLS-1$
              } catch (PartInitException e) {
                e.printStackTrace();
              }
            }
            if(state)depuracion.enable();
            else depuracion.disable();
                     
      }});
  }
View Full Code Here

TOP

Related Classes of es.uma.ama.maudeWorkstationGUI.ui.views.MaudeDepuracion

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.