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 60feb6a0
authored
Jul 09, 2017
by
Jessica Hawkwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Started working on the IPA Helper
1 parent
63c12f4a
Pipeline
#190
passed
in 17 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
0 deletions
plugins/ipa-helper/src/main/java/me/felinewith/lang_toolkit/plugins/ipa_helper/IPAHelper.java
plugins/ipa-helper/src/main/java/me/felinewith/lang_toolkit/plugins/ipa_helper/util/IPAHelperListener.java
pom.xml
plugins/ipa-helper/src/main/java/me/felinewith/lang_toolkit/plugins/ipa_helper/IPAHelper.java
0 → 100644
View file @
60feb6a
package
me
.
felinewith
.
lang_toolkit
.
plugins
.
ipa_helper
;
import
java.net.URL
;
import
javax.swing.ImageIcon
;
import
javax.swing.JButton
;
import
me.felinewith.lang_toolkit.library.IStrappedPlugin
;
/**
*
* @author jlhawkwell
*/
public
class
IPAHelper
extends
IStrappedPlugin
{
@Override
public
void
init
()
{
URL
location
=
IPAHelper
.
class
.
getResource
(
"/org/freedesktop/tango/22x22/apps/internet-group-chat.png"
);
ImageIcon
icon
=
new
ImageIcon
(
location
);
jButton
=
new
JButton
(
icon
);
jButton
.
setName
(
getName
());
jButton
.
setToolTipText
(
getDisplayName
());
}
@Override
public
String
getName
()
{
return
"IPAHelper"
;
}
@Override
public
String
getDisplayName
()
{
return
"IPA Helper"
;
}
}
plugins/ipa-helper/src/main/java/me/felinewith/lang_toolkit/plugins/ipa_helper/util/IPAHelperListener.java
0 → 100644
View file @
60feb6a
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package
me
.
felinewith
.
lang_toolkit
.
plugins
.
ipa_helper
.
util
;
import
me.felinewith.lang_toolkit.library.actions.ActionHandle
;
import
me.felinewith.lang_toolkit.library.actions.UnifiedListener
;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.Logger
;
/**
*
* @author jlhawkwell
*/
public
class
IPAHelperListener
extends
UnifiedListener
{
@Override
public
void
handleEvent
(
ActionHandle
action
)
{
Logger
log
=
LogManager
.
getLogger
();
log
.
debug
(
"IPAHelperListener"
,
action
);
}
}
pom.xml
View file @
60feb6a
...
...
@@ -79,6 +79,8 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
<module>
apps/bootstrap
</module>
<module>
apps/langbuilder
</module>
<module>
plugins/ipa-helper
</module>
</modules>
<organization>
...
...
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