Package org.patika.mada.dataXML

Examples of org.patika.mada.dataXML.ChisioExperimentData


      {
        this.main.lockWithMessage("Loading experiment data ...");
        JAXBContext jc = JAXBContext.newInstance("org.patika.mada.dataXML");

        Unmarshaller u = jc.createUnmarshaller();
        ChisioExperimentData data;
       
        /*  UK: use appropriate method of urmarshaling */
        if (this.local)
          data = (ChisioExperimentData) u.unmarshal(new File(filename));
        else
          data = (ChisioExperimentData) u.unmarshal(new URL(filename));

        main.setExperimentData(data, filename);

        // Apply coloring on the current view if exists
        new ColorWithExperimentAction(main, null, data.getExperimentType()).run();
      }
      catch (Exception e)
      {
        e.printStackTrace();
       
View Full Code Here


      {
        this.main.lockWithMessage("Loading experiment data ...");
        JAXBContext jc = JAXBContext.newInstance("org.patika.mada.dataXML");

        Unmarshaller u = jc.createUnmarshaller();
        ChisioExperimentData data = (ChisioExperimentData) u.unmarshal(new File(filename));

        main.setExperimentData(data, filename);

        // Apply coloring on the current view if exists
        new ColorWithExperimentAction(main, null, data.getExperimentType()).run();
      }
      catch (JAXBException e)
      {
        e.printStackTrace();
      }
View Full Code Here

TOP

Related Classes of org.patika.mada.dataXML.ChisioExperimentData

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.