Check out our new monthly subscription model! Only $9.99 a month!
I would like to know how I can get the parent package of the project I am in. For example the project name is: Example, how can I get this Example package?
I want to use the method createPackage from your Astah SDK API. For this method you need to give to parameters, the ParentPackage and the name of the new Package u would like to make. createPackage(IPackage parentPackage, String name). How do I get the parentPackage of the current Astah model I opened?
Thank you in advance, would help me a lot.
Product: Astah Professional
How does this function work? It returns a null.
Using ProjectAccessor#getProject() as a parent will do.
Here's sample code to create a package:
Hope it helps!