public final class IntroURLFactory extends Object
This class provides all its functionality via static members. It is not intended to be instantiated.
IIntroURL
Modifier and Type | Method and Description |
---|---|
static IIntroURL |
createIntroURL(String url)
Parses the given string, and returns an IntroURL if the string is a valid
Intro URL.
|
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 fromnull
if the url is invalid
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.