no message
This commit is contained in:
@@ -11,10 +11,13 @@ public abstract class EditObjectPass<D extends DBObject> extends ObjectPass<D> {
|
||||
public String getIconPath() {
|
||||
return "/Common/icons/Edit.png";
|
||||
}
|
||||
protected boolean fillObjectFields() throws Exception {
|
||||
return getTable().getUI().ShowEditObjectDialog(target);
|
||||
}
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
target = (D) getTable().getUI().getCurrent();
|
||||
return getTable().getUI().CheckCurrent(Log) && getTable().getUI().ShowEditObjectDialog(target);
|
||||
return getTable().getUI().CheckCurrent(Log) && fillObjectFields();
|
||||
}
|
||||
@Override
|
||||
protected void body() throws Exception {
|
||||
@@ -28,4 +31,4 @@ public abstract class EditObjectPass<D extends DBObject> extends ObjectPass<D> {
|
||||
getDb().getTable(dep).getUI().RedrawControl();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user