From: <had...@us...> - 2008-10-31 17:40:20
|
Revision: 4143 http://fudaa.svn.sourceforge.net/fudaa/?rev=4143&view=rev Author: hadouxad Date: 2008-10-31 17:40:17 +0000 (Fri, 31 Oct 2008) Log Message: ----------- - Corrections prepro Modified Paths: -------------- branches/Prepro-0.92-SNAPSHOT/ebli/src/org/fudaa/ebli/visuallibrary/persist/EbliWidgetGroupSerializeXml.java branches/Prepro-0.92-SNAPSHOT/ebli/src/org/fudaa/ebli/visuallibrary/persist/EbliWidgetSerializeXml.java Modified: branches/Prepro-0.92-SNAPSHOT/ebli/src/org/fudaa/ebli/visuallibrary/persist/EbliWidgetGroupSerializeXml.java =================================================================== --- branches/Prepro-0.92-SNAPSHOT/ebli/src/org/fudaa/ebli/visuallibrary/persist/EbliWidgetGroupSerializeXml.java 2008-10-31 17:39:40 UTC (rev 4142) +++ branches/Prepro-0.92-SNAPSHOT/ebli/src/org/fudaa/ebli/visuallibrary/persist/EbliWidgetGroupSerializeXml.java 2008-10-31 17:40:17 UTC (rev 4143) @@ -31,8 +31,13 @@ * Pour des raisons de conception, ce groupe ne se cr\xE9e pas \xE0 ce niveau, car il est sp\xE9cialis\xE9 (peut etre groupe classique, ou groupe de calque ou autre. * @param nodeGroup */ - public void updateGroup(EbliNode nodeGroup){ - nodeGroup.setTitle(getTitle()); + public void updateGroup(EbliNode nodeGroup, Map parameters){ + nodeGroup.getWidget().setId_(this.Id); + String title=(String) parameters.get("nodeName"); + if(title!=null) + nodeGroup.setTitle((String) parameters.get("nodeName")); + else + nodeGroup.setTitle(""); nodeGroup.getWidget().setPreferredLocation(new Point(getX(), getY())); nodeGroup.getWidget().setPreferredSize(new Dimension(getWidth(), getHeight())); } Modified: branches/Prepro-0.92-SNAPSHOT/ebli/src/org/fudaa/ebli/visuallibrary/persist/EbliWidgetSerializeXml.java =================================================================== --- branches/Prepro-0.92-SNAPSHOT/ebli/src/org/fudaa/ebli/visuallibrary/persist/EbliWidgetSerializeXml.java 2008-10-31 17:39:40 UTC (rev 4142) +++ branches/Prepro-0.92-SNAPSHOT/ebli/src/org/fudaa/ebli/visuallibrary/persist/EbliWidgetSerializeXml.java 2008-10-31 17:40:17 UTC (rev 4143) @@ -46,7 +46,7 @@ */ String Id; - String title; + //String title; /** * L'instance de la classe creator */ @@ -102,7 +102,7 @@ this.bordure = false; } this.Id = widget.getId(); - this.title = node.getTitle(); + // this.title = node.getTitle(); this.type = node.getCreator().getClass().toString(); if (widget.getParentBordure().getColorFond() != null) this.bacckground = node.getWidget().getParentBordure() .getColorFond(); @@ -204,14 +204,14 @@ } - public String getTitle() { - return title; - } +// public String getTitle() { +// return title; +// } +// +// public void setTitle(final String title) { +// this.title = title; +// } - public void setTitle(final String title) { - this.title = title; - } - public String getType() { return type; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |