KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*******************************************************************************
2  * Copyright (c) 2005 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 package org.eclipse.ui.internal.intro.impl.model;
12
13 import org.osgi.framework.Bundle;
14 import org.w3c.dom.Element JavaDoc;
15
16
17 /**
18  * An Intro IFrame element that has been injected at runtime to embed a url. It
19  * is placed as the only child of a target div to display the content of a url.
20  * The URL can be any valid URL.
21  */

22 public class IntroInjectedIFrame extends AbstractIntroIdElement {
23
24     private String JavaDoc url;
25
26     IntroInjectedIFrame(Element JavaDoc element, Bundle bundle) {
27         super(element, bundle);
28     }
29
30     public void setIFrameURL(String JavaDoc url) {
31         this.url = url;
32     }
33
34     public String JavaDoc getIFrameURL() {
35         return this.url;
36     }
37
38
39     public int getType() {
40         return AbstractIntroElement.INJECTED_IFRAME;
41     }
42
43
44 }
45
Popular Tags