How can I override the default service implementation of, say, FrameTitleBuilder
in my intellij plugin?
I am using IntelliJ 12.1.4, I have correctly configured the environment for creating plugins.
Now I tried to add this to my plugin.xml in a new plugin project:
<extensions defaultExtensionNs="com.intellij"> <applicationService serviceInterface="com.intellij.openapi.wm.impl.FrameTitleBuilder" serviceImplementation="com.my.package.MyFrameTitleBuilder" overrides="com.intellij.openapi.wm.impl.FrameTitleBuilder" /> </extensions>
However, it is not:
org.picocontainer.defaults.DuplicateComponentKeyRegistrationException: Key com.intellij.openapi.wm.impl.FrameTitleBuilder duplicated
Can anyone suggest some tips?
Thank you in advance!
source share