File size: 819 Bytes
233f6d4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | Clazz.declarePackage ("JSV.app");
Clazz.load (["JSV.app.JSVApp", "J.api.JSVInterface"], "JSV.app.JSVAppPro", null, function () {
c$ = Clazz.declareType (JSV.app, "JSVAppPro", JSV.app.JSVApp, J.api.JSVInterface);
Clazz.overrideMethod (c$, "isSigned",
function () {
return true;
});
Clazz.overrideMethod (c$, "isPro",
function () {
return true;
});
Clazz.overrideMethod (c$, "exitJSpecView",
function (withDialog, frame) {
this.appletFrame.doExitJmol ();
}, "~B,~O");
Clazz.overrideMethod (c$, "siProcessCommand",
function (script) {
this.appletFrame.getApp ().runScriptNow (script);
}, "~S");
Clazz.overrideMethod (c$, "saveProperties",
function (properties) {
}, "java.util.Properties");
Clazz.overrideMethod (c$, "setProperties",
function (properties) {
}, "java.util.Properties");
});
|