vasanth
I'm new here

Is it possible to get Project Setting through ToolbarContext

Jump to solution

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.

0 Kudos
1 Solution

Accepted Solutions
pavone
I'm new here

Hello,

try this:

StoreAgent storeAgent = context.requireSpecialist(StoreAgent.TYPE);

GlobalStoreRoot store = ((GlobalStoreRoot) storeAgent.getStore(Store.Type.GLOBALSTORE));

ProjectProperties projectProperties = store.getProjectProperties();

Best regards

Tim

View solution in original post

0 Kudos
2 Replies
pavone
I'm new here

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 Kudos

Hello Vasandharaj,

do you need further help or did Tim's reply already help you? In this case it would be great if you mark his "correct answer".

Best regards

Michaela


0 Kudos