add getFolder() method to Mode

This commit is contained in:
Ben Fry
2014-08-01 12:31:21 -04:00
parent 362e79a5d4
commit aa44a9b9a7
2 changed files with 15 additions and 0 deletions

View File

@@ -274,6 +274,15 @@ public abstract class Mode {
//abstract public Editor createEditor(Base base, String path, int[] location);
/**
* Get the folder where this mode is stored.
* @since 3.0a3
*/
public File getFolder() {
return folder;
}
public File getExamplesFolder() {
return examplesFolder;
}

View File

@@ -32,6 +32,12 @@ X prevent adding files to read-only sketches
X https://github.com/processing/processing/issues/2459
X https://github.com/processing/processing/pull/2697
high
_ export application ubuntu -> windows not working (2.2.1)
_ https://github.com/processing/processing/issues/2698
pending
_ look at the sound library https://github.com/wirsing/ProcessingSound
_ sound is not yet supported on Windows