[JUNITPLUGIN-7] OpenClassPairActionとOpenDiconPairActionでキーバインディングのコンフリクトが発生する Created: 2009-10-19  Updated: 2009-10-19

Status: Open
Project: S2JUnit4Plugin
Component/s: None
Affects Version/s: 0.1.1
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: suga Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

コンフリクトが発生しているというログが出ます。

!ENTRY org.eclipse.ui.workbench 2 0 2009-10-14 08:42:51.375
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-10-14 08:42:51.375
!MESSAGE Conflict for 'org.seasar.s2junit4plugin.command.openDiconPair':
HandlerActivation(commandId=org.seasar.s2junit4plugin.command.openDiconPair,
handler=ActionDelegateHandlerProxy(null,org.seasar.s2junit4plugin.action.OpenClassPairAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1c0b8a0),sourcePriority=16384)
HandlerActivation(commandId=org.seasar.s2junit4plugin.command.openDiconPair,
handler=ActionDelegateHandlerProxy(null,org.seasar.s2junit4plugin.action.OpenDiconPairAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1c0b8a0),sourcePriority=16384)

plugin.xml では下記のように定義されています。
<key
commandId="org.seasar.s2junit4plugin.command.openClassPair"
contextId="org.eclipse.ui.textEditorScope"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+M2+9">
</key>
<key
commandId="org.seasar.s2junit4plugin.command.openDiconPair"
contextId="org.eclipse.jdt.ui.javaEditorScope"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+M2+9">
</key>

Java Editor は textEditorScopeでもあり javaEditorScopeでもあるためではないかと推測しますが、詳細までコードを追ってはいません。


Generated at Mon Dec 15 11:21:25 JST 2025 using Jira 10.6.1#10060001-sha1:a6461e220f274b29ced7ac9295492f2465fe5ef5.