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
importClass(Packages.plugins.adufour.workbooks.Workbooks) | |
importClass(Packages.plugins.adufour.workbooks.IcySpreadSheet) | |
importClass(Packages.java.awt.Color) | |
// Create an empty workbook | |
wb = Workbooks.createEmptyWorkbook(); | |
// Get a (possibly new) sheet | |
sheet = Workbooks.getSheet(wb, "Test"); |
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
// Some import statements you might need (in case you hate auto-imports ;)) | |
import org.apache.poi.ss.usermodel.Workbook; // NOTE: this comes from Apache POI | |
import plugins.adufour.workbooks.Workbooks; | |
import plugins.adufour.workbooks.IcySpreadSheet; | |
/** | |
* A test to make sure the plug-in works as intended. Also useful as a sample code | |
*/ | |
public static void test() | |
{ |
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
package plugins.adufour.blocks.lang; | |
import plugins.adufour.blocks.util.VarList; | |
/** | |
* Interface indicating that implementing classes can be used in a block programming context | |
* | |
* @see WorkFlow | |
* | |
* @author Alexandre Dufour |
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
package plugins.adufour.tutorial; | |
import icy.gui.frame.progress.AnnounceFrame; | |
import plugins.adufour.ezplug.*; | |
/** | |
* Tutorial on how to use the EzPlug library to write plugins fast and efficiently | |
* | |
* @author Alexandre Dufour |
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
package plugins.adufour.tests; | |
import javax.vecmath.Vector2f; | |
import plugins.adufour.ezplug.EzLabel; | |
import plugins.adufour.ezplug.EzPlug; | |
import plugins.adufour.ezplug.EzStoppable; | |
import plugins.adufour.multitouch.MultiTouchProvider; | |
import plugins.adufour.multitouch.TwoFingersListener; |