Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2008-11-21 17:33:11 +0000
committerChris Goldthorpe2008-11-21 17:33:11 +0000
commit311dcdd1fd7441c4642d588bd9968a65b01f1990 (patch)
treec0c50d656971d71e6bf765dfef5ad0dd79f28fc5 /org.eclipse.ui.intro
parent3107fec8439f317added6d91002eed275e879a39 (diff)
downloadeclipse.platform.ua-311dcdd1fd7441c4642d588bd9968a65b01f1990.tar.gz
eclipse.platform.ua-311dcdd1fd7441c4642d588bd9968a65b01f1990.tar.xz
eclipse.platform.ua-311dcdd1fd7441c4642d588bd9968a65b01f1990.zip
Move isRTL() function to org.eclipse.help
Diffstat (limited to 'org.eclipse.ui.intro')
-rw-r--r--org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/html/IntroHTMLGenerator.java4
-rw-r--r--org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroModelRoot.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/html/IntroHTMLGenerator.java b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/html/IntroHTMLGenerator.java
index 7fbcb1007..958d57d9b 100644
--- a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/html/IntroHTMLGenerator.java
+++ b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/html/IntroHTMLGenerator.java
@@ -19,7 +19,7 @@ import java.io.StringWriter;
import java.net.URL;
import org.eclipse.core.runtime.Platform;
-import org.eclipse.help.internal.base.BaseHelpSystem;
+import org.eclipse.help.internal.util.ProductPreferences;
import org.eclipse.ui.internal.intro.impl.FontSelection;
import org.eclipse.ui.internal.intro.impl.IIntroConstants;
import org.eclipse.ui.internal.intro.impl.IntroPlugin;
@@ -423,7 +423,7 @@ public class IntroHTMLGenerator {
*/
private HTMLElement generateIntroLink(IntroLink element, int indentLevel) {
String styleId = element.getStyleId();
- boolean useTable = BaseHelpSystem.isRTL() && "content-link".equals(styleId); //$NON-NLS-1$
+ boolean useTable = ProductPreferences.isRTL() && "content-link".equals(styleId); //$NON-NLS-1$
HTMLElement anchor1 = generateAnchorElement(element, indentLevel);
HTMLElement anchor2 = null;
HTMLElement labelAnchor = anchor1;
diff --git a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroModelRoot.java b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroModelRoot.java
index 5f0b45009..535727d00 100644
--- a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroModelRoot.java
+++ b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroModelRoot.java
@@ -26,7 +26,7 @@ import org.eclipse.core.runtime.Preferences;
import org.eclipse.core.runtime.SafeRunner;
import org.eclipse.help.UAContentFilter;
import org.eclipse.help.internal.UAElementFactory;
-import org.eclipse.help.internal.base.BaseHelpSystem;
+import org.eclipse.help.internal.util.ProductPreferences;
import org.eclipse.jface.util.SafeRunnable;
import org.eclipse.ui.IPropertyListener;
import org.eclipse.ui.internal.intro.impl.FontSelection;
@@ -946,7 +946,7 @@ public class IntroModelRoot extends AbstractIntroContainer {
return FontSelection.getFontStyle();
}
if (variable.equals(VAR_DIRECTION)) {
- if (BaseHelpSystem.isRTL()) {
+ if (ProductPreferences.isRTL()) {
return "rtl"; //$NON-NLS-1$
} else {
return "ltr"; //$NON-NLS-1$

Back to the top