Folder for a model elemnt

Started by ChampagnePerry, July 25, 2017, 18:22:28 PM

Previous topic - Next topic

ChampagnePerry

Hi Just a quick question.
Does anyone know how archi knows which folder an element belongs in?
I know how it works in the toolbox but I don't know what makes it appear in the business or application folder.
I know it's probably obvious so I thought I'd ask rather than search for it. ???

Phil Beauvoir

IArchimateModel model;
EObject object;

IFolder folder = model.getDefaultFolderForObject(object);
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.