tabbedPane.removeAll();
MasterView[] masterViews = activeModule.getViews();
for (int i = 0; i < masterViews.length; i++) {
View view = masterViews[i].getCurrent();
view.activate();
if (view.getType() == View._TYPE_INSERT && !SecurityCentre.getInstance().getUser().isEditingAllowed(view.getModule()))
continue;
tabbedPane.addTab(view.getTitle(), view.getIcon(), view);