}
}
private void checkVisibility(DRLRuleEditor2 editor,
boolean enabled) {
ZoomInAction2 zoomIn = (ZoomInAction2) editor.getAdapter( ZoomInAction2.class );
ZoomOutAction2 zoomOut = (ZoomOutAction2) editor.getAdapter( ZoomOutAction2.class );
ZoomComboContributionItem zitem = (ZoomComboContributionItem) editor.getAdapter( ZoomComboContributionItem.class );
assertEquals( enabled,
zoomIn.isEnabled() );
assertEquals( enabled,
zoomOut.isEnabled() );
assertEquals( enabled,
zitem.getZoomManager() != null );