Skip to content

Commit

Permalink
Added support for tool window, removed alternative file editor as red…
Browse files Browse the repository at this point in the history
…undand
  • Loading branch information
esteinberg committed May 20, 2012
1 parent 54ee8e2 commit bbe93a3
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 284 deletions.
4 changes: 2 additions & 2 deletions META-INF/plugin.xml
Expand Up @@ -17,7 +17,7 @@
</actions>

<extensions defaultExtensionNs="com.intellij">
<toolWindow id="PlantUML" icon="/org/plantuml/idea/uml.gif" anchor="right" factoryClass="org.plantuml.idea.PlantUmlToolWindowFactory"/>
<fileEditorProvider implementation="org.plantuml.idea.PlantUmlFileEditorProvider"/>
<toolWindow id="PlantUML" icon="/org/plantuml/idea/toolwindow/uml.gif" anchor="right" factoryClass="org.plantuml.idea.toolwindow.PlantUmlToolWindowFactory"/>
<fileEditorProvider implementation="org.plantuml.idea.editor.PlantUmlFileEditorProvider"/>
</extensions>
</idea-plugin>
192 changes: 0 additions & 192 deletions src/org/plantuml/idea/editor/PlantUmlFileEditorImpl.java

This file was deleted.

59 changes: 0 additions & 59 deletions src/org/plantuml/idea/editor/PlantUmlFileEditorProvider.java

This file was deleted.

15 changes: 0 additions & 15 deletions src/org/plantuml/idea/messaging/RenderingNotifier.java

This file was deleted.

6 changes: 3 additions & 3 deletions src/org/plantuml/idea/plantuml/PlantUml.java
Expand Up @@ -10,10 +10,10 @@
import java.io.InputStream;

/**
* User: eugene
* Date: 5/13/12
* Time: 9:19 PM
*
* @author Eugene Steinberg
*/

public class PlantUml {

public static final String STARTUML = "@startuml";
Expand Down
6 changes: 3 additions & 3 deletions src/org/plantuml/idea/plantuml/PlantUmlResult.java
Expand Up @@ -3,10 +3,10 @@
import java.awt.image.BufferedImage;

/**
* User: eugene
* Date: 5/13/12
* Time: 9:22 PM
*
* @author Eugene Steinberg
*/

public class PlantUmlResult {
private BufferedImage diagram;
private String description;
Expand Down
Expand Up @@ -15,10 +15,10 @@
import java.awt.image.BufferedImage;

/**
* User: eugene
* Date: 5/5/12
* Time: 4:03 PM
*
* @author Eugene Steinberg
*/

public class PlantUmlToolWindowFactory implements ToolWindowFactory {
private ToolWindow toolWindow;
private JPanel mainPanel;
Expand Down
11 changes: 4 additions & 7 deletions src/org/plantuml/idea/util/LazyApplicationPoolExecutor.java
Expand Up @@ -7,17 +7,14 @@
import java.util.concurrent.Future;
import java.util.concurrent.atomic.AtomicBoolean;

/**
* User: eugene
* Date: 5/15/12
* Time: 10:01 PM
*/

/**
* LazyApplicationPoolExecutor runs submitted Runnable asynchronously in separate thread if at least
* <strong>period</strong> milliseconds passed since last submission
* <strong>period</strong> milliseconds passed since last submission
*
* @author Eugene Steinberg
*/


public class LazyApplicationPoolExecutor implements Executor {
Future<?> commandFuture;
AtomicBoolean isExecutionRequested = new AtomicBoolean(false);
Expand Down

0 comments on commit bbe93a3

Please sign in to comment.