Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor DI multibinding approach #37

Merged
merged 1 commit into from
Jan 27, 2020
Merged

Refactor DI multibinding approach #37

merged 1 commit into from
Jan 27, 2020

Conversation

tortmayr
Copy link
Contributor

  • Introduce new helper class for easier configuration of multi bindings (add,remove,rebind)
  • Remove ActionProvider and bind Action classes directly via multi bind
  • Introduce InstanceRegistry (client side already has a similar concept)
  • Refactor ActionRegistry to make use of the new InstanceRegistry
  • Move multibinding default values into dedicated util class

@tortmayr
Copy link
Contributor Author

tortmayr commented Jan 22, 2020

see also: eclipse-glsp/glsp-examples#30

@tortmayr tortmayr force-pushed the tortmayr/refactor-di branch from 56fcff7 to d5f7dd0 Compare January 22, 2020 17:10
@tortmayr tortmayr changed the title Refactor DI multibinding approach … Refactor DI multibinding approac Jan 22, 2020
@tortmayr tortmayr changed the title Refactor DI multibinding approac Refactor DI multibinding approach Jan 22, 2020
Copy link
Contributor

@martin-fleck-at martin-fleck-at left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good to me after resolving the conflict (rebase was enough). Thank you very much Tobi for making our future lives easier ;-)

- Introduce new helper class for easier configuration of multi bindings (add,remove,rebind)
- Remove ActionProvider and bind Action classes directly via multi bind
- Introduce InstanceRegistry (client side already has a similar concept)
- Refactor ActionRegistry to make use of the new InstanceRegistry
- Move multibinding default values into dedicated util class
@tortmayr tortmayr force-pushed the tortmayr/refactor-di branch from d5f7dd0 to dec64d9 Compare January 27, 2020 17:50
@tortmayr tortmayr merged commit 02b5920 into master Jan 27, 2020
@tortmayr tortmayr deleted the tortmayr/refactor-di branch January 27, 2020 17:51
tortmayr added a commit that referenced this pull request Jan 27, 2020
- Introduce new helper class for easier configuration of multi bindings (add,remove,rebind)
- Remove ActionProvider and bind Action classes directly via multi bind
- Introduce InstanceRegistry (client side already has a similar concept)
- Refactor ActionRegistry to make use of the new InstanceRegistry
- Move multibinding default values into dedicated util class
MatthiasHofstaetter pushed a commit to MatthiasHofstaetter/glsp-server that referenced this pull request Dec 21, 2024
- Introduce new helper class for easier configuration of multi bindings (add,remove,rebind)
- Remove ActionProvider and bind Action classes directly via multi bind
- Introduce InstanceRegistry (client side already has a similar concept)
- Refactor ActionRegistry to make use of the new InstanceRegistry
- Move multibinding default values into dedicated util class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants