KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > internal > intro > impl > model > IntroAnchor


1 /*******************************************************************************
2  * Copyright (c) 2004, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11
12 package org.eclipse.ui.internal.intro.impl.model;
13
14 import org.osgi.framework.Bundle;
15 import org.w3c.dom.Element JavaDoc;
16
17 /**
18  * An intro anchor. An anchor is the only valid target for a config extension.
19  */

20 public class IntroAnchor extends AbstractIntroIdElement {
21
22     protected static final String JavaDoc TAG_ANCHOR = "anchor"; //$NON-NLS-1$
23

24     /**
25      * @param element
26      */

27     IntroAnchor(Element JavaDoc element, Bundle bundle) {
28         super(element, bundle);
29     }
30
31     /*
32      * (non-Javadoc)
33      *
34      * @see org.eclipse.ui.internal.intro.impl.model.IntroElement#getType()
35      */

36     public int getType() {
37         return AbstractIntroElement.ANCHOR;
38     }
39
40
41 }
42
Popular Tags