Tricks for plug-in development.

How to retrieve use story scenario via Open API

tomcat-thumbIn requirement capturing use case is typically used to model the system goal where there user or stakeholder would like to achieve. Sometimes the use case could be very big and hard to manage. In agile development approach the use case would further break down into smaller pieces called user story. The user story is small and should be able to complete within a sprint so that the team can easily manage it and make progress to the development in consistent manner. Visual Paradigm support capture requirements with user stories, and within each user story user can define various execution scenarios that developers should be catered during development. The user story scenario is not just available to access within the VP’s interface, but also accessible from the Open API. In this article we will show you how to retrieve the scenario information using Open API. Read more

Manipulate the nickname of a diagram and model element using Open API

tomcat-thumbYou might need to create diagrams in multilingual for different team members around the globe. Instead of maintaining multiple set of diagrams of the same models for several languages, the nickname feature in Visual Paradigm enables you to define multiple languages for a single set of diagrams, allowing you to switch between different languages in just a matter of a few clicks. The nickname can be manipulated directly from the GUI, or through the use of the Open API. This article shows you how develop a plugin yourself by swapping the original name of the diagram and model element with the current selected nickname. Read more

Create Grid Diagram using Open API

tomcat-thumbVisual Paradigm allows you to create the Grid Diagram for listing model elements in tabular form, structuring them into a table with elements as rows and properties as columns. The Grid Diagram can either be manipulated directly from the GUI, or through the use of the Open API. This article shows you how to develop a plugin yourself for creating a grid diagram. Use case models will be used for creating the grid diagram in this example as following: Read more

How to Deploy Plugins to VP Products

tomcat-thumbOpen API is an extension mechanism provided by Visual Paradigm for extending the functionalities of the client software. The Open API is in Java based, which allows you to have full access to the model data in your project file. By using Open API, you can create your own plugin to implement some customized features.

Read more

How to Manage Nickname with API

Most of the case, your model just needs to be share by your team, and they are in single language. But in some organizations, especially those with branches in multiple countries, you may need to share your model with different teams, and probably they are using different language. It is painful that you need to maintain multiple sets of models, each on one language. Every time when you need to make modification, you need apply the same modification on all the models you have. This is time very annoying and consuming. Read more