Examples of IdeaPlugin


Examples of org.wiztools.restclient.ui.IdeaPlugin

     * @param event IDEA action event
     */
    public void actionPerformed(AnActionEvent event)
    {
        ideaEvent = event;
        IdeaPlugin restPlugin = IdeaPlugin.getInstance(event.getData(DataKeys.PROJECT));
        popup.show(restPlugin.getPluginPanel(), 31, getVerticalLocation());
    }
View Full Code Here

Examples of org.wiztools.restclient.ui.IdeaPlugin

     *
     * @param event Popup menu click event
     */
    public void actionPerformed(ActionEvent event)
    {
        IdeaPlugin plugin = IdeaPlugin.getInstance(ideaEvent.getData(DataKeys.PROJECT));

        if (event.getActionCommand().equals(IdeaPlugin.ACTION_CLEAR_RESPONSE))
        {
            plugin.clearResponse();
        }
        else if (event.getActionCommand().equals(IdeaPlugin.ACTION_RESET_ALL))
        {
            plugin.resetAll();
        }
        else if (event.getActionCommand().equals(IdeaPlugin.ACTION_RESET_TO_LAST))
        {
            plugin.resetToLast();
        }
    }
View Full Code Here

Examples of org.wiztools.restclient.ui.IdeaPlugin

     *
     * @param event Popup menu click event
     */
    public void actionPerformed(ActionEvent event)
    {
        IdeaPlugin plugin = IdeaPlugin.getInstance(ideaEvent.getData(DataKeys.PROJECT));

        if (event.getActionCommand().equals(IdeaPlugin.ACTION_PASSWORD_ENCODER_DECODER))
        {
            plugin.passwordEncodeDecode();
        }
        else if (event.getActionCommand().equals(IdeaPlugin.ACTION_START_TRACE_SERVER))
        {
            plugin.startTraceServer();
        }
        else if (event.getActionCommand().equals(IdeaPlugin.ACTION_STOP_TRACE_SERVER))
        {
            plugin.stopTraceServer();
        }
        else if (event.getActionCommand().equals(IdeaPlugin.ACTION_INSERT_TRACE_URL))
        {
            plugin.insertTraceServerUrl();
        }
        else if (event.getActionCommand().equals(IdeaPlugin.METHOD_OPTIONS))
        {
            plugin.options(event);
        }
    }
View Full Code Here

Examples of org.wiztools.restclient.ui.IdeaPlugin

     *
     * @param event Popup menu click event
     */
    public void actionPerformed(ActionEvent event)
    {
        IdeaPlugin plugin = IdeaPlugin.getInstance(ideaEvent.getData(DataKeys.PROJECT));

        if (event.getActionCommand().equals(IdeaPlugin.METHOD_ABOUT))
        {
            plugin.showAboutDialog();
        }
        else if (event.getActionCommand().equals(IdeaPlugin.METHOD_ABOUT_PLUGIN))
        {
            plugin.showAboutPluginDialog();
        }
    }
View Full Code Here

Examples of org.wiztools.restclient.ui.IdeaPlugin

     *
     * @param event Popup menu click event
     */
    public void actionPerformed(ActionEvent event)
    {
        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();
        }
        else if (event.getActionCommand().equals(IdeaPlugin.METHOD_OPEN_ARCHIVE))
        {
            plugin.openArchive();
        }
        else if (event.getActionCommand().equals(IdeaPlugin.ACTION_SAVE_REQUEST))
        {
            plugin.saveRequest();
        }
        else if (event.getActionCommand().equals(IdeaPlugin.ACTION_SAVE_RESPONSE))
        {
            plugin.saveResponse();
        }
        else if (event.getActionCommand().equals(IdeaPlugin.ACTION_SAVE_RESPONSE_BODY))
        {
            plugin.saveResponseBody();
        }
        else if (event.getActionCommand().equals(IdeaPlugin.ACTION_SAVE_REQ_RES_ARCHIVE))
        {
            plugin.saveReqResArchive();
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.