use of com.servoy.j2db.IFormManager in project servoy-client by Servoy.
the class CmdInvertRecords method doIt.
/*
* _____________________________________________________________ The methods below override methods from superclass AbstractCmd
*/
@Override
public UndoableEdit doIt(java.util.EventObject ae) {
try {
// $NON-NLS-1$
application.blockGUI(application.getI18NMessage("servoy.menuitem.invertRecords.status.text"));
IFormManager fm = application.getFormManager();
IForm dm = fm.getCurrentForm();
dm.invertRecords();
} finally {
application.releaseGUI();
}
return null;
}
use of com.servoy.j2db.IFormManager in project servoy-client by Servoy.
the class CmdNewRecord method doIt.
/*
* _____________________________________________________________ The methods below override methods from superclass AbstractCmd
*/
@Override
public UndoableEdit doIt(java.util.EventObject ae) {
try {
// $NON-NLS-1$
application.blockGUI(application.getI18NMessage("servoy.menuitem.newRecord.status.text"));
IFormManager fm = application.getFormManager();
IForm dm = fm.getCurrentForm();
if (dm != null) {
dm.newRecord();
}
} finally {
application.releaseGUI();
}
return null;
}
use of com.servoy.j2db.IFormManager in project servoy-client by Servoy.
the class CmdNextRecord method doIt.
@Override
public UndoableEdit doIt(java.util.EventObject ae) {
IFormManager fm = application.getFormManager();
final FormController fp = (FormController) fm.getCurrentForm();
fp.selectNextRecord();
return null;
}
use of com.servoy.j2db.IFormManager in project servoy-client by Servoy.
the class CmdOmitRecord method doIt.
/*
* _____________________________________________________________ The methods below override methods from superclass AbstractCmd
*/
@Override
public UndoableEdit doIt(java.util.EventObject ae) {
try {
// $NON-NLS-1$
application.blockGUI(application.getI18NMessage("servoy.menuitem.omitRecord.status.text"));
IFormManager fm = application.getFormManager();
IForm dm = fm.getCurrentForm();
dm.omitRecord();
} finally {
application.releaseGUI();
}
return null;
}
use of com.servoy.j2db.IFormManager in project servoy-client by Servoy.
the class CmdDeleteAllRecord method doIt.
/*
* _____________________________________________________________ The methods below override methods from superclass AbstractCmd
*/
@Override
public UndoableEdit doIt(java.util.EventObject ae) {
try {
// $NON-NLS-1$
application.blockGUI(application.getI18NMessage("servoy.menuitem.deleteAll.status.text"));
IFormManager fm = application.getFormManager();
IForm dm = fm.getCurrentForm();
dm.deleteAllRecords();
} finally {
application.releaseGUI();
}
return null;
}
Aggregations