-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove intellij-stuff
- Loading branch information
Showing
25 changed files
with
154 additions
and
193 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
dependencybuildr.analyzr/.settings/org.eclipse.jdt.core.prefs
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
dependencybuildr.analyzr/.settings/org.eclipse.m2e.core.prefs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> | ||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5"> | ||
<output url="file://$MODULE_DIR$/target/classes" /> | ||
<output-test url="file://$MODULE_DIR$/target/test-classes" /> | ||
<content url="file://$MODULE_DIR$"> | ||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> | ||
<excludeFolder url="file://$MODULE_DIR$/target" /> | ||
</content> | ||
<orderEntry type="inheritedJdk" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
<orderEntry type="library" exported="" name="com.jgoodies:jgoodies-forms:1.9.0" level="project" /> | ||
<orderEntry type="library" name="Maven: com.jgoodies:jgoodies-forms:1.9.0" level="project" /> | ||
<orderEntry type="library" name="Maven: com.jgoodies:jgoodies-common:1.8.1" level="project" /> | ||
</component> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,30 @@ | ||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>me.fschaupp</groupId> | ||
<artifactId>dependencybuildr</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
<name>Dependency Buildr</name> | ||
<packaging>pom</packaging> | ||
<modules> | ||
<module>dependencybuildr.analyzr</module> | ||
<module>dependencybuildr.gui</module> | ||
</modules> | ||
<url>https://github.com/fschaupp/DependencyBuildr</url> | ||
<scm> | ||
<url>https://github.com/fschaupp/DependencyBuildr</url> | ||
<developerConnection>Florian Schaupp</developerConnection> | ||
<tag>Maven</tag> | ||
</scm> | ||
<issueManagement> | ||
<system>Github</system> | ||
<url>https://github.com/fschaupp/DependencyBuildr/issues</url> | ||
</issueManagement> | ||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>me.fschaupp</groupId> | ||
<artifactId>dependencybuildr</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
<name>DependencyBuildr</name> | ||
<packaging>jar</packaging> | ||
<url>https://github.com/fschaupp/DependencyBuildr</url> | ||
<scm> | ||
<url>https://github.com/fschaupp/DependencyBuildr</url> | ||
<developerConnection>Florian Schaupp</developerConnection> | ||
<tag>Maven</tag> | ||
</scm> | ||
<issueManagement> | ||
<system>Github</system> | ||
<url>https://github.com/fschaupp/DependencyBuildr/issues</url> | ||
</issueManagement> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.jgoodies</groupId> | ||
<artifactId>jgoodies-forms</artifactId> | ||
<version>1.9.0</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package me.fschaupp.dependencybuildr; | ||
|
||
import java.awt.Color; | ||
import java.awt.Dimension; | ||
|
||
public final class Constants { | ||
public static final String TITLE = "DependencyBuildr"; | ||
public static final Dimension WINDOW_SIZE = Utils.dimensionOf(600, 400); | ||
public static final Color BACKGROUND_COLOR = new Color(0x2f2f2f); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
package me.fschaupp.dependencybuildr; | ||
|
||
import me.fschaupp.dependencybuildr.gui.GUI; | ||
|
||
public class Main { | ||
|
||
public static void main(String[] args) { | ||
private static GUI gui; | ||
|
||
public static void main(String[] args) { | ||
gui = new GUI(); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package me.fschaupp.dependencybuildr; | ||
|
||
import java.awt.Dimension; | ||
|
||
public interface Utils { | ||
|
||
public static Dimension dimensionOf(int width, int height) { | ||
return new Dimension(width, height); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package me.fschaupp.dependencybuildr.analyzr; | ||
|
||
public class Analyzr { | ||
|
||
public Analyzr() { | ||
|
||
} | ||
|
||
} |
23 changes: 23 additions & 0 deletions
23
src/me/fschaupp/dependencybuildr/analyzr/Dependencies.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package me.fschaupp.dependencybuildr.analyzr; | ||
|
||
import java.util.HashMap; | ||
import java.util.List; | ||
import java.util.Map; | ||
import java.util.Set; | ||
|
||
public class Dependencies { | ||
private final Dependencies INSTANCE = new Dependencies(); | ||
|
||
private List<Dependency> dependencies; | ||
private Map<String, DependencyBuilder> dependencyBuilder = new HashMap<String, DependencyBuilder>(); | ||
|
||
public Dependencies getInstance() { | ||
return INSTANCE; | ||
} | ||
|
||
public void registerBuilder(String builderName, DependencyBuilder builder) { | ||
if (!dependencyBuilder.containsKey(builderName)) { | ||
dependencyBuilder.put(builderName, builder); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package me.fschaupp.dependencybuildr.analyzr; | ||
|
||
public interface Dependency { | ||
} |
4 changes: 4 additions & 0 deletions
4
src/me/fschaupp/dependencybuildr/analyzr/DependencyBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package me.fschaupp.dependencybuildr.analyzr; | ||
|
||
public interface DependencyBuilder { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package me.fschaupp.dependencybuildr.gui; | ||
|
||
import javax.swing.JButton; | ||
import javax.swing.JFileChooser; | ||
import javax.swing.JFrame; | ||
import javax.swing.JTextField; | ||
|
||
import me.fschaupp.dependencybuildr.Constants; | ||
import me.fschaupp.dependencybuildr.Utils; | ||
|
||
public class GUI extends JFrame implements Utils { | ||
|
||
private JTextField path; | ||
private JButton browse; | ||
private JFileChooser projectChooser; | ||
|
||
public GUI() { | ||
setTitle(Constants.TITLE); | ||
setSize(Constants.WINDOW_SIZE); | ||
setLocationRelativeTo(null); | ||
setBackground(Constants.BACKGROUND_COLOR); | ||
|
||
createUI(); | ||
|
||
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); | ||
setVisible(true); | ||
} | ||
|
||
private void createUI() { | ||
path = new JTextField(); | ||
browse = new JButton("..."); | ||
projectChooser = new JFileChooser(); | ||
|
||
|
||
|
||
} | ||
} |