Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2018-05-14 14:31:02 +0000
committerMickael Istria2018-05-14 14:31:49 +0000
commitd73dc5fedae76d644f247aebb88ceb1f80f39830 (patch)
tree7d3b3208b913a0a7f719e12201e1a663cbd13c27
parent6b3953d06060ccb691c9daecdcb60705a0215215 (diff)
downloadeclipse.platform.ui-d73dc5fedae76d644f247aebb88ceb1f80f39830.tar.gz
eclipse.platform.ui-d73dc5fedae76d644f247aebb88ceb1f80f39830.tar.xz
eclipse.platform.ui-d73dc5fedae76d644f247aebb88ceb1f80f39830.zip
Bug 534338 - GVT48: Truncation in Content Type preference page
Change-Id: Icc233b869ea5de4322783c08fb8962203577455d Signed-off-by: Mickael Istria <mistria@redhat.com>
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ContentTypesPreferencePage.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ContentTypesPreferencePage.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ContentTypesPreferencePage.java
index 83bffcfbda9..4938f0b0a2a 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ContentTypesPreferencePage.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ContentTypesPreferencePage.java
@@ -663,8 +663,8 @@ public class ContentTypesPreferencePage extends PreferencePage implements
buttonsComposite.setLayoutData(new GridData(SWT.DEFAULT, SWT.TOP, false, false));
buttonsComposite.setLayout(new GridLayout(1, false));
Button addRootContentTypeButton = new Button(buttonsComposite, SWT.PUSH);
- setButtonLayoutData(addRootContentTypeButton);
addRootContentTypeButton.setText(WorkbenchMessages.ContentTypes_addRootContentTypeButton);
+ setButtonLayoutData(addRootContentTypeButton);
addRootContentTypeButton.addSelectionListener(widgetSelectedAdapter(e -> {
String id = "userCreated" + System.currentTimeMillis(); //$NON-NLS-1$
IContentTypeManager manager = (IContentTypeManager) contentTypesViewer.getInput();
@@ -682,8 +682,8 @@ public class ContentTypesPreferencePage extends PreferencePage implements
}
}));
addChildContentTypeButton = new Button(buttonsComposite, SWT.PUSH);
- setButtonLayoutData(addChildContentTypeButton);
addChildContentTypeButton.setText(WorkbenchMessages.ContentTypes_addChildContentTypeButton);
+ setButtonLayoutData(addChildContentTypeButton);
addChildContentTypeButton.addSelectionListener(widgetSelectedAdapter(e -> {
String id = "userCreated" + System.currentTimeMillis(); //$NON-NLS-1$
IContentTypeManager manager = (IContentTypeManager) contentTypesViewer.getInput();
@@ -703,8 +703,8 @@ public class ContentTypesPreferencePage extends PreferencePage implements
}));
addChildContentTypeButton.setEnabled(getSelectedContentType() != null);
removeContentTypeButton = new Button(buttonsComposite, SWT.PUSH);
- setButtonLayoutData(removeContentTypeButton);
removeContentTypeButton.setText(WorkbenchMessages.ContentTypes_removeContentTypeButton);
+ setButtonLayoutData(removeContentTypeButton);
removeContentTypeButton.addSelectionListener(widgetSelectedAdapter(e -> {
IContentType selectedContentType = getSelectedContentType();
try {

Back to the top