Replies: 1 comment 1 reply
-
@JValGLZ const diagramModule = new ContainerModule((bind, _unbind, isBound, rebind) => {
const context = { bind, _unbind, isBound, rebind };
bind(MyUIExtension).toSelf().inSingletonScope();
bind(TYPES.IUIExtension).toService(MyUIExtension);
configureActionHandler(context, SomeAction.KIND, MyUIExtension);
configureActionHandler(context, SomeOtherAction.KIND, MyUIExtension);
} (See also https://eclipse.dev/glsp/documentation/actionhandler/#implementing-an-action-handler-glsp-client) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am working on the Java-EMF-Theia Example and I have made a UIExtension. The UI also implements the IActionHandler. I wanted to set up a simple handle function which is the following.
I have already previously defined other actions and when they occured, I figured that this handle function would print out the statement, but it does not. What is it that I am missing? Thank you for your help.
Beta Was this translation helpful? Give feedback.
All reactions