public interface IPluginEntry extends IPlatformEnvironment, IAdaptable
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.
PluginEntry
,
FeatureContentProvider
Modifier and Type | Method and Description |
---|---|
long |
getDownloadSize()
Returns the download size of the entry, if it can be determined.
|
long |
getInstallSize()
Returns the install size of the feature, if it can be determined.
|
VersionedIdentifier |
getVersionedIdentifier()
Returns the identifier of this plugin entry
|
boolean |
isFragment()
Returns an indication whethyer this entry represents a fragment.
|
void |
setVersionedIdentifier(VersionedIdentifier identifier)
Sets the identifier of this plugin entry.
|
getNL, getOS, getOSArch, getWS
getAdapter
VersionedIdentifier getVersionedIdentifier()
boolean isFragment()
true
if the entry represents a plug-in fragment,
false
if the entry represents a plug-inlong getDownloadSize()
ContentEntryModel.UNKNOWN_SIZE
long getInstallSize()
ContentEntryModel.UNKNOWN_SIZE
void setVersionedIdentifier(VersionedIdentifier identifier)
identifier
- plugin entry identifierGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.