Search in sources :

Example 16 with IFormManager

use of com.servoy.j2db.IFormManager in project servoy-client by Servoy.

the class CmdFindAll 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.showAll.status.text"));
        IFormManager fm = application.getFormManager();
        IForm dm = fm.getCurrentForm();
        if (dm != null)
            dm.loadAllRecords();
    } finally {
        application.releaseGUI();
    }
    return null;
}
Also used : IFormManager(com.servoy.j2db.IFormManager) IForm(com.servoy.j2db.IForm)

Example 17 with IFormManager

use of com.servoy.j2db.IFormManager in project servoy-client by Servoy.

the class CmdFindMode method doIt.

@Override
public UndoableEdit doIt(java.util.EventObject ae) {
    IFormManager fm = application.getFormManager();
    IForm dm = fm.getCurrentForm();
    if (dm != null)
        dm.find();
    return null;
}
Also used : IFormManager(com.servoy.j2db.IFormManager) IForm(com.servoy.j2db.IForm)

Aggregations

IFormManager (com.servoy.j2db.IFormManager)17 IForm (com.servoy.j2db.IForm)14 FormManager (com.servoy.j2db.FormManager)3 FormController (com.servoy.j2db.FormController)2 GraphicsDevice (java.awt.GraphicsDevice)1