|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Site factory interface. A site factory is used to construct new instances of concrete sites.
Clients may implement this interface. However, in most cases clients should directly instantiate or subclass the provided implementation of this interface.
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
BaseSiteFactory
Method Summary | |
---|---|
ISite |
createSite(URL url)
Returns a site defined by the supplied URL. |
Method Detail |
public ISite createSite(URL url) throws CoreException, InvalidSiteTypeException
The actual interpretation of the URL is site-type specific. In most cases the URL will point to some site-specific file that can be used (directly or indirectly) to construct the site object.
url
- URL interpreted by the site
CoreException
InvalidSiteTypeException
- the referenced site type is
not a supported type for this factory
|
Eclipse Platform Release 3.1 |
|||||||||||
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, 2005. All rights reserved.