1
Bugs and Issues / Re: Editing Connector Transform Template
« on: January 28, 2010, 12:58:05 pm »
Hi, Dan,
I think if you'd like to change the name for the association connector, try to put the "name=%qt%%connectorSourceElemName%%qt%" before the Source{} part, like the following:
%connectorType%
%PI="\n "%
{
%TRANSFORM_CURRENT("name")%
%TRANSFORM_REFERENCE("Connector",connectorGUID)%
name=%qt%%connectorSourceElemName%%qt%
Source
{
%TRANSFORM_REFERENCE("XSDClass",connectorSourceElemGUID)%
%TRANSFORM_CURRENT("Source", "role", "multiplicity")%
multiplicity="0..1"
}
Target
{
%TRANSFORM_REFERENCE("XSDClass",connectorDestElemGUID)%
%TRANSFORM_CURRENT("Target")%
}
}
Hope this is what you are after.
sxie
I think if you'd like to change the name for the association connector, try to put the "name=%qt%%connectorSourceElemName%%qt%" before the Source{} part, like the following:
%connectorType%
%PI="\n "%
{
%TRANSFORM_CURRENT("name")%
%TRANSFORM_REFERENCE("Connector",connectorGUID)%
name=%qt%%connectorSourceElemName%%qt%
Source
{
%TRANSFORM_REFERENCE("XSDClass",connectorSourceElemGUID)%
%TRANSFORM_CURRENT("Source", "role", "multiplicity")%
multiplicity="0..1"
}
Target
{
%TRANSFORM_REFERENCE("XSDClass",connectorDestElemGUID)%
%TRANSFORM_CURRENT("Target")%
}
}
Hope this is what you are after.
sxie