01: /*
02: * Created on Jun 3, 2006
03: */
04: package com.openedit.modules.settings;
05:
06: import java.util.List;
07:
08: import com.openedit.modules.edit.EditSession;
09: import com.openedit.page.XconfConfiguration;
10:
11: public class ConfigEditorSession extends EditSession {
12: protected XconfConfiguration fieldConfig;
13: protected List fieldLayouts;
14:
15: public XconfConfiguration getConfig() {
16: return fieldConfig;
17: }
18:
19: public void setConfig(XconfConfiguration inConfig) {
20: fieldConfig = inConfig;
21: }
22: // public List getLayouts()
23: // {
24: // return fieldLayouts;
25: // }
26: // public void setLayouts(List inLayouts)
27: // {
28: // fieldLayouts = new ArrayList();
29: // for (Iterator iter = inLayouts.iterator(); iter.hasNext();)
30: // {
31: // Page layout = (Page) iter.next();
32: // if (layout.isHtml() )
33: // {
34: // String name = PathUtilities.extractPageName(layout.getPath());
35: // if( name.indexOf("layout") > -1 )
36: // {
37: // fieldLayouts.add(layout);
38: // }
39: // }
40: // }
41: //
42: // }
43: }
|