|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.intro.config.IntroURLFactory
Factory class used to create instances of an Intro URL. Instances of intro URLs need to be created if you need to programatically construct and execute a valid Intro URL.
This class provides all its functionality via static members. It is not intended to be instantiated.
IIntroURL
Method Summary | |
static IIntroURL |
createIntroURL(String url)
Parses the given string, and returns an IntroURL if the string is a valid Intro URL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static IIntroURL createIntroURL(String url)
StringBuffer url = new StringBuffer(); url.append("http://org.eclipse.ui.intro/showStandby?"); url.append("pluginId=org.eclipse.pde.ui"); url.append("&"); url.append("partId=org.eclipse.pde.ui.sampleStandbyPart"); url.append("&"); url.append("input="); url.append(sampleId); IIntroURL introURL = IntroURLFactory.createIntroURL(url.toString()); if (introURL != null) { introURL.execute(); }
url
- the url to construct an IntroURL from
null
if the url is invalid
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.