01: /*******************************************************************************
02: * Copyright (c) 2004, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.internal.intro.impl.model;
11:
12: import org.osgi.framework.Bundle;
13: import org.w3c.dom.Element;
14:
15: /**
16: * An intro anchor. An anchor is the only valid target for a config extension.
17: */
18: public class IntroAnchor extends AbstractIntroIdElement {
19:
20: protected static final String TAG_ANCHOR = "anchor"; //$NON-NLS-1$
21:
22: /**
23: * @param element
24: */
25: IntroAnchor(Element element, Bundle bundle) {
26: super (element, bundle);
27: }
28:
29: /*
30: * (non-Javadoc)
31: *
32: * @see org.eclipse.ui.internal.intro.impl.model.IntroElement#getType()
33: */
34: public int getType() {
35: return AbstractIntroElement.ANCHOR;
36: }
37:
38: }
|