24252627282930313233343536
* @see org.eclipse.jface.action.Action#run() */ @Override public void run() { super.run(); DXInGameMessageBridge bridge = DXInGameMessenger.getDefault().getDXInGameMessengerExtension().getMessageBridge(); if(isChecked()) { bridge.hook(); } else { bridge.unHook(); } setChecked(bridge.isHooked()); }