Is it possible to get Project Setting through ToolbarContext
Author: vasanth
Publication Date: 1/12/2015 12:23
Hello,
Currently I am creating Tool bar Plug-in and I need to retrive the value from the Project Setting (Please see the attachment for more information).
Is it possible to access the Project setting from ToolbarContext ??
Regards,
Vasandharaj M.
Tags: in, plug, plugin, toolbar, toolbarcontext
0
-
Author: pavone - 2/19/2015 8:17
Hello,
try this:
StoreAgent storeAgent = context.requireSpecialist(StoreAgent.TYPE);
GlobalStoreRoot store = ((GlobalStoreRoot) storeAgent.getStore(Store.Type.GLOBALSTORE));
ProjectProperties projectProperties = store.getProjectProperties();
Best regards
Tim
0
Please sign in to leave a comment.
Comments
1 comment