Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jayson

Pages: [1] 2 3 ... 25
1
Hey there

I am trying to add just a single connector to a diagram that currently has Freeze Visible set.
The following link seems to offer the solution but when I try to perform step 3 (right click on connector to hide or show), the only options I get are:

* Relationship properties.
* Locate related element.
* Delete relationship.

The help says I should get a show/hide option, but no such luck.

Cheers :-)

https://sparxsystems.com/enterprise_architect_user_guide/16.1/modeling_fundamentals/hideshowconnectors.html

2
General Board / Re: Create Custom Reference Data
« on: July 30, 2023, 07:41:35 am »
"Predefined Reference Data Types are an enumeration tagged value type where instead of manually specified values the values come from a list that comes from global model data with a function of Enterprise Architect to edit them. I can't see how you even could have a custom version of that because there wouldn't be functionality to edit them."

Yes, that was precisely my question.
That is, is there a way to edit them and if I could break into the database and edit them, would Sparx even recognise the new data type?

That is, if I hacked the EA database and created a new set of custom data called "Robots" with the following values {Wall-E, R2D2, C3PO}, could I then create a Predefined Data tagged value with list=Robots and have it show these values?

3
General Board / Re: Tagged value Type formats
« on: July 30, 2023, 07:32:34 am »
Those Tagged Value types are definitely still valid and work as expected.
The only difference between them an a regular enum is that the enum item are taken from the Sparx reference data and can be updated within the model itself.

4
I think (not 100% sure) the only way to do this is:

1. Create a stereotype based on the Operator UML Type.
2. Add a tagged value to that stereotype.

You can then configure the stereotype in question to accept the new operation based stereotype.

5
General Board / Create Custom Reference Data
« on: July 25, 2023, 05:57:01 pm »
Hey all

When creating a Reference Data Tagged Values, you are able to base them on the Predefined Reference Data Types (e.g., Authors, Cardinality, Clients, etc...).
However, is it possible to:

1. Create a CUSTOM Reference Data, and then
2. Create a Reference Data Tagged Value that references that CUSTOM Reference Data?

I've looked and looked at how to create such custom reference data, but can't find any way. Is there one?

Cheers

Jays :-)

6
General Board / Re: Adding Model Views to and MDG
« on: July 07, 2023, 01:12:15 pm »
Hmmm, I think I am doing it right but still not showing up in the magic MDG generator.
Assuming I've pasted the link correctly, below is a link to a screen shot of what I have created.

Maybe you can see what I've done wrong?

https://1drv.ms/i/s!AgbGANKmp9JhpLUrSyK5QDAAQeFMoQ?e=TA4vVh

7
General Board / Adding Model Views to and MDG
« on: July 05, 2023, 12:48:46 pm »
Hey all

I'm trying to add Model Views to an MDG.
Following the instructions, I check the Model Views check box on the MDG Technology Wizard - Contents page, but when I get to the page where I select which Model Views to include in the MDG, I get absolutely nothing.
There are two options I guess:

1. I am not creating the Model Views correctly,
2. There is some other magical incantation I need to perform during the MDG generation.

However, I am not sure which.
I have (or at least I believe I have) created a Model View, which appears in the Model Views pane of the Focus window.
However, none of these appear for selection during MDG generation.

Any clues?

Cheers in advance

Jays :-)

8
Righto

I've created a test DDL module which has the following defined:

1. A new custom template, and
2. A modified standard template (i.e., I modified the DDL Reference Definition template).

When I run the MDG generator, it DOES seem to add the necessary data to the MDG XML file (see below).
When I load the MDG and view templates, whilst I DO see the modified standard template (#2), the new custom template (#1) doesn't show up.

Am I doing something wrong? Looking in the wrong place?

Thanks in advance :-)


<DDLTemplates>
<RefData version="1.0" exporter="EA.25">
<DataSet name="DDL Module1_DDL_Template" table="t_template" filter="TemplateType='#TemplateType#' and TemplateName='#TemplateName#' and Style='#Style#'">
<DataRow>
<Column name="TemplateID" value="{8BCBD9AE-5D4E-4bcf-9C4E-08158ED7DC7D}"/>
<Column name="TemplateType" value="DDL Module1_DDL_Template"/>
<Column name="TemplateName" value="DDL Reference Definition"/>
<Column name="Template" value="Modified Reference Definition"/>
</DataRow>
<DataRow>
<Column name="TemplateID" value="{0F67C3D7-4AB9-40d2-90B7-3DAC0DDDA589}"/>
<Column name="TemplateType" value="DDL Module1_DDL_Template"/>
<Column name="TemplateName" value="DDLCheckConstraint__Custom"/>
<Column name="Template" value="Custom Stuff"/>
</DataRow>
</DataSet>
</RefData>
</DDLTemplates>

9
General Board / Add notes to Attributes?
« on: March 13, 2023, 08:50:53 am »
By memory there is a mechanism for adding notes to attributes, etc belonging to Elements.
However, I can no longer find HOW to do this.

Does anyone know the magic behind this?

10
General Board / Re: Sparx no longer asks me if I want Link or Instance
« on: March 06, 2023, 06:52:11 am »
Thanks Geert!

11
General Board / Sparx no longer asks me if I want Link or Instance
« on: March 06, 2023, 06:21:19 am »
Hey all

I am sure I have accidentally clicked some option, so it will undoubtedly be my fault.
However, Sparx no longer asks me if I want to place an element on a diagram as a link or instance.

Any idea how to undo my mistake?

Cheers :-)

12
General Board / Toolbox ImagesOnly
« on: May 13, 2022, 11:24:56 am »
Heyo

Generated this using profile helpers and the ImagesOnly doesn't get reflected in Sparx.
Any clues? Thanks in advance.

Cheers

Jays :-)

<TaggedValues>
<Tag name="ImagesOnly" type="" description="" unit="" values="" default="true"/>
<Tag name="isCollapsed" type="" description="" unit="" values="" default="true"/>
<Tag name="isCommon" type="" description="" unit="" values="" default="true"/>

13
General Board / Re: Stereotype Properties _AttPri, _AttPro, etc
« on: May 08, 2022, 06:01:56 pm »
AH, its amazing what a good rant will do for you.
About 10 minutes after I finished the last post I realised what I had done wrong.
The _AttPkg, etc attributes are inverse from the others (i.e. 1 = hide).

All working nicely, now onto the next bugs :-)

Thanks guys :-)

14
General Board / Re: Stereotype Properties _AttPri, _AttPro, etc
« on: May 08, 2022, 04:44:24 pm »
LOL! Guilty as charged.
I'm ironing out the last of the bugs with my generation tool.
Just can't figure out what my code is doing wrong ;-)

15
General Board / Stereotype Properties _AttPri, _AttPro, etc
« on: May 07, 2022, 08:20:23 am »
Hey there

I am attempting to create a stereotype (pls see XML below) that sets the visibility for Public, Private, Package and Protected Attributes & Operations.
The other check boxes seem to get checked, but not those mentioned above.

Any help, as always, is greatly appreciated.

Cheers

Jays :-)



<Stereotype name="Stereotype 4" cx="0" cy="0" instanceMode="Instance" bordercolor="-1" bgcolor="-1" fontcolor="-1" borderwidth="-1">
<Image/>
<Icon/>
<AppliesTo>
<Apply type="Class">
<Property name="_AttInh" value="1"/>
<Property name="_AttPkg" value="1"/>
<Property name="_AttPri" value="1"/>
<Property name="_AttPro" value="1"/>
<Property name="_AttPub" value="1"/>
<Property name="_OpInh" value="1"/>
<Property name="_OpPkg" value="1"/>
<Property name="_OpPri" value="1"/>
<Property name="_OpPro" value="1"/>
<Property name="_OpPub" value="1"/>
<Property name="_ConInh" value="1"/>
<Property name="_Constraint" value="1"/>
<Property name="_ResInh" value="1"/>
<Property name="_Responsibility" value="1"/>
<Property name="_Tag" value="1"/>
<Property name="_TagInh" value="1"/>
<Property name="isActive" value="True"/>
</Apply>
</AppliesTo>
<TaggedValues/>
<DiagramProperties/>
<metaconstraints/>
</Stereotype>

Pages: [1] 2 3 ... 25