return myPatch.edit();
return getSelectedPatch().edit();
    public JSLFrame editSelectedPatch() {        if (table.getSelectedRowCount() == 0) {            ErrorMsg.reportError("Error",                    "No Patch Selected. EditAction must be disabled.");            return null;        }        IPatch myPatch = myModel.getPatchAt(table.getSelectedRow());        changed = true;        return myPatch.edit();    }