IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Profile: cor
About
User Name: cor
Forum Rank: Advanced Member
Real Name: cor
Location Vienna
Occupation: %2B
Interests: Many
Gender: Male
Statistics
Joined: Wednesday, September 28, 2005
Last Visit: Tuesday, November 13, 2018 10:29:37 AM
Number of Posts: 369
[2.16% of all post / 0.08 posts per day]
Avatar
Last 10 Posts
Topic: State diagram code generation with submachines
Posted: Tuesday, November 13, 2018 10:25:37 AM
As the error message says, sub machine states are currently not supported for code generation.
You can use composite states, orthogonal states,.... also see here.

Regards,
cor

... Software Engineer
... Altova GmbH
Topic: Java API ImportBinaryTypesDlg entry class specification
Posted: Wednesday, November 29, 2017 3:32:08 PM
Mike,

Right - it only works when "ShowDialog=true", which is not appropriate in your case.
Specifying a list of class names is a missing functionality and we will add this as soon as possible.

Sorry for the inconvenience!

Best regards,
cor

Regards,
cor

... Software Engineer
... Altova GmbH
Topic: Java API ImportBinaryTypesDlg entry class specification
Posted: Tuesday, November 28, 2017 2:40:16 PM
Hello Mike,

Sorry, there was a misunderstanding.

What you want to do might be possible :-).
IImportBinaryTypesDlg has a member "Java_BinaryTypes" of type IBinaryTypeEntries, which holds a collection of IBinaryTypeEntry.

Think this is what you are looking for!?

Regards,
cor

... Software Engineer
... Altova GmbH
Topic: Java API ImportBinaryTypesDlg entry class specification
Posted: Tuesday, November 28, 2017 9:01:05 AM
Hello Mike!

With the Java interface, you have the same possibilities as when using the dialogs in the application, so no, it's not possible to import distinct classes (which would also mean to lose a lot of type information).
But you can minimize the diagram complexity when not using the automatic diagram generation but create the diagram by yourself with the API.
This way you can put exactly those classes onto the diagram(s), which you would like to see and still have the full type information from other classes available.


Regards,
cor

... Software Engineer
... Altova GmbH
Topic: Model -> Code for a new C# project
Posted: Monday, July 24, 2017 11:28:50 AM
Hi Carl!

UModel currently cannot create new project files, but will update existing project files.

Regards,
cor

... Software Engineer
... Altova GmbH
Topic: Source-code control check-in error
Posted: Monday, December 19, 2016 7:44:29 AM
Hi!

Did you also try the 32bit version of Team Foundation Server MSSCCI Provider?
Do you get the same problems there?

Regards,
cor

... Software Engineer
... Altova GmbH
Topic: UModel plugin menus refuse to die
Posted: Friday, November 25, 2016 9:52:31 AM
Hi WillemF,

Please try the following:

1. Uninstall your plugin
2. Start UModel and use Tools|Restore Toolbars and Windows...
3. Ensure your "ghost" menus disappeared
4. Install your plugin

Hope this helps - sorry for the inconvenience.

Regards,
cor

... Software Engineer
... Altova GmbH
Topic: Copy/paste or move package programmatically
Posted: Tuesday, November 15, 2016 7:06:21 AM
Hi WillemF,

Currently there is no built in "move" functionality, but you can iterate and move the elements by yourself.
Of course, this is not very convenient if you have many different element kinds, so we will put this on our feature list!

Regards,
cor

... Software Engineer
... Altova GmbH
Topic: Accessing OpaqueAction's properties in code
Posted: Friday, April 29, 2016 8:50:16 AM
Hi JBE!

Unfortunately you are right - 'Body' and 'Language' properties are missing for IUMLOpaqueAction in the COM API and we will put this on the TODO for the next releases!
Sorry for the inconvenience!

Regards,
cor

... Software Engineer
... Altova GmbH
Topic: do function at state machine initialize
Posted: Thursday, April 28, 2016 6:43:16 AM
Hi Tis!

According to the UML specification:

Quote:
doActivity: Behavior[0..1]
An optional behavior that is executed while being in the state. The execution starts when this state is entered, and stops
either by itself or when the state is exited whichever comes first. {Subsets Element::ownedElement}

=> directly after handling "onEntry", "do" is executed. There is no hidden "inbetween substate" to handle the first but not the second one.

So if you are unhappy with the UML specification, you might have to use one of the discussed workarounds.

Regards,
cor

... Software Engineer
... Altova GmbH

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.