taweili / ardublock

ArduBlock is a Block Programming Language for Arduino.
GNU General Public License v3.0
413 stars 292 forks source link

creating an import button in ardublock #187

Open techno94 opened 5 years ago

techno94 commented 5 years ago

Hello everybody,

i'm wondering how to make an import button in ardublock for me it's an open button without reset of the workspace.

so i've take a look in the file : https://github.com/taweili/ardublock/blob/master/src/main/java/com/ardublock/core/Context.java

and find : workspaceController.loadProjectFromPath(saveFilePath);

did you have any idea of what i can write to load the file without reset should i change something in openblock ?

Thanks a lot