Closed GoogleCodeExporter closed 9 years ago
Other options could be to create a 'lean' API just including certain methods,
or excluding certain methods
Original comment by TimothyCLethbridge
on 22 Sep 2013 at 11:45
Other useful customizations include
For generation of diagrams (Yuml, Graphviz etc.) show or hide attributes and methods
Original comment by TimothyCLethbridge
on 13 Dec 2013 at 4:42
The generate statement and generate command line specification need a
consistent way to specify options.
For example
generate Java -simple;
or
java -jar umple.har -g Java --simple;
might omit non-essential API.
Various other issues suggest adding additional capabilities, for example issue
232 suggests generating a main method, which could be an option; issue 367
suggests adding methods for navigation, issue 242 suggests adding clone able.
Generating persistence could also be done in various ways using options.
Original comment by TimothyCLethbridge
on 7 Jan 2014 at 4:32
For invocation on the command line and using a generate statement, we have
decided that we will specify options using -s opt1 opt2, etc. -s opt1 -s opt2
The options can be arbitrary strings and each generator will interpret them,
and raise any error messages if they make no sense.
This will require changing the grammar of generate_path to allow for this, and
also the setup of simple opts to allow the command line options.
For example to generate no attributes in the GvClassDiagram generator, we would
specify
On the command line:
-g GvClassDiagram -s noattributes
or in the file
generate GvClassDiagram -s noattributes
In generate methods such as in Generator_CodeGvClassDiagram.ump the programmer
ought to be able to call a method 'getGenerateOptions' that would return a map
of key-value pairs which would have 'no attributes' null
The generator would then do what it wants with the options (if any) it finds.
Original comment by TimothyCLethbridge
on 8 Jan 2014 at 5:39
Original comment by TimothyCLethbridge
on 12 May 2014 at 5:18
Original issue reported on code.google.com by
greg.hy...@gmail.com
on 22 Sep 2013 at 3:54