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 - Simon M

Pages: 1 ... 412 413 [414] 415 416 ... 419
6196
Automation Interface, Add-Ins and Tools / Re: Eclipse MDG Java Link
« on: December 21, 2005, 03:18:38 pm »
I wouldn't have expected it to take that long, and I haven't seen it take long.

But could you tell me if it takes a long time to generate those classes without the MDG Eclipse addin setup for the current package?

6197
Well, in that case it's not the same problem and I haven't seen it.

It probably has something to do with some combination of options and possibly modified templates, but I have no idea which options might be doing it.  If you find anything then let me know.

6198
From memory there was a problem that matched this description fixed a few builds back.

If it's the problem I think it is then you have two options.
  • Upgrade to the latest version of EA.  ;)
  • Open the options (Tools | Options) to the Source Code Engineering (used to be Generation) page and check the Reverse checkbox in the Comments group.
Hope that helps.

6199
No.  Constraints are not yet accessible from the transformation templates.

6200
Automation Interface, Add-Ins and Tools / Re: Problem with BPMN Add-in
« on: January 24, 2006, 08:51:24 pm »
Try going to the Menu Tab and pressing Reset.  When people have problems with Addins not appearing this is usually it.

6201
Handling some broadcast events in an addin sounds like what you need to do here.

The functions that I see that could be relevant are

EA_OnPostNewElement
and
EA_OnContextItemModified (Not yet available on online help)

6202
The database field behind the name field is limited to 255 characters.

6203
Hello Dimi,

Currently there is no way to do this in EA.

We are planning to do it though, just not sure when.

Simon

6204
Importing from a diagram does not import the package (module) structure.  Import Source Directory does this.  The generation looked at the namespace structure of your model, (See http://sparxsystems.com.au/EAUserGuide/index.html?namespaces.htm) didn't find module Dev so generated it and everything inside it.

If you set the namespaces in EA this will work as you expect.

6205
You can drag/drop in the tree to move from class to class.

6206
Automation Interface, Add-Ins and Tools / Re: Some Transformation questions
« on: December 18, 2005, 01:22:49 pm »
1. This is done by adding a tagged value 'Attribute' with the value of '[Serializable]'.  So you want to generate the following in the Class part of the transformation.
Code: [Select]
Tag
{
 name="Attribute"
 value="[Serializable]"
}

2. Doesn't look like the grammar can handle this at all, so it will have to be added.

3. Not sure what you're wanting to do here.  Could you give a bit more detail?

6207
Just on #1, try having a look at the Local Paths feature of EA.  This does what you want.  Just set up the local path corresponding to the old path and apply.  Change the path and optionally expand.  Paths are changed.

6208
EA_GetMenuState seems to work for me, but I'm not using Python (or Perl).  The possibility that occurs to me is that maybe you haven't declared your functions to have those parameters passed by reference.

I had a bit of a look for how to do this in python and came up with the following page.  Hope it helps http://mail.python.org/pipermail/python-win32/2002-November/000590.html

6209
I have to agree with you on that.

We should have it fixed for the next build.

6210
This message is not about the package that you are transforming.  But it is about the package that you are transforming to.

If you get this message check that your target package is not a root package.

Pages: 1 ... 412 413 [414] 415 416 ... 419