Changeset 1116 for trunk


Ignore:
Timestamp:
03/06/13 23:35:14 (12 years ago)
Author:
pharms
Message:
  • made GUI model serializable
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/guimodel/GUIModel.java

    r1088 r1116  
    1717import java.io.OutputStream; 
    1818import java.io.PrintStream; 
     19import java.io.Serializable; 
    1920import java.io.UnsupportedEncodingException; 
    2021import java.util.ArrayList; 
     
    3738 * @author Patrick Harms, Steffen Herbold 
    3839 */ 
    39 public class GUIModel { 
     40public class GUIModel implements Serializable { 
     41 
     42    /**  */ 
     43    private static final long serialVersionUID = 1L; 
    4044 
    4145    /** 
     
    460464        treeNode1.guiElement.addEqualGUIElement(treeNode2.guiElement); 
    461465        treeNode2.guiElement.addEqualGUIElement(treeNode1.guiElement); 
    462  
     466         
    463467        // and now a replacement node that is the merge of treeNode1 and treeNode2 is created 
    464468        TreeNode replacement = new TreeNode(); 
     
    748752     * @author Patrick Harms, Steffen Herbold 
    749753     */ 
    750     private class TreeNode { 
     754    private class TreeNode implements Serializable { 
     755 
     756        /**  */ 
     757        private static final long serialVersionUID = 1L; 
    751758 
    752759        /** 
Note: See TracChangeset for help on using the changeset viewer.