Custom Tool

Hi,

I recently stumbled upon the Mangler tool and decided to create one of my own.
I've been playing around with it and tested initially on processing.
While I was able to get the tool to work on processing, it gave me an error when I tried to use it on Arduino.
After further digging, it seems the pde.jar distributed with Arduino does not offer me the Base class - processing.app.Base - http://processing.googlecode.com/svn/trunk/processing/build/javadoc/everything/processing/app/Base.html
I was trying to get the base by using this line:
editor.getBase().handleOpenReplace(editor.getBase().getSketchbookFolder().getPath() + "/Test/Test.ino");
Is it correct or there is another way to get access the Base class?

Thank you,
RI