Difference between revisions of "Beanshell:Opening a project"
Jump to navigation
Jump to search
(Created page with 'This script opens an existing project. { // Script for opening an existing project // uses the open(...) method of the OpenProjectWizard // cchris 2008/05/06 import com.vi…') |
(No difference)
|
Latest revision as of 01:03, 12 October 2009
This script opens an existing project.
{
// Script for opening an existing project
// uses the open(...) method of the OpenProjectWizard
// cchris 2008/05/06
import com.vividsolutions.jump.task.DummyTaskMonitor;
import org.openjump.core.ui.plugin.file.open.OpenProjectWizard;
projFile = new File("D:/Temp/OpenJump/project1.jmp");
taskMon = new DummyTaskMonitor();
opw = new OpenProjectWizard(wc);
opw.open(projFile, taskMon);
}