Skip to content
This repository has been archived by the owner on Mar 15, 2023. It is now read-only.

Commit

Permalink
Added ability to drop files and refactored some code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob van Mourik committed Apr 9, 2016
1 parent b450718 commit 2854cd8
Show file tree
Hide file tree
Showing 51 changed files with 277 additions and 207 deletions.
5 changes: 0 additions & 5 deletions .settings/org.eclipse.jdt.core.prefs

This file was deleted.

4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
language: java
install: mvn compile
install: cd parent && mvn install && cd ../editor && mvn compile
jdk:
- oraclejdk8
- oraclejdk8
File renamed without changes.
File renamed without changes.
13 changes: 13 additions & 0 deletions editor/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.8
35 changes: 14 additions & 21 deletions pom.xml → editor/pom.xml
Original file line number Diff line number Diff line change
@@ -1,38 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>com.jvms</groupId>
<parent>
<groupId>com.jvms</groupId>
<artifactId>i18n-editor-parent</artifactId>
<version>0.4.0</version>
<relativePath>../parent</relativePath>
</parent>
<artifactId>i18n-editor</artifactId>
<version>0.3.1</version>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.4</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>18.0</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<groupId>net.iharder</groupId>
<artifactId>dnd</artifactId>
<version>1.1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
Expand Down Expand Up @@ -77,14 +78,6 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @author Jacob
*/
public class AddTranslationMenuItem extends JMenuItem {
private static final long serialVersionUID = -2673278052970076105L;
private final static long serialVersionUID = -2673278052970076105L;

public AddTranslationMenuItem(Editor editor, boolean enabled) {
super(MessageBundle.get("menu.edit.add.translation.title"), MessageBundle.getMnemonic("menu.edit.add.translation.vk"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @author Jacob
*/
public class CollapseTranslationsMenuItem extends JMenuItem {
private static final long serialVersionUID = 7885728865417192564L;
private final static long serialVersionUID = 7885728865417192564L;

public CollapseTranslationsMenuItem(TranslationTree tree) {
super(MessageBundle.get("menu.view.collapse.title"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @author Jacob
*/
public class DuplicateTranslationMenuItem extends JMenuItem {
private static final long serialVersionUID = 5207946396515235714L;
private final static long serialVersionUID = 5207946396515235714L;

public DuplicateTranslationMenuItem(Editor editor, boolean enabled) {
super(MessageBundle.get("menu.edit.duplicate.title"));
Expand Down
Loading

0 comments on commit 2854cd8

Please sign in to comment.