org.netbeans.spi.project.support
public final class LookupProviderSupport extends Object
LookupProvider
instances.Modifier and Type | Method and Description |
---|---|
static Lookup |
createCompositeLookup(Lookup baseLookup,
String folderPath)
Creates a project lookup instance that combines the content from multiple sources.
|
static LookupMerger<Sources> |
createSourcesMerger()
Factory method for creating
LookupMerger instance that merges
Sources instances in the project lookup. |
public static Lookup createCompositeLookup(Lookup baseLookup, String folderPath)
baseLookup
- initial, base content of the project lookup created by the project ownerfolderPath
- the path in the System Filesystem that is used as root for lookup composition, as for Lookups.forPath(java.lang.String)
.
The content of the folder is assumed to be LookupProvider
instances.public static LookupMerger<Sources> createSourcesMerger()
LookupMerger
instance that merges
Sources
instances in the project lookup.
Allows to compose the Sources
content from multiple sources.Built on March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.