90919293949596979899100
{ IdeaPlugin plugin = IdeaPlugin.getInstance(ideaEvent.getData(DataKeys.PROJECT)); if (event.getActionCommand().equals(IdeaPlugin.METHOD_OPEN_REQUEST)) { plugin.openRequest(); } else if (event.getActionCommand().equals(IdeaPlugin.METHOD_OPEN_RESPONSE)) { plugin.openResponse(); }