OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 181 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 181 Rev 183
Line 32... Line 32...
32
import org.openconcerto.sql.element.SQLElementDirectory;
32
import org.openconcerto.sql.element.SQLElementDirectory;
33
import org.openconcerto.sql.model.SQLRowValues;
33
import org.openconcerto.sql.model.SQLRowValues;
34
import org.openconcerto.sql.utils.SQLCreateTable;
34
import org.openconcerto.sql.utils.SQLCreateTable;
35
import org.openconcerto.sql.view.list.IListe;
35
import org.openconcerto.sql.view.list.IListe;
36
import org.openconcerto.sql.view.list.RowAction;
36
import org.openconcerto.sql.view.list.RowAction;
-
 
37
import org.openconcerto.sql.view.list.action.ListEvent;
37
import org.openconcerto.ui.FrameUtil;
38
import org.openconcerto.ui.FrameUtil;
38
import org.openconcerto.utils.i18n.TranslationManager;
39
import org.openconcerto.utils.i18n.TranslationManager;
39
 
40
 
40
public final class ModuleOperation extends AbstractModule {
41
public final class ModuleOperation extends AbstractModule {
41
    public static final String OPERATIONS_REPORT_TEMPLATE_ID = "Operations Report";
42
    public static final String OPERATIONS_REPORT_TEMPLATE_ID = "Operations Report";
Line 110... Line 111...
110
                f.setLocationRelativeTo(null);
111
                f.setLocationRelativeTo(null);
111
                FrameUtil.showPacked(f);
112
                FrameUtil.showPacked(f);
112
            }
113
            }
113
        }, true) {
114
        }, true) {
114
            @Override
115
            @Override
115
            public boolean enabledFor(IListeEvent evt) {
116
            public boolean enabledFor(List<SQLRowValues> values) {
116
                return true;
117
                return true;
117
            }
118
            }
118
 
119
 
119
        };
120
        };
120
        // editAction.setPredicate(IListeEvent.getNonEmptySelectionPredicate());
121
        // editAction.setPredicate(IListeEvent.getNonEmptySelectionPredicate());