diff options
author | Christian W. Damus | 2013-10-26 17:35:53 +0000 |
---|---|---|
committer | Christian W. Damus | 2013-10-26 17:35:53 +0000 |
commit | bba430df46b3a203c3cf9313ee73fad0c56371cd (patch) | |
tree | b3b98b8f099b38fa0cae1f1b0375ea62156b4942 | |
parent | 7fa8bfe7a289b071bcf0f5eafe584489d3ca69da (diff) | |
download | cdo-bba430df46b3a203c3cf9313ee73fad0c56371cd.tar.gz cdo-bba430df46b3a203c3cf9313ee73fad0c56371cd.tar.xz cdo-bba430df46b3a203c3cf9313ee73fad0c56371cd.zip |
[418452] [Security] Simplified security model editor
https://bugs.eclipse.org/bugs/show_bug.cgi?id=418452
Suppress page tabs because we have only one page.
-rw-r--r-- | plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/editor/CDOSecurityFormEditor.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/editor/CDOSecurityFormEditor.java b/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/editor/CDOSecurityFormEditor.java index efdc7b558c..15df2e1773 100644 --- a/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/editor/CDOSecurityFormEditor.java +++ b/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/editor/CDOSecurityFormEditor.java @@ -35,6 +35,7 @@ import org.eclipse.emf.edit.provider.resource.ResourceItemProviderAdapterFactory import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; +import org.eclipse.swt.custom.CTabFolder; import org.eclipse.swt.widgets.Display; import org.eclipse.ui.IActionBars; import org.eclipse.ui.IEditorInput; @@ -75,6 +76,9 @@ public class CDOSecurityFormEditor extends FormEditor implements IEditingDomainP { try { + // Don't show tabs because we have only the one + ((CTabFolder)getContainer()).setTabHeight(0); + mainPage = new CDOSecurityPage(this); addPage(mainPage); } |