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 - peterc

Pages: [1] 2 3
General Board / Re: Icon overlay
« on: July 16, 2018, 11:53:05 pm »
Martin - I get this occasionally without intending to - I've figured out it's always when typing something with all caps, such as acronyms. In most applications shift+space between words (e.g. an acronym followed by another word starting with a capital) still adds a space, but in EA it adds the bookmark instead! It's been there ages, not new in EA14.

General Board / Using built-in icons for toolbox with hidden sub menu
« on: June 30, 2018, 12:24:48 am »
I've created a hidden sub menu for my toolbox with three sub-tools with an MDG Technology. Because it's hidden the toolbox icon has defaulted to a folder icon. What I would like is to use the built-in UML Requirement icon - I don't see any documentation to do that, but is it somehow possible?

If I don't create a hidden menu, with a tool based on the UML::Requirement element it shows the correct icon.

General Board / Re: unchecked "Show Namespace" as default?
« on: June 13, 2018, 07:43:48 pm »
If you define a templates package (from the ribbon in EA14 Configure - Reference Data - Settings - Project Template Package), create a blank template diagram and uncheck the option then new diagrams will take the settings from that template package. I think you would need to generate a template diagram for each diagram type.

General Board / Re: Re-use existing MDG diagrams within a custom MDG?
« on: June 06, 2018, 08:16:26 pm »
KP - I've tried replicating the custom metamodel, but am not getting very far. I think where the example page shows SysML1.5 that it should be SysML1.4 to start with, but even then it doesn't work. Is there an example model that could be downloaded?

General Board / Re: Re-use existing MDG diagrams within a custom MDG?
« on: June 05, 2018, 11:05:08 pm »
Thanks Peter

I was hoping to be able to use the SysML diagrams as-is (i.e. not have to redefine all the settings), but your parameters give me enough to re-create the diagram and pickup the toolbox so that is great thanks. Importantly that would then pickup any fixes put in by Sparx (as well as being less customisation).

The Alias becomes the Type on the diagram properties (which otherwise defaults to the base diagram) so probably is important in the long term for making diagrams as close as possible to the standard SysML.

At least I can create diagrams and re-use the SysML toolboxes, which is probably most important.

Actual SysML diagrams have the diagram frame on-screen (and a new option on the right-click menu "Hide Diagram Frame"), completely separate from the options to include the diagram frame on published/printed images. I'm not overly bothered about having the frame on screen, but wondered how that is replicated?

General Board / Re-use existing MDG diagrams within a custom MDG?
« on: June 05, 2018, 06:59:17 pm »
I am creating a custom MDG, with some custom diagrams.

I would like to include some SysML diagrams in my custom MDG - I don't need to customise them (which the user guide implies is not possible anyway as only built-in diagrams can be extended). Is it possible to do this?
I realise that I might need to add a customisation (I found that was the only way to get a base diagram to be included - my customisation was simply to override the description with the same words as the original!).

I'm trying to make it easy for the user, so that they only need to select the diagram types that I have selected as relevant rather than sometimes selecting diagrams from my custom MDG Technology and sometimes selecting diagrams from the SysML Technology.

I note that it is possible to extend SysML elements (although I don't intend to do that) - I am unsure why I would want to extend SysML elements if I can't specify the SysML diagrams in a custom MDG, so possibly can somehow include the SysML diagram types.

Thanks for the reply - today it works as expected, which is confusing (maybe I did something wrong last week).

A bit annoyingly (and contradicting KP), the RTF file must be in the ModelPattern directory within the EA installation even if the XML file is elsewhere. I wonder if this is a bug? If not it would be helpful if a future update were made so that the XML and RTF file could be distributed - currently the XML pattern can be distributed with the MDG Technology to other users, but they would need to copy the RTF file to a specific location.

How do I associate an RTF describing my model pattern with the model pattern wizard? In EA14, each wizard has an associated description page in the right hand pane (right click a package and select "Add model using wizard).

In the Q&A from a recent webinar I found:
"Will the MDG Technology Framework allow us to create new pattern types and include things about new features?
Model Wizard patterns are normally distributed with an MDG technology. The patterns exist as separate XMI files from the MDG Technology file, and need to be copied to the EA ModelPatterns directory in your installation path."

So, I have created my MDG Technology with a model pattern that the wizard uses to generate a pattern. That all works. I have created an RTF (with the same filename as the XML) and moved both files to the directory alongside the EA supplied patterns (and changed the MTS file to mirror the location). But my RTF does not get displayed in the right hand pane of the Model Patterns wizard. Just to confirm that EA was correctly picking up my pattern I moved my files out and the wizard does nothing.

So, back to my starting question, what have I missed that is not displaying my RTF alongside my pattern wizard?

General Board / Re: Glossary
« on: May 09, 2018, 05:11:57 pm »
Yes it is possible to extract them without getting cropped lines. How are you currently extracting the glossary?

I use document generation to generate a document fragment in Word format and don't get cropped entries (long definitions word wrap in a table as would any long line of text in Word).

General Board / Re: Export elements from several subpackages to CSV
« on: February 19, 2018, 07:04:23 pm »
If you right-click on the parent package and select Import/Export - CSV Import/Export, then there is a tick-box for "Include Subfolders", which is ticked by default (at least on mine). If you build a specification with the appropriate items then it will export sub-packages as well.

General Board / Re: Diagram Title / Details Block
« on: February 09, 2018, 01:42:52 am »
Right click on the diagram background, Select Diagram and Show Diagram Details shows some basic information about the diagram. I presume the information is fixed which would not cover all of the items in your list.

How about using an element and tagged values? I'm not sure which element would be best, but a Requirement might work - you could use the Name for the drawing title and then define tagged values for each of your other fields. You could probably even create a custom shape pre-loaded with all your desired tags and create an MDG Technology so that it appears in your own custom toolbox.

General Board / Re: Creating a Navigation Cell from a Matrix Profile
« on: January 11, 2018, 10:46:40 pm »
They have probably been designed for diagrams but do work for a matrix.

I've just found a quicker way of generating them:
  • Drop a hyperlink onto the diagram, selecting the desired matrix
  • Change the Stereotype to NavigationCell

The only disadvantage is that it is not possible to select the images that diagram navigation cells have.

Not sure about action pins specifically, but on some elements the source of an element is hidden by unchecking "Show Namespace" found by right clicking on the diagram, select properties and then the Diagram selection and then within Appearance.

I was dropping ValueType elements, so I have changed and dropped a Property on - all works now.

If anyone else comes across this in the future, it is necessary to change the Type by opening the Property element and in the dialog under Properties - Property selecting a Value Type. Confusingly, the Type in the Properties window (not the dialog that is visible when opened from the element in the Project Browser) is not editable. That's too many uses of the word Type in windows/dialogs labelled Property but doing different things for my mind to cope with!

General Board / Creating a Navigation Cell from a Matrix Profile
« on: January 05, 2018, 02:03:12 am »
What is the correct way to generate a Navigation Cell for a matrix?

If I create a Navigation Cell from a diagram and and a Matrix hyperlink, I can then copy the link in the hyperlink onto the Navigation Cell so that the Navigation Cell opens the Matrix rather than the diagram. But... in doing so the nice image of the Navigation Cell disappears (and I shouldn't really have to copy the hyperlink!). There is a nice matrix image available in the Navigation Cell image library so hopefully there is a better way.

Pages: [1] 2 3