Java Service Not Called From Style Customization [message #1808864] |
Wed, 03 July 2019 09:21  |
Eclipse User |
|
|
|
Hello, everybody.
I have a style customization on a layer that enables and disables an icon.
However, because there is a bug in Sirius and it does not get updated after I disable or Enable the layer, only when I change the model, I decided to add a another style customization that refreshes the whole diagram.
I created a simple class that looks like this:
import org.eclipse.emf.ecore.EObject;
public class RefreshService {
public void refreshAll(EObject obj) {
System.out.println(obj);
}
}
However, when I add service:refreshAll() to the expression field, it never gets called. If I add a custom tool, the service does get called, but that's not the idea. The class has also been added as a Java extension.
I need this fixed really urgently. Thank you for your help in advance.
[Updated on: Wed, 03 July 2019 09:45] by Moderator
|
|
|
|
|
|
Re: Java Service Not Called From Style Customization [message #1810086 is a reply to message #1810054] |
Tue, 30 July 2019 09:54  |
Eclipse User |
|
|
|
Adrian Yankov wrote on Tue, 30 July 2019 09:11Thank you for the answer.
I will try it.
I am using 6.3.
Please note that Sirius 6.3 is not released: it corresponds to the current in-development version. We try to keep master stable at all times, but it is not validated and things may change from day to day without notice (if you are pointing to the latest build).
The latest released version is 6.2.2.
[Updated on: Tue, 30 July 2019 09:54] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03216 seconds