org.eclipse.update.util
Class FeatureWrap
java.lang.Object
org.eclipse.update.util.FeatureWrap
- All Implemented Interfaces:
- INode
public class FeatureWrap
- extends java.lang.Object
- implements INode
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNKNOWN
public static final int UNKNOWN
- See Also:
- Constant Field Values
RESOLVED
public static final int RESOLVED
- See Also:
- Constant Field Values
NO_RESOLVED
public static final int NO_RESOLVED
- See Also:
- Constant Field Values
FeatureWrap
public FeatureWrap()
FeatureWrap
public FeatureWrap(ISiteFeatureReference featureReference)
isSelected
public boolean isSelected()
- Specified by:
isSelected
in interface INode
setSelected
public void setSelected(boolean selected)
- Specified by:
setSelected
in interface INode
getUiObjects
public java.util.Vector getUiObjects()
addUiObject
public void addUiObject(java.lang.Object uiObject)
getShowedName
public java.lang.String getShowedName()
findByUiObject
public INode findByUiObject(java.lang.Object uiObject)
- Specified by:
findByUiObject
in interface INode
isFeatureReady
public boolean isFeatureReady()
downloadFeature
public boolean downloadFeature(IProgressMonitor monitor)
getFeatureIncludeSize
public long getFeatureIncludeSize()
- Returns the total size in KiloBytes of this feature and its included
feature(s). The size is the sum of the download size and install size.
- Returns:
- the total size of the feature and the included feature(s)
getFeatureSize
public long getFeatureSize()
- Returns the size in KiloBytes of this feature. Only the value for this
feature self and no the included feature(s). The size is the sum of
the download size and install size.
- Returns:
- the total size of the feature and the included feature(s)
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface INode
getLicense
public java.lang.String getLicense()
getFeature
public IFeature getFeature()
releaseFeature
public void releaseFeature()
isPreviousSelected
public boolean isPreviousSelected()
- Specified by:
isPreviousSelected
in interface INode
setPreviousSelected
public void setPreviousSelected(boolean previousSelected)
- Specified by:
setPreviousSelected
in interface INode
getResolvedStatus
public int getResolvedStatus()
setResolvedStatus
public void setResolvedStatus(int resolvedStatus)
getVID
public VersionedIdentifier getVID()