ObeoNetwork / UML-Designer

OpenSource (EPL licensed) UML2 Graphical Modelers (Class, Composite, State, Activity, Sequence ...)
http://umldesigner.org
319 stars 122 forks source link

Let user to input undefined types in method signatures #964

Closed dmitry-timofeev closed 7 years ago

dmitry-timofeev commented 7 years ago

Would it be possible to let a user to input unknown types in method signatures in class diagrams? It's very convenient (= fast) to be able to input a whole method signature as text, but currently UML Designer discards all unknown types, e.g., if you add class FooBuilder to an empty class diagram, and then type the following signature:

setBar(b: Bar): FooBuilder

Bar will be discarded and the signature will be set to:

setBar(b: ): FooBuilder

Is it possible to disable such behaviour, i.e., make UML Designer accept the types that aren't defined yet (maybe, automatically define them)?

Related SO question: https://stackoverflow.com/questions/44704789/uml-designer-discards-undefined-types