diff options
Diffstat (limited to 'plugins/org.eclipse.eef.properties.ui/src/org/eclipse/eef/properties/ui/internal/page/propertylist/EEFTabbedPropertyList.java')
-rw-r--r-- | plugins/org.eclipse.eef.properties.ui/src/org/eclipse/eef/properties/ui/internal/page/propertylist/EEFTabbedPropertyList.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.eef.properties.ui/src/org/eclipse/eef/properties/ui/internal/page/propertylist/EEFTabbedPropertyList.java b/plugins/org.eclipse.eef.properties.ui/src/org/eclipse/eef/properties/ui/internal/page/propertylist/EEFTabbedPropertyList.java index 76ff54d12..2de6a5073 100644 --- a/plugins/org.eclipse.eef.properties.ui/src/org/eclipse/eef/properties/ui/internal/page/propertylist/EEFTabbedPropertyList.java +++ b/plugins/org.eclipse.eef.properties.ui/src/org/eclipse/eef/properties/ui/internal/page/propertylist/EEFTabbedPropertyList.java @@ -20,6 +20,7 @@ import java.util.Map; import org.eclipse.eef.common.ui.api.EEFWidgetFactory; import org.eclipse.eef.properties.ui.api.IEEFTabItem; +import org.eclipse.eef.properties.ui.internal.Messages; import org.eclipse.jface.resource.JFaceResources; import org.eclipse.swt.SWT; import org.eclipse.swt.accessibility.ACC; @@ -46,8 +47,8 @@ import org.eclipse.swt.widgets.Listener; * @author Anthony Hunter * @author Stephane Begaudeau */ -public class EEFTabbedPropertyList extends Composite { +public class EEFTabbedPropertyList extends Composite { /** * This constant is used to indicate NONE (for example the index of the currently selected tab). */ @@ -409,7 +410,7 @@ public class EEFTabbedPropertyList extends Composite { public Point computeSize(int wHint, int hHint, boolean changed) { Point result = super.computeSize(hHint, wHint, changed); if (widestLabelIndex == -1) { - String propertiesNotAvailable = "Properties not available"; //$NON-NLS-1$ + String propertiesNotAvailable = Messages.EEFTabbedPropertyList_propertiesNotAvailable; result.x = getTextDimension(propertiesNotAvailable).x + INDENT; } else { /* |