Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroInclude.java')
-rw-r--r--org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroInclude.java78
1 files changed, 39 insertions, 39 deletions
diff --git a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroInclude.java b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroInclude.java
index 1535ca08b..151a849e3 100644
--- a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroInclude.java
+++ b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroInclude.java
@@ -22,52 +22,52 @@ import org.w3c.dom.Element;
*/
public class IntroInclude extends AbstractIntroElement {
- protected static final String TAG_INCLUDE = "include"; //$NON-NLS-1$
+ protected static final String TAG_INCLUDE = "include"; //$NON-NLS-1$
- private static final String ATT_CONFIG_ID = "configId"; //$NON-NLS-1$
- protected static final String ATT_PATH = "path"; //$NON-NLS-1$
- /**
- * boolean attribute, default is false.
- */
- private static final String ATT_MERGE_STYLE = "merge-style"; //$NON-NLS-1$
+ private static final String ATT_CONFIG_ID = "configId"; //$NON-NLS-1$
+ protected static final String ATT_PATH = "path"; //$NON-NLS-1$
+ /**
+ * boolean attribute, default is false.
+ */
+ private static final String ATT_MERGE_STYLE = "merge-style"; //$NON-NLS-1$
- private String configId;
- private String path;
- private boolean mergeStyle = false;
+ private String configId;
+ private String path;
+ private boolean mergeStyle = false;
- IntroInclude(Element element, Bundle bundle) {
- super(element, bundle);
- configId = getAttribute(element, ATT_CONFIG_ID);
- path = getAttribute(element, ATT_PATH);
- String mergeStyleString = getAttribute(element, ATT_MERGE_STYLE);
- mergeStyle = (mergeStyleString != null && mergeStyleString
- .equalsIgnoreCase("true")) ? true : false; //$NON-NLS-1$
- }
+ IntroInclude(Element element, Bundle bundle) {
+ super(element, bundle);
+ configId = getAttribute(element, ATT_CONFIG_ID);
+ path = getAttribute(element, ATT_PATH);
+ String mergeStyleString = getAttribute(element, ATT_MERGE_STYLE);
+ mergeStyle = (mergeStyleString != null && mergeStyleString
+ .equalsIgnoreCase("true")) ? true : false; //$NON-NLS-1$
+ }
- /**
- * @return Returns the configId.
- */
- public String getConfigId() {
- return configId;
- }
+ /**
+ * @return Returns the configId.
+ */
+ public String getConfigId() {
+ return configId;
+ }
- /**
- * @return Returns the mergeStyle.
- */
- public boolean getMergeStyle() {
- return mergeStyle;
- }
+ /**
+ * @return Returns the mergeStyle.
+ */
+ public boolean getMergeStyle() {
+ return mergeStyle;
+ }
- /**
- * @return Returns the path.
- */
- public String getPath() {
- return path;
- }
+ /**
+ * @return Returns the path.
+ */
+ public String getPath() {
+ return path;
+ }
- @Override
+ @Override
public int getType() {
- return AbstractIntroElement.INCLUDE;
- }
+ return AbstractIntroElement.INCLUDE;
+ }
}

Back to the top