This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 162822
Collapse All | Expand All

(-)a/autoupdate.ui/src/org/netbeans/modules/autoupdate/ui/UnitTab.java (-1 / +14 lines)
Lines 95-100 Link Here
95
import javax.swing.table.DefaultTableCellRenderer;
95
import javax.swing.table.DefaultTableCellRenderer;
96
import javax.swing.table.TableModel;
96
import javax.swing.table.TableModel;
97
import org.netbeans.api.autoupdate.OperationContainer.OperationInfo;
97
import org.netbeans.api.autoupdate.OperationContainer.OperationInfo;
98
import org.netbeans.api.autoupdate.UpdateManager;
98
import org.netbeans.api.autoupdate.UpdateUnit;
99
import org.netbeans.api.autoupdate.UpdateUnit;
99
import org.netbeans.api.autoupdate.UpdateUnitProvider.CATEGORY;
100
import org.netbeans.api.autoupdate.UpdateUnitProvider.CATEGORY;
100
import org.netbeans.api.progress.ProgressHandle;
101
import org.netbeans.api.progress.ProgressHandle;
Lines 1288-1294 Link Here
1288
                
1289
                
1289
        @Override
1290
        @Override
1290
        protected boolean isVisible (Unit u) {
1291
        protected boolean isVisible (Unit u) {
1291
              return super.isVisible (u);
1292
            if (u.getRelevantElement().getUpdateUnit().getType() == UpdateManager.TYPE.FEATURE) {
1293
                return false;
1294
            }
1295
            return super.isVisible (u);
1292
        }
1296
        }
1293
    }
1297
    }
1294
    
1298
    
Lines 1421-1426 Link Here
1421
                
1425
                
1422
        @Override
1426
        @Override
1423
        protected boolean isVisible (Unit u) {
1427
        protected boolean isVisible (Unit u) {
1428
            if (u.getRelevantElement().getUpdateUnit().getType() == UpdateManager.TYPE.FEATURE) {
1429
                return false;
1430
            }
1424
            return isEnabled();
1431
            return isEnabled();
1425
        }
1432
        }
1426
    }
1433
    }
Lines 1555-1560 Link Here
1555
        }
1562
        }
1556
        @Override
1563
        @Override
1557
        protected boolean isVisible (Unit u) {
1564
        protected boolean isVisible (Unit u) {
1565
            if (u.getRelevantElement().getUpdateUnit().getType() == UpdateManager.TYPE.FEATURE) {
1566
                return false;
1567
            }
1558
            return isEnabled();
1568
            return isEnabled();
1559
        }
1569
        }
1560
    }
1570
    }
Lines 1597-1602 Link Here
1597
        
1607
        
1598
        @Override
1608
        @Override
1599
        protected boolean isVisible (Unit u) {
1609
        protected boolean isVisible (Unit u) {
1610
            if (u.getRelevantElement().getUpdateUnit().getType() == UpdateManager.TYPE.FEATURE) {
1611
                return false;
1612
            }
1600
            return super.isVisible(u);
1613
            return super.isVisible(u);
1601
        }
1614
        }
1602
        
1615
        

Return to bug 162822