[
https://issues.jboss.org/browse/JBIDE-10335?page=com.atlassian.jira.plugi...
]
Snjezana Peco resolved JBIDE-10335.
-----------------------------------
Resolution: Done
Now you can use any editor input (including NullEditorInput).
JBoss Central cannot be opened without hard dependency to its plugin
because of JBossCentralEditorInput
-------------------------------------------------------------------------------------------------------
Key: JBIDE-10335
URL:
https://issues.jboss.org/browse/JBIDE-10335
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: central
Reporter: Max Rydahl Andersen
Assignee: Snjezana Peco
Priority: Minor
Fix For: 3.3.0.Beta1
JBDS-1941 caused a hard dependency from product to central plugin because of:
"The question was about having a need to have hard dependency to
org.jboss.tools.central plug-in because I must have JBossCentralEditorInput object to be
given as editor input. I may pass null or some other IEditorInput implementation but doing
so will rise an exception (IllegalArgumentException). Since there is no way to open the
Central without having this dependency (and no protests to have it) I've added it to
the product plug-in dependencies."
Snjezana - any reason why not allowing opening the editor without having the specific
JBossCentralEditorInput ?
I could see usecases for having a JBossCentralEditorInput but for just opening it
something more generic should be allowed to avoid hardcoupling.
Minor issue but annoying ;)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira