[Uml-devel] Patch implementing classifier scope
Luis De la Parra Blum
lparrab at gmx.net
Wed Oct 16 13:35:01 UTC 2002
On Wednesday 16 October 2002 15:28, tomas.walch at se.transport.bombardier.com
wrote:
> P:S. If there is any problems with the patch it might be because I only
nice featrure!, but Umbrello will not save its files in binary form anymore...
it will read the old files, to be fair with the users who worked with the old
versions, but the only file format available for saving is the XML based ( I
think you'll agree that this makes sense)
Old files did not have this attribute, so adding this will break things, and
since we will not save to this format anyways I think we should remove
following code from the patch:
---(begin)--
@@ -43,19 +44,22 @@
<< (QString)m_Package
<< (QString)m_Stereotype
- << (int)m_bAbstract;
+ << (int)m_bAbstract
+ << (int)m_bStatic;
} else {
QString _name;
- int bAbstract;
+ int bAbstract, bStatic;
*s >> _name
>> m_nId
>> m_Doc
>> (int)m_Scope
>> m_Package
>> m_Stereotype
- >> bAbstract;
+ >> bAbstract
+ >> bStatic;
SetName(_name);
m_bAbstract = bAbstract;
+ m_bStatic = bStatic;
}
---(end)--
regards,
luis
More information about the umbrello-devel
mailing list