Skip to content
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/bin/
**/target/
11 changes: 11 additions & 0 deletions EclipseRunner/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>eclipserunnerplugin</groupId>
<artifactId>parent</artifactId>
<version>1.3.2-SNAPSHOT</version>
</parent>
<artifactId>EclipseRunner</artifactId>
<packaging>eclipse-plugin</packaging>
</project>
12 changes: 12 additions & 0 deletions EclipseRunner/src/com/eclipserunner/views/impl/RunnerView.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
import org.eclipse.swt.dnd.DND;
import org.eclipse.swt.dnd.FileTransfer;
import org.eclipse.swt.dnd.Transfer;
import org.eclipse.swt.events.KeyAdapter;
import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.events.KeyListener;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Menu;
Expand Down Expand Up @@ -164,6 +167,14 @@ public void treeCollapsed(TreeExpansionEvent event) {
}
}
});
viewer.getTree().addKeyListener(new KeyAdapter() {
@Override
public void keyPressed(KeyEvent ke) {
if (ke.character == SWT.DEL) {
removeAction.run();
}
}
});
// we're cooperative and also provide our selection
getSite().setSelectionProvider(viewer);
updateExpansion();
Expand Down Expand Up @@ -427,6 +438,7 @@ private void setupMenuItems(IMenuManager manager) {
manager.add(addNewCategoryAction);
manager.add(new Separator());
manager.add(renameAction);
removeAction.setAccelerator(SWT.DEL);
manager.add(removeAction);
if( launchNode != null) {
manager.add(new Separator());
Expand Down
11 changes: 11 additions & 0 deletions EclipseRunnerFeature/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>eclipserunnerplugin</groupId>
<artifactId>parent</artifactId>
<version>1.3.2-SNAPSHOT</version>
</parent>
<artifactId>EclipseRunnerFeature</artifactId>
<packaging>eclipse-feature</packaging>
</project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/EclipseRunnerFeature_1.3.2.201409131937.jar" id="EclipseRunnerFeature" version="1.3.2.201409131937">
<feature id="EclipseRunnerFeature">
<category name="EclipseRunner"/>
</feature>
<category-def name="EclipseRunner" label="EclipseRunner"/>
Expand Down
11 changes: 11 additions & 0 deletions EclipseRunnerRepository/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>eclipserunnerplugin</groupId>
<artifactId>parent</artifactId>
<version>1.3.2-SNAPSHOT</version>
</parent>
<artifactId>EclipseRunnerSite</artifactId>
<packaging>eclipse-repository</packaging>
</project>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
17 changes: 0 additions & 17 deletions EclipseRunnerSite/.project

This file was deleted.

Binary file removed EclipseRunnerSite/artifacts.jar
Binary file not shown.
Binary file removed EclipseRunnerSite/content.jar
Binary file not shown.
Binary file not shown.
117 changes: 117 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>eclipserunnerplugin</groupId>
<artifactId>parent</artifactId>
<version>1.3.2-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>EclipseRunner</module>
<module>EclipseRunnerFeature</module>
<module>EclipseRunnerRepository</module>
</modules>
<properties>
<tycho-version>0.24.0</tycho-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>2.3.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.10.19</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>pl.pragmatists</groupId>
<artifactId>JUnitParams</artifactId>
<version>1.0.4</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<testSourceDirectory>${project.basedir}/test</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-versions-plugin</artifactId>
<version>${tycho-version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<environments>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.4</version>
<executions>
<execution>
<id>test</id>
<phase>test</phase>
<configuration>
<includes>
<include>**/*Test.java</include>
</includes>
</configuration>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
<executions>
<execution>
<id>compiletests</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>neon</id>
<url>http://download.eclipse.org/releases/neon</url>
<layout>p2</layout>
</repository>
</repositories>
</project>