new String[] {
"org.jamesii.menu.main/org.jamesii.file/org.jamesii.open/model.open/model.open.recent",
"org.jamesii.toolbar.main/org.jamesii.open/model.open/model.open.recent" },
null) {
private ActionListener action = new OpenModelAction(
new IFactoryParameterDialog<ModelReaderFactory>() {
@Override
public Pair<ParameterBlock, ModelReaderFactory> getFactoryParameter(
Window parentWindow) {
return new Pair<>(new ParameterBlock(uri,
IURIHandling.URI),
// FIXME sr137: add factory here
null);
}
@Override
public String getMenuDescription() {
return s;
}
});
@Override
public void execute() {
action.actionPerformed(null);
}
});
} catch (URISyntaxException e) {
SimSystem.report(e);
}