Revision 10621
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/gui/WindowData.java | ||
---|---|---|
34 | 34 |
Iterator keyList = data.keySet().iterator(); |
35 | 35 |
while (keyList.hasNext()) { |
36 | 36 |
String key = (String) keyList.next(); |
37 |
xml.putProperty(key, get(key)); |
|
37 |
xml.putProperty(key, get(key), false);
|
|
38 | 38 |
} |
39 | 39 |
return xml; |
40 | 40 |
} |
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/Project.java | ||
---|---|---|
735 | 735 |
XMLEntity propertyList = new XMLEntity(); |
736 | 736 |
|
737 | 737 |
propertyList.setName("AndamiPersistence"); |
738 |
propertyList.putProperty("className", Project.class.getName()); |
|
738 |
propertyList.putProperty("className", Project.class.getName(), false);
|
|
739 | 739 |
|
740 | 740 |
boolean projectWindowSaved = false; |
741 | 741 |
|
... | ... | |
758 | 758 |
Layout layoutWindow = (Layout) windowList[winIndex]; |
759 | 759 |
windowProperties = wi.getXMLEntity(); |
760 | 760 |
windowProperties.putProperty("documentType", |
761 |
ProjectMapFactory.registerName); |
|
761 |
ProjectMapFactory.registerName, false);
|
|
762 | 762 |
windowProperties.putProperty("documentName", layoutWindow |
763 |
.getName()); |
|
764 |
windowProperties.putProperty("zPosition", winIndex); |
|
763 |
.getName(), false);
|
|
764 |
windowProperties.putProperty("zPosition", winIndex, false);
|
|
765 | 765 |
propertyList.addChild(windowProperties); |
766 | 766 |
} else if (windowList[winIndex] instanceof ProjectWindow) { |
767 | 767 |
projectWindowSaved = true; |
768 | 768 |
windowProperties = wi.getXMLEntity(); |
769 | 769 |
windowProperties |
770 | 770 |
.putProperty("className", |
771 |
"com.iver.cit.gvsig.project.document.gui.ProjectWindow"); |
|
772 |
windowProperties.putProperty("zPosition", winIndex); |
|
771 |
"com.iver.cit.gvsig.project.document.gui.ProjectWindow", false);
|
|
772 |
windowProperties.putProperty("zPosition", winIndex, false);
|
|
773 | 773 |
propertyList.addChild(windowProperties); |
774 | 774 |
} else if (windowList[winIndex] instanceof SingletonWindow) { // for |
775 | 775 |
// table, |
... | ... | |
784 | 784 |
.getWindowModel(); |
785 | 785 |
windowProperties = wi.getXMLEntity(); |
786 | 786 |
windowProperties.putProperty("documentType", doc |
787 |
.getProjectDocumentFactory().getRegisterName()); |
|
787 |
.getProjectDocumentFactory().getRegisterName(), false);
|
|
788 | 788 |
windowProperties.putProperty("documentName", |
789 | 789 |
((ProjectDocument) viewWindow.getWindowModel()) |
790 |
.getName()); |
|
791 |
windowProperties.putProperty("zPosition", winIndex); |
|
790 |
.getName(), false);
|
|
791 |
windowProperties.putProperty("zPosition", winIndex, false);
|
|
792 | 792 |
|
793 | 793 |
// TODO this will be generalized to all ProjectDocuments as soon as possible |
794 | 794 |
// if (viewWindow instanceof BaseView) { |
... | ... | |
821 | 821 |
if (windowProperties != null) { |
822 | 822 |
windowProperties |
823 | 823 |
.putProperty("className", |
824 |
"com.iver.cit.gvsig.project.document.gui.ProjectWindow"); |
|
824 |
"com.iver.cit.gvsig.project.document.gui.ProjectWindow", false);
|
|
825 | 825 |
propertyList.addChild(windowProperties); |
826 | 826 |
} |
827 | 827 |
} |
trunk/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/WindowInfo.java | ||
---|---|---|
868 | 868 |
public XMLEntity getXMLEntity() { |
869 | 869 |
XMLEntity xml = new XMLEntity(); |
870 | 870 |
xml.setName("ViewInfoProperties"); |
871 |
xml.putProperty("X", this.getX()); |
|
872 |
xml.putProperty("Y", this.getY()); |
|
873 |
xml.putProperty("Width", this.getWidth()); |
|
874 |
xml.putProperty("Height", this.getHeight()); |
|
875 |
xml.putProperty("isVisible", this.isVisible()); |
|
876 |
xml.putProperty("isResizable", this.isResizable()); |
|
877 |
xml.putProperty("isMaximizable", this.isMaximizable()); |
|
878 |
xml.putProperty("isModal", this.isModal()); |
|
879 |
xml.putProperty("isModeless", this.isModeless()); |
|
880 |
xml.putProperty("isClosed", this.isClosed()); |
|
871 |
xml.putProperty("X", this.getX(), false);
|
|
872 |
xml.putProperty("Y", this.getY(), false);
|
|
873 |
xml.putProperty("Width", this.getWidth(), false);
|
|
874 |
xml.putProperty("Height", this.getHeight(), false);
|
|
875 |
xml.putProperty("isVisible", this.isVisible(), false);
|
|
876 |
xml.putProperty("isResizable", this.isResizable(), false);
|
|
877 |
xml.putProperty("isMaximizable", this.isMaximizable(), false);
|
|
878 |
xml.putProperty("isModal", this.isModal(), false);
|
|
879 |
xml.putProperty("isModeless", this.isModeless(), false);
|
|
880 |
xml.putProperty("isClosed", this.isClosed(), false);
|
|
881 | 881 |
if (this.isMaximized()==true) { |
882 |
xml.putProperty("isMaximized", this.isMaximized()); |
|
883 |
xml.putProperty("normalX", this.getNormalX()); |
|
884 |
xml.putProperty("normalY", this.getNormalY()); |
|
885 |
xml.putProperty("normalWidth", this.getNormalWidth()); |
|
886 |
xml.putProperty("normalHeight", this.getNormalHeight()); |
|
882 |
xml.putProperty("isMaximized", this.isMaximized(), false);
|
|
883 |
xml.putProperty("normalX", this.getNormalX(), false);
|
|
884 |
xml.putProperty("normalY", this.getNormalY(), false);
|
|
885 |
xml.putProperty("normalWidth", this.getNormalWidth(), false);
|
|
886 |
xml.putProperty("normalHeight", this.getNormalHeight(), false);
|
|
887 | 887 |
} |
888 | 888 |
return xml; |
889 | 889 |
} |
Also available in: Unified diff