Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Serialization improvements on propertyAssignments and Generalization …
…and GUI improvement on Model Export (#12) * Included complete OntoUML stereotype list and improved JSON serialization (#9) * All Steryotypes removed and OntoUML steryotypes added on plugin start, remove all UML steryotypes both type class and association and install OntoUML stereotypes. * Fixed package name. * buttons for load/unload ontoUML stereotypes * improve the activation of the default stereotypes when activate the default stereotype, removed the stereotypes that are already in the classes. * [WIP] print json schema for all elements in project. Still missing some features. added testModel.vpp to the vpp projects folder * added support for association and other types * Testing commit * [wip] added uri to the elements * Ongoing integration * Functional remote verification Non-blocking, logged, remote verification. Requires refactoring. * Minor improvements Bug-fixes and refactoring * Minor fixes * Improved generation and error display on LOG Transformation shall be updated to workaround limitations of GSON's serialization and improvements on OntoUML Schema. * Changing Stereotypes with Right Click * Experimenting with default color profiles * Fixing GSON issue and ClassCastException * Updating stereotypes * Setting up configurations menu * Configurations Menu * General improvements * General refactoring and bugfix * General refactoring and bugfix #2 * Major Refactoring and Documentation Classes yet to be refactored/documented: - ActivateOntoUMLPlugin - ActivateDefaultStereotypes - StereotypeUtils - CollectionAdapter - Most classes within package it.unibz.inf.ontouml.vp.model * Model Export feature and refactoring * Auto-coloring feature and icons update * Minor improvements to auto-coloring It now affects all views of the selected model element. * Maven project (#7) * maven project * removed readme * openapi.jar was added to the project folder in order to be executed out of the box using maven compile. * changed folder name lib to repo / changed compiler to java 11 in pom.xml * gitignore updated * solved identation in git ignore file * Revert "Merge branch 'development' into maven-project" This reverts commit a72c78c, reversing changes made to 1cd30e4. * Update .gitignore * Delete openapi.jar * Update .gitignore * Removed unused imports * Update .gitignore * Including debug dependencies * Cleaning POM file * added generation of zip file of the plugin * Update README and .gitignore Co-authored-by: Tiago Prince Sales <tgoprince@users.noreply.github.com> Co-authored-by: Claudenir Morais Fonseca <claudenirmf@gmail.com> * removed toolbar buttons and removed some options in configurations panel. * cardinality updated * removed comment * Removed XML Export Window. * removed if to test if model verification is enabled * fixed url server verification * Fixed string regex in AssociationEnd * set timeout for 60s in request verification * added some logs in verification and also added behavior to check if custom server is enabled before mounting the URL. * Added all stereotypes * Stereotype order * Update stereotype serialization * Removed unused import * Coloring enabled by default * Update Stereotypes.java * updated associationEnd and Attribute cardinalities * change aggregationkind when applying stereotypes and set abstract to true when aplying mixin stereotype to classes * [WIP] - implementing new schema * wip - corrections in model creation to adapt to the new schema * remove propertyAssignment class. * created reference class * fixes * fix * Some updates Ongoing changes * added propertyAssignment build * wip - added property assignment to reflect better tagged values, add DataType class as well. * isDerived logic * Removed <<historical>> stereotype. <<historicalDependence>> should be used instead. * Update .gitignore * Removed Stereotypes.java This class only responsibility was to add the prefix ontouml/2 or vp/custom to stereotypes on the serialization. We decided not to have this prefixes on the exchanged models anymore. * Update ModelExportAction.java * Removed Reload plugin button * Bugfix null pointer on Association and Property constructors * removed datatype class and included datatype constructor in class class. Removed AssociationEnd and Attribute classes because it will be handled by Property class. * fixed associationclass * propertyAssignments in all elements * fixed setName and isDerived * fixed property assignments for association end * added some comments * id was not being set in Package Element * added description field to the elements * if description is empty set attribut to null * fixed Reference in Generalization constructor * fixed reference in GeneralizationSet * fixed tagged values when model element is not specified * ready to be merged * Improvements from code review * Removed duplicated code and fixed transformation of missing propertyType * Missing refactoring from tagged value extraction * Update Class.java Co-authored-by: Claudenir Morais Fonseca <claudenirmf@gmail.com> Co-authored-by: Tiago Prince Sales <tgoprince@users.noreply.github.com> * added new file dialog to export model. Also suggets filename. * if no property assignment added - return null * if a Generalization has stereotypes in both ends does not add this generalization to the model. * export json Changed view to File Dialog Now suggests the same name of the last save * Quick fix on name suggestion * Removed unused semicolon * Only serializes generalizations between classes or associations * Update ModelElement.java Co-authored-by: Claudenir Morais Fonseca <claudenirmf@gmail.com> Co-authored-by: Tiago Prince Sales <tgoprince@users.noreply.github.com>
- Loading branch information