Check out our new monthly subscription model! Only $9.99 a month!
Do u have a function that gives the characteristics of the selected elements?? And if yes, can u give an example?
Product: Astah Professional
Thanks for your post.
If you'd like to get all the properties of selected model using API, here's a sample.
If this isn't what you want to know, please let me know your request in more detail?
Do u have an example in java?
I'm not sure which properties you mean by the "characteristics". But here're some information you can refer to as example from our "Bookmark Plug-in" source code.
This example is to modify tagged values of selected element in the diagram.
Method to get information of selected element on the diagram
IDiagramViewManager#getSelectedPresentations() of AstahAccessor#getSelectingPresentation()
Method to modify its tagged value
BasicModelEditor#createTaggedValue(IElement element, String tag, String value) of AstahAccessor#getTaggedValue()
If this doesn't help, please give me an example with specific property you want to add, so that we will be able to provide you with better examples.