Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Jessica Hawkwell
/
lang-toolkit
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 63c12f4a
authored
Jul 09, 2017
by
Jessica Hawkwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing a couple small issues
1 parent
0a1d1014
Pipeline
#191
passed
in 2 minutes 26 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
apps/langbuilder/src/main/java/me/felinewith/lang_toolkit/apps/langbuilder/LangBuilder.java
plugins/ipa-helper/pom.xml
apps/langbuilder/src/main/java/me/felinewith/lang_toolkit/apps/langbuilder/LangBuilder.java
View file @
63c12f4
...
...
@@ -20,12 +20,12 @@ import javax.swing.JToolBar;
import
javax.swing.JTree
;
import
javax.swing.UIManager
;
import
javax.swing.UnsupportedLookAndFeelException
;
import
me.felinewith.lang_toolkit.apps.langbuilder.window.WindowUnifiedListener
;
import
me.felinewith.lang_toolkit.library.IStrappedApp
;
import
me.felinewith.lang_toolkit.library.IStrappedPlugin
;
import
me.felinewith.lang_toolkit.library.actions.ListenAttach
;
import
me.felinewith.lang_toolkit.library.helpers.ConfigHelper
;
import
me.felinewith.lang_toolkit.library.helpers.DesktopMenu
;
import
me.felinewith.lang_toolkit.apps.langbuilder.window.WindowUnifiedListener
;
import
org.apache.commons.configuration2.Configuration
;
import
org.apache.commons.configuration2.XMLConfiguration
;
import
org.apache.commons.configuration2.builder.FileBasedConfigurationBuilder
;
...
...
@@ -55,7 +55,7 @@ public final class LangBuilder implements IStrappedApp {
private
Logger
log
;
WindowUnifiedListener
unifiedListener
;
private
WindowUnifiedListener
unifiedListener
;
@Override
public
void
preStart
(
String
[]
argsStrings
)
{
args
=
argsStrings
;
...
...
@@ -144,11 +144,11 @@ public final class LangBuilder implements IStrappedApp {
BoxLayout
bl
=
new
BoxLayout
(
toolBar
,
BoxLayout
.
X_AXIS
);
desktopMenu
=
new
DesktopMenu
(
toolBar
,
unifiedListener
);
desktopMenu
.
addButton
(
"New"
,
"new"
,
null
,
"
16x16
/actions/document-new.png"
);
desktopMenu
.
addButton
(
"Load"
,
"load"
,
null
,
"
16x16
/actions/document-open.png"
);
desktopMenu
.
addButton
(
"Save"
,
"save"
,
null
,
"
16x16
/actions/document-save.png"
);
desktopMenu
.
addButton
(
"Save As"
,
"saveas"
,
null
,
"
16x16
/actions/document-save-as.png"
);
desktopMenu
.
addButton
(
"Exit"
,
"exit"
,
null
,
"
16x16
/actions/system-log-out.png"
);
desktopMenu
.
addButton
(
"New"
,
"new"
,
null
,
"
22x22
/actions/document-new.png"
);
desktopMenu
.
addButton
(
"Load"
,
"load"
,
null
,
"
22x22
/actions/document-open.png"
);
desktopMenu
.
addButton
(
"Save"
,
"save"
,
null
,
"
22x22
/actions/document-save.png"
);
desktopMenu
.
addButton
(
"Save As"
,
"saveas"
,
null
,
"
22x22
/actions/document-save-as.png"
);
desktopMenu
.
addButton
(
"Exit"
,
"exit"
,
null
,
"
22x22
/actions/system-log-out.png"
);
desktopMenu
.
addSeparator
();
URL
u
=
this
.
getClass
().
getResource
(
"/org/freedesktop/tango/16x16/places/user-desktop.png"
);
...
...
plugins/ipa-helper/pom.xml
View file @
63c12f4
...
...
@@ -18,8 +18,12 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
<dependencies>
<dependency>
<groupId>
me.felinewith.lang_toolkit.apps
</groupId>
<artifactId>
bootstrap
</artifactId>
<groupId>
me.felinewith.lang-toolkit.library
</groupId>
<artifactId>
libbootstrap
</artifactId>
</dependency>
<dependency>
<groupId>
me.felinewith.lang-toolkit.library
</groupId>
<artifactId>
liblangbuilder
</artifactId>
</dependency>
</dependencies>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment