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 - E.Eckstein

Pages: [1] 2 3
1
General Board / Re: Search SQL Query - Composite Diagram
« on: July 23, 2015, 04:34:05 pm »
Thank you guys,
this was realy helpful and saved me a lot of wasted time.

@qwerty: Yes the users will use the "link to feature" functionality of the connectors.

2
General Board / Search SQL Query - Composite Diagram
« on: July 22, 2015, 11:21:46 pm »
Hi there,

I am working in EA 10 right now and I have an request for a special search.

To make it easier to understand I'll first describe what is in the model.

So we have a diagram with an element e1. This element e1 has an composite diagram c1. In this diagram c1 there is a link to e1 and some other linked objects o1-o10 some of the attributes a1-a3 of these objects o1-o10 are linked into (or out of) the e1.

We do this in this kind of way, because we don't want do define (sometimes) hundreds of parameters (in/out) for elements like e1.

Well now it's time for my search.

I begin with on of the attributes a1.
From this a1, I want to find all elements like e1 that are having this one as incoming or outgoing link.

Well I would know this in a DB I designed myself, but those ea db tables are realy confusing in the way they are designed.
e.g. I can't find a table where a the composite diagram of an object is stored.

So what I like to know: Is there a "nearly" complete EA db-schema somewhere? Or what is the easiest way to find how those elements are related?`

Maybe is there a table where "link" uses of objects are hold.
 ::)
Best regards and thanks,
Eric

3
General Board / Re: UML Types for Standard BPMN 2.0 stereotypes
« on: July 16, 2015, 11:29:24 pm »
Okay guys,

after days of trying different stuff I'll post my own solution in case somebody will find this topic with the same requirement:

The "problem" is that BPMN2.0 works with hidden subtoolboxes, so to make this work you will have to do some "adjustments".
In you UML-profile:
1.)  you will need to extend your own event-sterotype (MyStartEvent) from <<metaclass>> Event (the standard UML::Event).
2.) Your extended stereotype will need to generalize the BPMN2.0::StartEvent sterotype.

In the Toolbox profile:
3.) You will have to add your own sterotype in your toolbox-submenu with a certain notation:
NameOfYourProfil::YourEventSterotypename(UML::Event) e.g. Prozessmodel::MyStartEvent(UML::Event)

This will make your item appear in the toolbox and be drag&drop-able into your custom diagram.

Well there is an issue with the icon of your custom StartEvent. It will display the icon of the standard uml event not of BPMN2.0::StartEvent. However, I wasn't able to get this done without overwriting the tagged value of the event:

In your uml-profile:
4. Add an attribute to your MyStartEvent stereotype called "icon". As standardvalue paste a path to a 16x16 bitmap image. (I think you'll be able to create a one looking like the BPMN2.0::StartEvent in no time).
The EA help tells that you should take the color "lightgrey" as "transparent" color (rgb: 192,192,192).
That's it :) Not that hard, but without the information it's quite much trying.

Good luck,
Regards,
Eric

4
General Board / Re: UML Types for Standard BPMN 2.0 stereotypes
« on: July 14, 2015, 06:48:21 pm »
Hi Qwerty,

I will wait here another few days for a reply, maybe someone knows how to achieve what I try to do.

To make my problem easier to understand here is a "more precise" explanation:

I created three <<profile>> packages. One for the  (1)definition of diagramtypes for the mdg package, another for the (2) diagram definition itself and one for the (3) toolbox.

So the first package looks like this:

(1): Classdiagram with the name of my custom diagramtype
There is a <<metaclass> Diagram_Analysis and a <<stereotype>> MyDiagram which extends from the first one. (So this one provides my diagramtype for the mdg package)
- this part is fine working.

(2):
The second one is UML profile. It defines some customized (generalized) classes like my own "<<sterotype>>ExlusiveGateway" which generalizes from <<stereotype>>BMPN2.0::Gateway. (I added those ones with the Metaclass item from the toolbox, and this is working fine for gateways and activities.

-> I also have there the <<stereotype>>BPMN2.0::StartEvent e.g.
My own <<stereotype>>MyStartEvent generalizes from this stereotype.

(3):
In the diagram there is the <<metaclass>>ToolboxPage and some <<stereotypes>> like "Elements", "Events", "Gateways" etc.
In those there are attributes defined like Prozessmodellierung::ExclusiveGateway :int = MyExclusiveGateway.

So what works and what doesnt:

- Elements like Activities and Gateways which I extended work fine, I can drag and drop them from my toolbox in my own diagram type.
- I can also set other styles for those elements in the "UML types".

- My extended Events though show just those big brackets <<>> like from a stereotype, but not any picture. If I drag & drop them from the toolbox nothing is happening. The diagram remains empty, and nothing is added into the package.
 
- What's interessting to notice: While I can add e.g. standard BPMN2.0::Gateways from the context menu, my diagram won't take any event from the bpmn2.0 elements.

I appreciate any help with this issue,

Best Regards,
Eric


PS: This is how my (Save as profile) .xml looks like:

Code: [Select]
<Stereotype name="ExclusiveGateway" notes="" cx="121" cy="70" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0" generalizes="BPMN2.0::Gateway" baseStereotypes="BPMN2.0::Gateway"/>
<Stereotype name="InclusiveGateway" notes="" cx="121" cy="70" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0" generalizes="BPMN2.0::Gateway" baseStereotypes="BPMN2.0::Gateway"/>
<Stereotype name="ParallelGateway" notes="" cx="121" cy="70" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0" generalizes="BPMN2.0::Gateway" baseStereotypes="BPMN2.0::Gateway"/>
<Stereotype name="CustomActivity" notes="" cx="121" cy="70" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0" generalizes="BPMN2.0::Activity" baseStereotypes="BPMN2.0::Activity"/>
<Stereotype name="MyEndEvent" notes="" cx="121" cy="70" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0" generalizes="BPMN2.0::EndEvent" baseStereotypes="BPMN2.0::EndEvent"/>
<Stereotype name="MyIntermediateEvent" notes="" cx="163" cy="70" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0" generalizes="BPMN2.0::IntermediateEvent" baseStereotypes="BPMN2.0::IntermediateEvent"/>
<Stereotype name="MyStartEvent" notes="" cx="121" cy="70" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0" generalizes="BPMN2.0::StartEvent" baseStereotypes="BPMN2.0::StartEvent"/>
You see there is no difference at all between the events and other elements, so I don't get why it is not working.

5
General Board / Re: UML Types for Standard BPMN 2.0 stereotypes
« on: July 14, 2015, 04:30:34 pm »
Quote
The following article might help you to get at start: http://community.sparxsystems.com/tutorials/552-24intro-to-creating-a-mdg-file

q.

Hi Qwerty,

thanks for your help with this. I allready got most things done, but i got stuck again.
I extended sterotypes for the bpmn2.0 Activity, all kind of gateways etc. That's working fine.

But when I try to extend Events (Start, Intermediate and End) I neither can drag and drop the items from the toolbox nore can I see the inherited Icon of their "parentshape" in the toolbox.

You know if there are any issues with those items? Because I've done it the same way as I did it with the other sterotypes and for them it works fine... :-/

Regards,
Eric

6
General Board / Re: UML Types for Standard BPMN 2.0 stereotypes
« on: July 10, 2015, 05:29:17 pm »
Hi,

okay. So I'll just going to extend those stereotypes I need.

Thanks for your help guys. I really appreciate your help! :-*

Regards,
Eric

7
General Board / Re: UML Types for Standard BPMN 2.0 stereotypes
« on: July 09, 2015, 05:23:23 pm »
Quote
Eric,

It may be that you can only extend the BPMN stereotypes with your own stereotypes, not replace a BPMN stereotype with yours.

(unless you modify the MDG technology file for BPMN I guess)

Geert

Hi Geert,

okay, I was afraid of this, but if there is no other way, I'll have to do it this way.

Thanks for your reply!

Regards,
Eric

8
General Board / Re: UML Types for Standard BPMN 2.0 stereotypes
« on: July 09, 2015, 04:36:06 pm »
Hi there,

once again me. In the EA-User Guide i found a page named "Create Stereotypes Extending non-UML Objects".
There is expained how to extend those elements - with huge effort on creating a profil and so on and so forth.

-> Do I really have to create a own profile, extend those BPMN sterotypes I want to adjust and provide this to our users?

I mean, as qwerty wrote, I suggest it's possible to change the "standard" shape of those elements, without doing so...

Regards,
Eric

9
General Board / Re: UML Types for Standard BPMN 2.0 stereotypes
« on: July 09, 2015, 04:01:25 pm »
Hi qwerty,

thank you for your response.
I tried as you suggested with following combinations:
Stereotype: "BPMN2.0::Gateway"
Group name: ""
Base Class : "<all>" / "event"
Notes: ""

My shapescript looks as followed:

shape main
{
      SetFillColor(240,0,0);
      DrawParentShape();
      Rectangle(10,10,50,50);
}
I just added the Rectangle to see directly if some shapes are affected - but this doesn't affect any kind of Gateway that I place into the diagram.

Am I doing something wrong, or do I have to make some changes in the settings probably?

Regards,
Eric


10
General Board / UML Types for Standard BPMN 2.0 stereotypes
« on: July 08, 2015, 09:18:51 pm »
Hi there,

i got problems with setting shape scripts for standard stereotypes of a BPMN2.0 Diagram.

What I want is quite simple (Gateways as example should get another color, should be smaller etc. - should be easy to achieve with shape scripts - at least this is what I tought)

In UML Types (Settings - UML Types) I want to override the shape for Gateways e.g.

I tryed Stereotype: "Gateway" as well as "BPMN2.0::Gateway" and also "UML:Gateway". (Base class i nearly tried every one that makes scence, as I think)
Unfortunately any of those one's work (I think the shapescript is alright)

Is this even possible, or will I have to implement own stereotypes for this to achieve?

Regards,
Eric

11
Bugs and Issues / Re: HTML Report | DiagramNotes Shape | Author Bug
« on: July 15, 2015, 04:03:40 pm »
Hi,

are there any other suggestions?

Regards,
Eric

12
Bugs and Issues / Re: HTML Report | DiagramNotes Shape | Author Bug
« on: July 09, 2015, 03:48:59 pm »
Hi Doubled,

thanks for your response.
I'm afraid I already did this. You are right, the #author# tag beeing removed will do this in at a few positions, but the shape in the diagram is not effected by this. This is generated as a picture, and the "diagram notes" shape contains the author aswell.

I am afraid this is no solution for my problem.  :-/

Regards,
Eric

13
Bugs and Issues / HTML Report | DiagramNotes Shape | Author Bug
« on: July 08, 2015, 07:57:31 pm »
Hi there,

I got issues with the html report:

What I want to do is create a html report, what works quite fine.
But there is a request for me that I need to implement: No authors are allowed to be shown in diagrams etc.
So what I did is writing an addin, which temporally removes those information from shapes, diagrams and adjusted the web template.

All fine till here.

Diagrams get exported as kind of an image - so those "common - diagram notes" shapes, which get filled with information with
"Name, AUthor, Version, Created and Updated" automatically need to be adjusted. Since I can't remove them, because I can't say for sure which Diagramobject is the right shape - I set the diagram.Author to String.Empty, which should work fine. (And it does - if i reopen the diagram after I changed it by the plugin, without changing back, the author is empty). The "Author: xxx" part of the diagram notes shape is empty now too.
BUT: In the html report the author is still exported with the name of the "creator". I can even change the author in EA's diagram option window itself, and there will still be the person exported in the html report, which created the diagram in first place.

-> Is this a known bug? Because no matter what I try to change the author (and which get's shown in the diagram correctly), the report will always show the original creator of the shape.

Regards,
Eric

14
Hey Aaron,

thank you very much for you fast reply.
Yes I thought so. I might check the connectionstring as you said, save it to a static variable and just return from events fired by EA if we are in the wrong state.

Well thank you again,
If someone else has an idea - I'll still check the thread in time :)

Regards,
Eric

15
Hi dudes and dudines  ;D

I have a requirement and I got no idea how to realize it. The search in .chm and the forum didn't change this issue.

My problem is following: In the company, some users are working on different repositories (Oracle DBs). The Add-In I developed is quite spezialized and though I know it shouldn't it might crash if it is used in the wrong repository (some special guid's missing etc.) ...

So what I want to do is deativate the Add-In if an different repository is opened.

I had something in mind like developing an 2nd Addin, which could listen to project opened or something like this and deativate the actual Add-In.

I am afraid I can't find a method or something similar to deativate an running Add-In.

Some ideas?

Best Regards,
Eric

Pages: [1] 2 3