if (TimerManager.getInstance().isStarted()) { TimerManager.getInstance().stop(); Activity aTemp = ApplicationManager.getInstance().getMfPagod() .getActivity();  aTemp.setTime(TimerManager.getInstance().getValueElapsed()); }
boolean test = ApplicationManager.getInstance().manageRequest( this.request);
	public void actionPerformed (ActionEvent actionEvent)	{		// si le project a pu etre ouvert alors on delegue la requete ?		// l'application manager		if (ApplicationManager.getInstance().getMfPagod().openProject())		{			// on stop le timer			if (TimerManager.getInstance().isStarted())			{				TimerManager.getInstance().stop();				Activity aTemp = ApplicationManager.getInstance().getMfPagod()						.getActivity();				// on enregistre le temps pour l'activit?				aTemp.setTime(TimerManager.getInstance().getValueElapsed());			}			boolean test = ApplicationManager.getInstance().manageRequest(this.request);						System.err.println("OpenProjectAction test alex : " + test);			if (!ApplicationManager.getInstance().getCurrentProject()					.hasNameDPC())			{				// si le processus a pu etre ouvert alors on delegue la requete				// ? l'application manager				if (ApplicationManager.getInstance().getMfPagod()						.associateDPCWithProject())				{					ApplicationManager.getInstance().manageRequest(							new Request(Request.RequestType.OPEN_PROCESS));					TimeHandler th = new TimeHandler ();					//System.out.println("fabfabafabbba");					th.loadXML(ApplicationManager.getInstance().getCurrentProject().getName());					th.fillModel(ApplicationManager.getInstance().getCurrentProcess() );				}			}			else			{				// si le projet a un processus d'affecter on declanche l'action				// openProcess				File processFile = new File(PreferencesManager.getInstance()						.getWorkspace()						+ File.separator						+ ApplicationManager.getInstance().getCurrentProject()								.getName()						+ File.separator						+ ApplicationManager.getInstance().getCurrentProject()								.getNameDPC());				if (ApplicationManager.getInstance().getMfPagod().openProcess(						processFile))				{					ApplicationManager.getInstance().manageRequest(							new Request(Request.RequestType.OPEN_PROCESS));					TimeHandler th = new TimeHandler ();					th.loadXML(ApplicationManager.getInstance().getCurrentProject().getName());					th.fillModel(ApplicationManager.getInstance().getCurrentProcess() );					ApplicationManager.getInstance().getMfPagod().showProcess();				}			}		}	}