Skip to content
This repository was archived by the owner on Feb 7, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

454 changes: 454 additions & 0 deletions .idea/dbnavigator.xml

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions .idea/libraries/restclient_ui_2_3_3_jar_with_dependencies.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 0 additions & 49 deletions META-INF/plugin.xml

This file was deleted.

17 changes: 4 additions & 13 deletions RESTClient-idea-plugin.iml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,10 @@
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/.idea" />
<excludeFolder url="file://$MODULE_DIR$/out" />
</content>
<orderEntry type="jdk" jdkName="IDEA IU-99.32" jdkType="IDEA JDK" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/restclient-ui-2.3.3-jar-with-dependencies.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="library" exported="" name="restclient-ui-2.3.3-jar-with-dependencies" level="project" />
</component>
</module>

</module>
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,18 @@
*/
package com.sourcestream.plugin.idea.restclient;

import com.intellij.openapi.actionSystem.DataKeys;
import org.wiztools.restclient.ui.IdeaPlugin;
import java.awt.event.ActionEvent;

import javax.swing.*;
import java.awt.event.ActionEvent;

import org.wiztools.restclient.ui.IdeaPlugin;

import com.intellij.openapi.actionSystem.DataKeys;

/**
* Handles the edit menu action by displaying a popup menu of edit choices and processing the user's selection.
*/
public class EditMenuAction extends BaseMenuAction
public class EditMenuAction extends com.sourcestream.plugin.idea.restclient.BaseMenuAction
{
private static final int VERTICAL_LOCATION = 25;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,18 @@
*/
package com.sourcestream.plugin.idea.restclient;

import com.intellij.openapi.actionSystem.DataKeys;
import org.wiztools.restclient.ui.IdeaPlugin;
import java.awt.event.ActionEvent;

import javax.swing.*;
import java.awt.event.ActionEvent;

import org.wiztools.restclient.ui.IdeaPlugin;

import com.intellij.openapi.actionSystem.DataKeys;

/**
* Handles the file menu action by displaying a popup menu of file choices and processing the user's selection.
*/
public class FileMenuAction extends BaseMenuAction
public class FileMenuAction extends com.sourcestream.plugin.idea.restclient.BaseMenuAction
{
private static final int VERTICAL_LOCATION = 0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,18 @@
*/
package com.sourcestream.plugin.idea.restclient;

import com.intellij.openapi.actionSystem.DataKeys;
import org.wiztools.restclient.ui.IdeaPlugin;
import java.awt.event.ActionEvent;

import javax.swing.*;
import java.awt.event.ActionEvent;

import org.wiztools.restclient.ui.IdeaPlugin;

import com.intellij.openapi.actionSystem.DataKeys;

/**
* Handles the tools menu action by displaying a popup menu of edit choices and processing the user's selection.
*/
public class HelpMenuAction extends BaseMenuAction
public class HelpMenuAction extends com.sourcestream.plugin.idea.restclient.BaseMenuAction
{
private static final int VERTICAL_LOCATION = 75;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
*/
package com.sourcestream.plugin.idea.restclient;

import java.awt.*;

import javax.swing.*;

import org.jetbrains.annotations.NotNull;

import com.intellij.openapi.actionSystem.ActionGroup;
import com.intellij.openapi.actionSystem.ActionManager;
import com.intellij.openapi.components.ProjectComponent;
Expand All @@ -31,13 +37,9 @@
import com.intellij.openapi.wm.ToolWindow;
import com.intellij.openapi.wm.ToolWindowAnchor;
import com.intellij.openapi.wm.ToolWindowManager;
import com.intellij.peer.PeerFactory;
import com.intellij.ui.content.Content;
import com.intellij.ui.content.ContentFactory;
import org.jetbrains.annotations.NotNull;

import javax.swing.*;
import java.awt.*;
import com.intellij.ui.content.ContentFactoryImpl;

/**
* Base class for the RESTClient IDEA plugin. This class implements the functions that do not require direct access to
Expand Down Expand Up @@ -105,7 +107,7 @@ public void projectOpened()
ToolWindow toolWindow = toolWindowManager.registerToolWindow(TOOL_WINDOW_ID, false, ToolWindowAnchor.BOTTOM);

pluginPanel = createPluginPanel();
ContentFactory contentFactory = PeerFactory.getInstance().getContentFactory();
ContentFactory contentFactory = ContentFactoryImpl.SERVICE.getInstance();
Content content = contentFactory.createContent(pluginPanel, "", false);

toolWindow.getContentManager().addContent(content);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,19 @@
*/
package com.sourcestream.plugin.idea.restclient;

import com.intellij.openapi.actionSystem.DataKeys;
import java.awt.event.ActionEvent;

import javax.swing.*;

import org.wiztools.restclient.server.TraceServer;
import org.wiztools.restclient.ui.IdeaPlugin;

import javax.swing.*;
import java.awt.event.ActionEvent;
import com.intellij.openapi.actionSystem.DataKeys;

/**
* Handles the tools menu action by displaying a popup menu of edit choices and processing the user's selection.
*/
public class ToolsMenuAction extends BaseMenuAction
public class ToolsMenuAction extends com.sourcestream.plugin.idea.restclient.BaseMenuAction
{
private static final int VERTICAL_LOCATION = 50;

Expand Down
9 changes: 4 additions & 5 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
request/response tracing, test scripts, and Base64 password encoding/decoding.
]]>
</description>
<version>1.1</version>
<version>1.2.1</version>
<category>Network</category>
<vendor url="http://www.sourcestream.com" email="drcallaway@gmail.com" logo="icons/logo.png">Dustin R. Callaway</vendor>
<idea-version since-build="8000" until-build=""/>
Expand Down Expand Up @@ -40,10 +40,9 @@
</actions>
<change-notes>
<![CDATA[
<p>Version 1.0
<ul><li>Initial Release</li></ul></p>
<p>Version 1.1
<ul><li>Updated to work with IntelliJ IDEA 11.0</li></p>
<p>Version 1.0<ul><li>Initial Release</li></ul></p>
<p>Version 1.1<ul><li>Updated to work with IntelliJ IDEA 11.0</li></ul></p>
<p>Version 1.2.1<ul><li>Updated to work with IntelliJ IDEA 2017/2018</li></ul></p>
]]>
</change-notes>
</idea-plugin>