This service is archived, please use www.eclipse.org/forums


Home » Capella » Capella Studio » Quickfix to Open Settings
Quickfix to Open Settings [message #3279] Tue, 11 June 2019 07:39 Go to next message
Daniil200 is currently offline  Daniil200
Messages: 32
Registered: December 2018
Member
Hello,
I have created a custom validation rule that checks if certain Functional Exchanges contain Exchange Items. I was hoping to also add a quickfix to this rule, where the user can automatically be taken to the settings of a given Functional Exchange, with the Exchange Item preference window open.

I have seen that other built in quickfixes can do this, but have not been able to find the function that does so for my own development. Has anyone had success with this?

Thank you in advance,
Daniil
Re: Quickfix to Open Settings [message #3289 is a reply to message #3279] Thu, 13 June 2019 02:03 Go to previous messageGo to next message
felix.dorner.gmail.com is currently offline  felix.dorner.gmail.com
Messages: 117
Registered: November 2015
Senior Member
If you post a screenshot of what the result should look like, it would be helpful.
Re: Quickfix to Open Settings [message #3291 is a reply to message #3289] Thu, 13 June 2019 09:23 Go to previous message
Daniil200 is currently offline  Daniil200
Messages: 32
Registered: December 2018
Member
Essentially my question is how do I programmatically open up a preference menu?

I have attached a screenshot of a built-in validation rule error and the corresponding quick fix (picture 1) with the opened preference menu shown in picture 2. I would like to do the same, except with different preference menus.

Thank you,
Daniil

Previous Topic: Hide extension elements from "Add capella element..." menu
Next Topic: Diagram : "provided-by" meaning
Goto Forum:
  


Current Time: Sat Mar 28 03:27:26 EST 2020

Total time taken to generate the page: 0.01597 seconds