Commit 60feb6a0 by Jessica Hawkwell

Started working on the IPA Helper

1 parent 63c12f4a
Pipeline #190 passed
in 17 seconds
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"; }
}
/*
* 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);
}
}
......@@ -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>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!