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

Check if plugin exists #105

Closed
rappen opened this issue Apr 9, 2015 · 4 comments
Closed

Check if plugin exists #105

rappen opened this issue Apr 9, 2015 · 4 comments

Comments

@rappen
Copy link
Collaborator

rappen commented Apr 9, 2015

As we now have the "messagebus" implemented in #85 it would be great to have the possibility of checking if a specific plugin exists.
If not, trying to call it would be in vain...

@shytikov
Copy link
Contributor

👍

@shytikov
Copy link
Contributor

@rappen What if in case if no plugin was found matching your criteria will be found "Plugin not found" message will be return to caller plugin? Will it suit your needs?

@rappen
Copy link
Collaborator Author

rappen commented Apr 30, 2015

My objective is to prevent the possibility to call another plugin if that plugin does not exist.
So I would need a separate method simply returning true/false if it exists. That way, I can disable/hide buttons to call this plugin if necessary.
The MsgBus call is already improved (by me, as I recall) to throw a PluginNotFoundException if target plugin does not exist.

@MscrmTools MscrmTools added this to the May release milestone May 6, 2015
@MscrmTools
Copy link
Owner

Resolved with merge from @shytikov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants