|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.core.runtime.PlatformObject | +--org.eclipse.update.core.model.ModelObject | +--org.eclipse.update.core.model.URLEntryModel
Annotated URL model object.
This class may be instantiated or subclassed by clients. However, in most cases clients should instead instantiate or subclass the provided concrete implementation of this model.
URLEntry
Constructor Summary | |
URLEntryModel()
Creates a uninitialized annotated URL model object. |
Method Summary | |
String |
getAnnotation()
Returns the url annotation. |
String |
getAnnotationNonLocalized()
returns the non-localized url annotation. |
int |
getType()
Returns the specified type. |
URL |
getURL()
Returns the resolved URL. |
String |
getURLString()
Returns the unresolved url string. |
void |
resolve(URL base,
URL bundleURL)
Resolve the model object. |
void |
setAnnotation(String annotation)
Sets the annotation. |
void |
setType(int i)
Method setType. |
void |
setURLString(String urlString)
Sets the url string Throws a runtime exception if this object is marked read-only. |
Methods inherited from class org.eclipse.update.core.model.ModelObject |
arrayTypeFor, arrayTypeFor, assertIsWriteable, getPropertyName, getResourceBundle, isReadOnly, markListReferenceReadOnly, markReadOnly, markReferenceReadOnly, resolveListReference, resolveNLString, resolveReference, resolveURL |
Methods inherited from class org.eclipse.core.runtime.PlatformObject |
getAdapter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public URLEntryModel()
Method Detail |
public String getAnnotation()
null
.public String getAnnotationNonLocalized()
null
.public String getURLString()
null
public URL getURL()
null
public void setAnnotation(String annotation)
annotation
- annotationpublic void setURLString(String urlString)
url
- url stringpublic void resolve(URL base, URL bundleURL) throws MalformedURLException
resolve
in class ModelObject
base
- URLbundle
- resource bundleMalformedURLException
- public int getType()
public void setType(int i)
i
-
|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |