Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.5.0 #89

Merged
merged 84 commits into from
Mar 19, 2021
Merged

Release 0.5.0 #89

merged 84 commits into from
Mar 19, 2021

Conversation

claudenirmf
Copy link
Member

The version 0.5.0 includes:

  • Import OntoUML project in JSON.
  • Diagram generation feature
  • Bugfixes

tgoprince and others added 30 commits February 13, 2020 18:28
* 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 Literal class for enumeration serialization

Co-authored-by: Viola <victorviola86@gmail.com>
Co-authored-by: Claudenir Morais Fonseca <claudenirmf@gmail.com>
* fixed constructor - checked this.stereotypes for null before using.

* Update Class.java

Co-authored-by: Tiago Prince Sales <tgoprince@users.noreply.github.com>
…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>
* Bugfix

* Remove unnecessary sysout call

Co-authored-by: Claudenir Morais Fonseca <claudenirmf@gmail.com>
* added feature to disable associations dynamically

* Bugfix when applying <<mode>>, <<quality>>, <<relator>> and <<manifestation>>

* added missing source stereotype (Quality)

* Update ApplyStereotype.java

* Fixed category case when setting the possible relations

* changed types do HashMap

* removed powertype from the association stereotypes list and also removed some unused imports

* implementation changed to use a single map with all constraints.

* removed unused imports

* Update AssociationConstraints.java

* Minor improvements

Co-authored-by: Tiago Prince Sales <tgoprince@users.noreply.github.com>
Co-authored-by: Claudenir Morais Fonseca <claudenirmf@gmail.com>
It is been hard to deal with stereotype listener
victorviola and others added 29 commits March 24, 2020 08:43
Custom Log Panel and Highlight element models
* apply multiple sterotypes at same time. Only works if all elements in the selection are the same.

* if selection has classes and associations selected at the same time validate rule for only the object that had the click.

* apply same stereotype for all elements selected

* fix update stereotype when selection multiple objects.

* when user selects more than one object do not apply constraints

* added new Fixed menu - now suggests stereotypes only when 1 class is selected or all selected classes have the same super class.

* fixed action behavior in context menu of the model explorer

* fixed context menu when selecting stereotypes from model explorer

Co-authored-by: Victor Viola <victor.viola@farfetch.com>
* apply multiple sterotypes at same time. Only works if all elements in the selection are the same.

* if selection has classes and associations selected at the same time validate rule for only the object that had the click.

* apply same stereotype for all elements selected

* fix update stereotype when selection multiple objects.

* when user selects more than one object do not apply constraints

* added new Fixed menu - now suggests stereotypes only when 1 class is selected or all selected classes have the same super class.

* fixed action behavior in context menu of the model explorer

* fixed context menu when selecting stereotypes from model explorer

* progressBar first version

* progress bar when calling diagram verification

* progresspanel - WIP

* fixes - wip

* progresbar with threads. Now user can cancel the request.

* fixed bug in case of exception or response null

* added message when user cancel the request.

* added progress bar to export to json after user selects the filename and file directory

* first close the progess bar then show the dialog

* added progress bar when exporting to gufo

* removed duplcated code.

* bug fixed when selecting an invalid endpoint

* bug fixed when handling model verification response

* added progress dialog to the functions that connects to the server. Improved the way the progress dialog works.

* improved in how the loading box closes.

* Fixed null pointer when canceling the model export

Co-authored-by: Victor Viola <victor.viola@farfetch.com>
Co-authored-by: Tiago Prince Sales <tiago.princesales@unibz.it>
* Adds proper generation of stereotypes

* Updates apply stereotypes and serialization

* Working on tagged value overwrite

* Bug fix

* Updates class serialization

* Fix tagged value update

* Refactor methods

* Bugfix apply fixed menu

* Updates context menus for properties

* Updates properties menus

* Updated set order dialog

* Includes abstract nature

* Updates JSON serialization

* Bugfix

* BugFix

* Additional options added to the contextual menus

* Removes local maven variables from repo

* Updates Meta-Properties context menu

* Updates enabling of meta-properties context menu

Co-authored-by: Tiago Prince Sales <tiago.princesales@unibz.it>
* WIP - checkbox tree for diagrams and model

* added dynamic icons to the tree

* improved icon setting.

* wip - added option to choose between trees

* Save user config when exporting to GUFO

* wip - selection tree - retrieving nodes

* fixed window control

* created new constructors.

* fix bug when calling class constructor

* added comments and removed others.

* Moved icons

* wip - package tree explorer

* now models and packages have priority in the package tree.

* added new model elements to package tree

* added option to check class without checking attributes

* fix attribute selection

* check all same objects in the tree

* fixed identation

* fixed multiple selection when have commom objects in the selection.

* fixed selection for classes

* now the tree is saving in the configurations

* fixed attributes when selecting classes

* fixed model snapshot when selecting generalization sets

* consider IDiagramUIModel as its parent element

* now nodes of the tree are being inserted sorted.

* now tree is organized per type AND alphabetically

* added associations and generalizations to the package tree

* select classes of the same type of the attribute selected.

* check types for subtree

* request improved

* improved tree cell renderer

* 1st version export view

* new export to gufo window finished

* fixed diagram saving element

* added new icons

* new icons

* icon for package changed

* fixed model building

* improved selection for similar node

* improved threads

* changed icon for association end

* name for association end

* changed name root element for diagram tree

* fixed nullpointer

* add labels for combos

* resize window false

* prevent window export to be opened twice

* prevent config window to be opened twice

* changed UI export

* removed unused component

* adjust in UI

* adjust in UI

* improved layout

* fixed label

* layout improvement

* adjust

* new layout for export - wip

* layout improvement - wip

* added table

* added packages tab

* Changed labels

* Added default language option

* layout adjust

* update

* ui updated

* adjust ui

* Adjusted labels

* Set Base IRI default value

* UI fixes

* changed default behavior for tables

* get json string from tables

* generating json to send transformation to server

* Bugfix on allowed nature serialization

* Updates export file format and datatype serialization

* Minor refactoring

* Bugfix tag removal on apply meta-properties

* Updates meta-property serialization

* Minor presentation issue

* Bugfix on suggested stereotypes

* Bugifx on gufo options export

* fixed model building for tree and package

* added port number to the default server

* code improved

* adjusted images

* select generalizations when g_set is selected

* fixed tree for diagram and package views

* fixed serialization

* fixed name of the generalizations in the tree

* Fixed element and package mapping serialization

Removed duplicate code

* General code improvements

* Smart painting based on restrictedTo meta-property

* Fixed bugs related to tagged values

* Updates listeners for restrictedTo inference

* Updates inference criteria

* Updates ApplyProperties

* Improving manipulation of tagged values

* Updates interaction with tagged values

* BugFix

 - Add listeners in projects that were "not created" (when the tool open without opening an existing project)

- Binds tagged value definitions to to stereotypes instead of simply adding them to the stereotype's tagged value definition container

* Bugfix and cleanup

* Bugfix

Updates color when adding existing model element to diagram

* Updates smart modeling of historical roles

* BugFixes and updates menu ordering, menu access, and color scheme

* Bugfix historicalRole rule

* Updates «historicalRoleMixin»

* Updates applicable stereotype based on generalization

* Updates association constraints JSON file

* Updates association constraints JSON file

* Updates ReportErrorAction

* Updates guides and bug report

* Updates README

* Updates images size

* Updates report error URL

* Updates README

* Updates plugin update feature

* Updates README

* Bugfix default cardinalities

* Updates situations support

* Updates README

Co-authored-by: Tiago Prince Sales <tiago.princesales@unibz.it>
Co-authored-by: Claudenir M. Fonseca <claudenirmf@gmail.com>
* Retrieve releases from GitHub

* Updates release download

* Updates interfaces and download

* Updates periodic lookup for new releases

* Update plugin.xml and general bugfix

* Bugfix

* Improved plugin toolbar

* Extracted nested classes from ViewUtils

* General refactoring and update of releases serialization

* Refactoring

* Refactoring

* Refactoring

* BugFix

Replaces ZonedDateTime serialization to strings

* Refactoring

* Refactoring

* Fixed null pointer bug

Co-authored-by: Tiago Prince Sales <tiago.princesales@unibz.it>
* Small fixes in the plugin

* Updated restrictedTo dialog

* Plugin version increased

* Minor change to color defaults

* Code refactoring

* Renamed method

* Added association constraints involving datatypes

* Enable isExtensional based on restriction

* Updates stereotypes to include isExtensional

Know bugs:
 - Suggested «characterization» from «quality» to «event»
 - Sortals keep restrictions after generalizations are deleted
 - Changing the stereotype while isExtensional = true does not return the value to false.

* Fixes smart paint for empty restrictedTo

* Fix updates to isExtensional

 - Changes isExtensional to false when "collective" is not the unique
value of restrictedTo
 - Prevents manual changes to isExtensional when prohibited

* Fixed behavior on enabling/desabling menu options on the class contextual menu

* Set navigability when applying a relation stereotype

* Update navigability

* Updates invert association

* Updates meta-property menu: isAbstract and isDerived

* Updates context menu for attributes

* Adds source and target meta-property menus

* Updates suggested stereotypes on both directions

* Updates association inversion warning dialog

* Added allowed associations by ontological nature

* Applies association constraints based on nature restrictions

* Code clean-up

* Added Maven plugin for automatic code formatting

* Add Github Action for styling the code in the Google Java Format

* Google Java Format

* BugFix invert association and reorganizes code

* Google Java Format

* Bugfixes

* Updates labels and stereotype suggestion for multiple selected elements

* Updates invertAssociation() and refactors code

* Google Java Format

* Bugfixes

Co-authored-by: Tiago Prince Sales <tiago.princesales@unibz.it>
Co-authored-by: Claudenir Fonseca <claudenirmf@gmail.com>
Co-authored-by: github-actions <>
Disables duplicated "Invert Association" button
* WIP: Add initial version of the new OntoUML library.

* Google Java Format

* Add serialization to the new OntoUML API

* Apply Google Java Format

* Google Java Format

* Add model deserialization with reference resolutionC

* Google Java Format

* Adjust deserialization tests

* Quickfix on ClassDeserializerTest

* WIP: New serialization

* Replace model serialization

* Code cleanup

* Add diagram serialization

* Add diagram deserialization

* Google Java Format

* Upgrade diagram deserialization

* Google Java Format

* Add import project from JSON

Adds a feature to import a whole OntoUML JSON project into Visual Paradigm overriding existing model elements and diagram when duplicates are found.

* Renamed some classes

* Google Java Format

* Use coordinates as int (instead of double)

* Update serialization and request calls

* Fix import behavior: stop overriding existing diagrams and runs autolayout.

* Update service calls

* Google Java Format

* Add PackageView serialization/deserialization

* Update plugin.xml

* Add SimpleServiceWorker

* Updates modularization request

* Update JsonImportAndExportController

* Update GufoExportController

* Fixes NullPointerException on the serialization of inverted derivation

* Disables selection tree in Export to gUFO interface

* Update mode's color and bugfix propagation of "restrictedTo"

* Update version to 0.5.0

* Update default server URL

* Update README and remove reload button

Co-authored-by: github-actions <>
Co-authored-by: Claudenir Fonseca <claudenirmf@gmail.com>
@claudenirmf claudenirmf merged commit 64fca28 into master Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants