Revision 35978 branches/v2_0_0_prep/frameworks/_fwAndami/src/org/gvsig/andami/ui/theme/Theme.java

View differences:

Theme.java
63 63
	private String backgroundimage;
64 64
	private String wallpaperType=CENTERED;
65 65

  
66
	/** Spurce file of the theme **/
67
	private File source = null;
68
	
66 69
    public static void main(String[] args) {
67 70
        Theme theme = new Theme();
68 71
        theme.readTheme(new File(
69 72
                "c:/workspace/_fwAndami/theme/andami-theme.xml"));
70 73
    }
71 74

  
75
    public File getSource() {
76
    	return source;
77
    }
78
    
72 79
    /**
73 80
     * Read the file xml with the personalization.
74 81
     *
......
200 207
            }
201 208

  
202 209
            parser.require(XmlPullParser.END_DOCUMENT, null, null);
203

  
210
            this.source = file;
204 211
            // }
205 212
        } catch (Exception e) {
206 213
        	 NotificationManager.addError("Error reading theme: "+file.getAbsolutePath(), e);

Also available in: Unified diff