OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

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

Rev 153 Rev 181
Line 60... Line 60...
60
 
60
 
61
        // SQLRequestLog.setEnabled(true);
61
        // SQLRequestLog.setEnabled(true);
62
        // SQLRequestLog.showFrame();
62
        // SQLRequestLog.showFrame();
63
        TemplateManager.getInstance().register(OPERATIONS_REPORT_TEMPLATE_ID);
63
        TemplateManager.getInstance().register(OPERATIONS_REPORT_TEMPLATE_ID);
64
        TemplateManager.getInstance().register(OPERATIONS_REPORT_TEMPLATE2_ID);
64
        TemplateManager.getInstance().register(OPERATIONS_REPORT_TEMPLATE2_ID);
65
        // Translation loading
-
 
66
        TranslationManager.getInstance().addTranslationStreamFromClass(this.getClass());
-
 
67
    }
65
    }
68
 
66
 
69
    @Override
67
    @Override
70
    protected void setupMenu(MenuContext ctxt) {
68
    protected void setupMenu(MenuContext ctxt) {
71
        ctxt.addMenuItem(ctxt.createListAction(TABLE_SITE), "operation");
69
        ctxt.addMenuItem(ctxt.createListAction(TABLE_SITE), "operation");
Line 146... Line 144...
146
            createTableOperation.addVarCharColumn("STATUS", 200);
144
            createTableOperation.addVarCharColumn("STATUS", 200);
147
            createTableOperation.addForeignColumn("CALENDAR_ITEM_GROUP");
145
            createTableOperation.addForeignColumn("CALENDAR_ITEM_GROUP");
148
            createTableOperation.addVarCharColumn("DESCRIPTION", 10000);
146
            createTableOperation.addVarCharColumn("DESCRIPTION", 10000);
149
            createTableOperation.addVarCharColumn("PLANNER_UID", 2048);
147
            createTableOperation.addVarCharColumn("PLANNER_UID", 2048);
150
            createTableOperation.addVarCharColumn("PLANNER_XML", 2048);
148
            createTableOperation.addVarCharColumn("PLANNER_XML", 2048);
-
 
149
 
-
 
150
            ctxt.executeSQL();
-
 
151
            // SQLTable.setUndefID(ctxt.getRoot().getSchema(), TABLE_SITE, null);
-
 
152
            // SQLTable.setUndefID(ctxt.getRoot().getSchema(), TABLE_OPERATION, null);
151
        }
153
        }
152
    }
154
    }
153
 
155
 
154
    static OperationCalendarPanel comp;
156
    static OperationCalendarPanel comp;
155
    static DailyOperationCalendarPanel comp2;
157
    static DailyOperationCalendarPanel comp2;