Java Service Not Called From Style Customization [message #1808864] |
Wed, 03 July 2019 13:21 |
Adrian Yankov Messages: 16 Registered: March 2018 |
Junior Member |
|
|
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 13:45] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02793 seconds