|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.update.core.model.ModelObject
org.eclipse.update.core.model.CategoryModel
public class CategoryModel
Feature category definition 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.
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.
Category| Constructor Summary | |
|---|---|
CategoryModel()
Deprecated. Creates an uninitialized model object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Deprecated. Compare two category models for equality. |
static java.util.Comparator |
getComparator()
Deprecated. Returns a comparator for category models. |
URLEntryModel |
getDescriptionModel()
Deprecated. Retrieve the detailed category description |
java.lang.String |
getLabel()
Deprecated. Retrieve the displayable label for the category. |
java.lang.String |
getLabelNonLocalized()
Deprecated. Retrieve the non-localized displayable label for the category. |
java.lang.String |
getName()
Deprecated. Retrieve the name of the category. |
protected java.lang.String |
getPropertyName()
Deprecated. Method getPropertyName. |
int |
hashCode()
Deprecated. Compute hash code for category model. |
void |
markReadOnly()
Deprecated. Marks the model object as read-only. |
void |
resolve(java.net.URL base,
java.net.URL bundleURL)
Deprecated. Resolve the model object. |
void |
setDescriptionModel(URLEntryModel description)
Deprecated. Sets the category description. |
void |
setLabel(java.lang.String label)
Deprecated. Sets the category displayable label. |
void |
setName(java.lang.String name)
Deprecated. Sets the category name. |
| Methods inherited from class org.eclipse.update.core.model.ModelObject |
|---|
arrayTypeFor, arrayTypeFor, assertIsWriteable, getResourceBundle, isReadOnly, markListReferenceReadOnly, markReferenceReadOnly, resolveListReference, resolveNLString, resolveReference, resolveURL |
| Methods inherited from class org.eclipse.core.runtime.PlatformObject |
|---|
getAdapter |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CategoryModel()
| Method Detail |
|---|
public java.lang.String getName()
null.public java.lang.String getLabel()
null.public java.lang.String getLabelNonLocalized()
null.public URLEntryModel getDescriptionModel()
null.public void setLabel(java.lang.String label)
label - displayable label, or resource keypublic void setName(java.lang.String name)
name - category namepublic void setDescriptionModel(URLEntryModel description)
description - category descriptionpublic void markReadOnly()
markReadOnly in class ModelObjectModelObject.isReadOnly()
public void resolve(java.net.URL base,
java.net.URL bundleURL)
throws java.net.MalformedURLException
resolve in class ModelObjectbase - URLbundleURL - resource bundle URL
java.net.MalformedURLExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public static java.util.Comparator getComparator()
protected java.lang.String getPropertyName()
ModelObject
getPropertyName in class ModelObjectModelObject.getPropertyName()
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.