Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe

Commits:

1 changed file:

Changes:

  • client/datasource/editor/api/src/main/java/fr/ird/observe/client/datasource/editor/api/content/actions/open/ContentOpen.java
    ... ... @@ -179,6 +179,8 @@ public class ContentOpen<U extends ContentUI> {
    179 179
             if (contentEditExecutor != null) {
    
    180 180
                 contentEditExecutor.doEditOnOpen(ui);
    
    181 181
             }
    
    182
    +        //FIXME:Action We got ComboBox actions here... Side effecrt JaxxComboBox :(
    
    183
    +        ui.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).setParent(null);
    
    182 184
         }
    
    183 185
     
    
    184 186
         public boolean doClose() {
    
    ... ... @@ -487,6 +489,14 @@ public class ContentOpen<U extends ContentUI> {
    487 489
                 tableUI.stopEdit();
    
    488 490
             }
    
    489 491
         }
    
    492
    +//
    
    493
    +//    public final void doRead() {
    
    494
    +//        ui.getInputMap(1).setParent(null);
    
    495
    +////        for (ContentTableUI<?, ?, ?> tableUI : subUiMap.keySet()) {
    
    496
    +////            tableUI.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).setParent(ui.getInputMap(1));
    
    497
    +////            tableUI.getModel().getStates().setMode(ContentMode.READ);
    
    498
    +////        }
    
    499
    +//    }
    
    490 500
     
    
    491 501
         public final void selectFirstTab() {
    
    492 502
             selectTab(0);