Skip to content

Commit

Permalink
Release 0.5.0 (#89)
Browse files Browse the repository at this point in the history
* Serialization of Enumeration Literals (#11)

* 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 <[email protected]>
Co-authored-by: Claudenir Morais Fonseca <[email protected]>

* 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 <[email protected]>
Co-authored-by: Tiago Prince Sales <[email protected]>

* added Literal class for enumeration serialization

Co-authored-by: Viola <[email protected]>
Co-authored-by: Claudenir Morais Fonseca <[email protected]>

* Hotfix: Null pointer exception on Class constructor (#13)

* fixed constructor - checked this.stereotypes for null before using.

* Update Class.java

Co-authored-by: Tiago Prince Sales <[email protected]>

* 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 <[email protected]>
Co-authored-by: Claudenir Morais Fonseca <[email protected]>

* 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 <[email protected]>
Co-authored-by: Tiago Prince Sales <[email protected]>

* 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 <[email protected]>
Co-authored-by: Tiago Prince Sales <[email protected]>

* Hotfix: Null pointer exception when reading outdate config file (#14)

* Bugfix

* Remove unnecessary sysout call

Co-authored-by: Claudenir Morais Fonseca <[email protected]>

* Feature to disable associations dynamically (#15)

* 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 <[email protected]>
Co-authored-by: Claudenir Morais Fonseca <[email protected]>

* [WIP] Listeners and basic coloring.

* [WIP] coloring all model

* [WIP] Smart Coloring fixes

* fix in smart paint

* fixed unused code

* paint diagram button improved listeners

* if auto coloring disabled do not paint

* WIP added listeners when load the plugin. Still need to evaluate where the listeners should be.

* fixed mixins coloring

* fixed coloring to match mixin pattern

* fixed subkinds in a row

* Small fixes

* Avoids repeating code

* Renamed COLOR_NON_SORTAL to  COLOR_UNKNOWN

* fixes and removed unused code

* added smartpaint in applystereotype

It is been hard to deal with stereotype listener

* removed unused listeners

* Removed println() that I commited by mistake

* Update SmartColoring.java

* Menubar Icon update

* working for generalization changes

* Update OntoUML server URL

* removed unused imports

* Added a warning when the user clicks on smart paint and the auto coloring is set to false.

* fixed null pointer exception when removing generalization.

* Fixed NullPointerException when serializing generalizations

* Bugfix on my previous fix ;)

* added dialog box when user clicks in smart paint

* Updates Smart Paint actions and removes unused imports

* Updates listeners, improves readability and prevents exceptions

* todo's removed.

* Quick systout fix

* Syntax verification (#17)

* verification response warning dialog and messages in log panel

* improved log messages and created function to get icon path.

* Minor fixes

* Adds verification dialog method

* some http response handled and added some try/catch

* Updates dialogs in case of failure

Co-authored-by: Claudenir Morais Fonseca <[email protected]>

* Connects plugin to the server for model transformation to gUFO (#18)

* Initial commit

* Connects to the server

* Minor issues

* addded verification for custom server in transformation to gufo also adapted verification function url building.

* added option to retry export to gUFO using the default server.

* added option to retry in verification service if service custom has problems

* Adds protection to Server Not Found

Co-authored-by: Viola <[email protected]>

* Smart meta properties feature (#27)

* set meta-properties whole model

* bug fixed when applying stereotypes for associations.

* set cardinalities if null or unspecified.

* update smartproperties.java to avoid duplicated code.

* set readonly only where it is true.

* fixed bug in cardinality setting.

* Fixed cardinality value on <<termination>>

* renamed smartProperties to SmartModelling. Moved functions from ApplyStereotype to SmartModelling class. Removed set meta properties from listeners and added to the class ApplyStereotype.

* Bugfix: HistoricalDependence

* Group all "smart modeling" features together

Plus: 
1. Material relations are 1..* by defaul only when relating roles.
2. subQuantityOf is, by default, readOnly=true on the part end

* Removed unused imports

* Created function to set default meta properties also for classes

* Cleaned up SmartModeling.java

Co-authored-by: Victor Viola <[email protected]>
Co-authored-by: Tiago Prince Sales <[email protected]>

* Disable stereotypes as you model (#28)

Implement the features described in issues #23 and #26 

* disabling stereotypes as you model.

* removed unecessary comments

* added option in configurations to enable/disable smart modelling

* Fixed allowed supertypes of Subkind

* Subkinds cannot specialize Types

* fix in setting allowed stereotypes in generalizations

* fixed layout for configurations panel.

* Fixed null pointer when subtype or super type did not have stereotypes

* Enabling/disabling smart modeling applies to associations and classes

* Toggling smart modeling also impacts association default metaproperties

Co-authored-by: Victor Viola <[email protected]>
Co-authored-by: Tiago Prince Sales <[email protected]>

* diagram verification

* added user logs to distinct between diagram/model verification. Also added protection to runs the diagram verification only if there is a class diagram opened.

* Adjusted messages display in dialogs displayed after verification is called

* Small improvements to the message log

* New Log Panel and highlight elements after verification.

* improved textArea in log panel. Now user cannot edit the text.

* open specification option in context menu / disable take me there if class is not in any diagram

* border between results in log panel

* Updates ViewUtils

* Updates ViewUtils

* changed log panel to use JList.

* Updates ViewUtils

* Apply stereotype feature works when multiple classes are selected (#39)

* 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 <[email protected]>

* Issue31 add progress bar (#44)

* 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 <[email protected]>
Co-authored-by: Tiago Prince Sales <[email protected]>

* Made project compliant to Maven's  default folder structure

* Fixes on pom.xml

* Executing VP with plugin through Maven

* Added maven wrapper

* Skip installation of plugin on local maven directory

* Updates scripts

* Improved README.md

* Cleaned up run.sh

* Added build profiles to distinguish exec scripts

* added .bat script to mvn exec in windows

* Fixed unix run-vp script

* improved bat script

* Update README.md

* added version label in settings panel (#48)

* Added support for OntoUML tagged values(#37)

* 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 <[email protected]>

* Bugfix duplicated tagged values

* New UI to access the ontouml2gufo service (#49)

* 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 <[email protected]>
Co-authored-by: Claudenir M. Fonseca <[email protected]>

* Plugin Update Automation (#61)

* 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 <[email protected]>

* Language Updates (#64)

* 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 <[email protected]>
Co-authored-by: Claudenir Fonseca <[email protected]>
Co-authored-by: github-actions <>

* Disables UI elements

Disables duplicated "Invert Association" button

* 0.4.0

* New feature: Import/Export diagrams (#86)

* 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 <[email protected]>

Co-authored-by: Tiago Prince Sales <[email protected]>
Co-authored-by: Viola <[email protected]>
Co-authored-by: Victor Viola <[email protected]>
Co-authored-by: Tiago Prince Sales <[email protected]>
Co-authored-by: Tiago Prince Sales <[email protected]>
  • Loading branch information
6 people authored Mar 19, 2021
1 parent a2f9e34 commit 64fca28
Show file tree
Hide file tree
Showing 238 changed files with 15,616 additions and 2,169 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ Users must select the elements that shall be exported to gUFO either selecting f

![A screenshot showing the "transformation to gUFO" window](./docs/feature-gufo.png)

### Automatic Diagram Generation

Diagram generation allows users to include into their projects automatically generated diagrams that advantage from OntoUML features to create meaningful views of their ontologies.

![A gif demonstrating the diagram generation feature.](./docs/feature-diagram-generation.gif)


#### Continuous Updates

The cloud-based features offered in the plugin are periodically updated. Updates in these features usually do not require updates in the Visual Paradigm plugin.
Expand Down
Binary file added docs/feature-diagram-generation.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 46 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>it.unibz.inf.ontouml</groupId>
<artifactId>ontouml-vp-plugin</artifactId>
<version>0.4.0</version>
<version>0.5.0</version>

<name>OntoUML 2 Plugin for Visual Paradigm</name>

Expand All @@ -18,7 +18,8 @@
</os>
</activation>
<properties>
<script.executable>"${project.basedir}${file.separator}scripts${file.separator}run-vp.bat"</script.executable>
<script.executable>"${project.basedir}${file.separator}scripts${file.separator}run-vp.bat"
</script.executable>
</properties>
</profile>
<profile>
Expand All @@ -43,11 +44,41 @@
</properties>

<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.7.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.7.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.truth</groupId>
<artifactId>truth</artifactId>
<version>1.1.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.truth.extensions</groupId>
<artifactId>truth-java8-extension</artifactId>
<version>1.1.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.12.1</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.5</version>
</dependency>

<dependency>
<groupId>com.visualparadigm.app</groupId>
<artifactId>com.visualparadigm.app.lib.openapi</artifactId>
Expand Down Expand Up @@ -173,6 +204,14 @@
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down Expand Up @@ -271,6 +310,11 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
</plugin>
</plugins>

</build>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/it/unibz/inf/ontouml/vp/OntoUMLPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/
public class OntoUMLPlugin implements VPPlugin {

public static final String PLUGIN_VERSION_RELEASE = "0.4.0";
public static final String PLUGIN_VERSION_RELEASE = "0.5.0";
public static final String PLUGIN_ID = "it.unibz.inf.ontouml.vp";
public static final String PLUGIN_NAME = "OntoUML Plugin";
public static final String PLUGIN_REPO = "https://github.com/OntoUML/ontouml-vp-plugin/";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
import com.vp.plugin.action.VPAction;
import com.vp.plugin.action.VPContext;
import com.vp.plugin.action.VPContextActionController;
import com.vp.plugin.model.IAssociation;
import com.vp.plugin.model.IAssociationEnd;
import com.vp.plugin.model.IClass;
import com.vp.plugin.model.IModelElement;
import com.vp.plugin.model.ITaggedValue;
import com.vp.plugin.model.*;
import com.vp.plugin.model.factory.IModelElementFactory;
import it.unibz.inf.ontouml.vp.model.Configurations;
import it.unibz.inf.ontouml.vp.model.uml.Association;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@
import it.unibz.inf.ontouml.vp.model.uml.Association;
import it.unibz.inf.ontouml.vp.model.uml.Class;
import it.unibz.inf.ontouml.vp.model.uml.ModelElement;
import it.unibz.inf.ontouml.vp.utils.ActionIdManager;
import it.unibz.inf.ontouml.vp.utils.OntoUMLConstraintsManager;
import it.unibz.inf.ontouml.vp.utils.Stereotype;
import it.unibz.inf.ontouml.vp.utils.StereotypesManager;
import it.unibz.inf.ontouml.vp.utils.ViewManagerUtils;
import it.unibz.inf.ontouml.vp.utils.*;
import java.awt.event.ActionEvent;
import java.util.ArrayList;
import java.util.List;
Expand Down

This file was deleted.

Loading

0 comments on commit 64fca28

Please sign in to comment.