Skip to main content
summaryrefslogtreecommitdiffstats
blob: 67ed2a0a98c3d00d43d9f702bb01fd8e4329a167 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*******************************************************************************
 * Copyright (c) 2004, 2006 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/

package org.eclipse.ui.internal.intro.impl.model;

import org.osgi.framework.Bundle;
import org.w3c.dom.Element;

/**
 * An intro element that represents a page title.
 */
public class IntroPageTitle extends IntroText {

    protected static final String TAG_TITLE = "title"; //$NON-NLS-1$

    IntroPageTitle(Element element, Bundle bundle) {
        super(element, bundle);
    }

    /**
     * @return Returns the Title text.
     */
    public String getTitle() {
        return getText();
    }

    /*
     * (non-Javadoc)
     * 
     * @see org.eclipse.ui.internal.intro.impl.model.IntroElement#getType()
     */
    public int getType() {
        return AbstractIntroElement.PAGE_TITLE;
    }

}

Back to the top