Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.intro.config
Class IntroURLFactory

java.lang.Object
  extended by 
org.eclipse.ui.intro.config.IntroURLFactory

public final class IntroURLFactory
extends Object

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.

Since:
3.0
See Also:
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

createIntroURL

public static 
IIntroURL createIntroURL(
String url)
Parses the given string, and returns an IntroURL if the string is a valid Intro URL. Returns null in all other cases. Example usage:
 StringBuffer url = new StringBuffer();
 url.append("https://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();
 }
 

Parameters:
url - the url to construct an IntroURL from
Returns:
an IntroURL, or null if the url is invalid

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire