Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.update.core.model
Class CategoryModel


java.lang.Object
  extended by 

org.eclipse.core.runtime.PlatformObject
      extended by 

org.eclipse.update.core.model.ModelObject
          extended by 
org.eclipse.update.core.model.CategoryModel
All Implemented Interfaces:
IAdaptable
Direct Known Subclasses:
Category

Deprecated. The org.eclipse.update component has been replaced by Equinox p2. This provisional API was never promoted to stable API, and may be removed from a future release of the platform.

public class CategoryModel
extends ModelObject

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.

Since:
2.0
See Also:
Category

Constructor Summary
CategoryModel ()
          Deprecated. Creates an uninitialized model object.
 
Method Summary
 boolean equals ( Object obj)
          Deprecated. Compare two category models for equality.
static  Comparator getComparator ()
          Deprecated. Returns a comparator for category models.
  URLEntryModel getDescriptionModel ()
          Deprecated. Retrieve the detailed category description
  String getLabel ()
          Deprecated. Retrieve the displayable label for the category.
  String getLabelNonLocalized ()
          Deprecated. Retrieve the non-localized displayable label for the category.
  String getName ()
          Deprecated. Retrieve the name of the category.
protected   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 ( URL base, URL bundleURL)
          Deprecated. Resolve the model object.
 void setDescriptionModel ( URLEntryModel description)
          Deprecated. Sets the category description.
 void setLabel ( String label)
          Deprecated. Sets the category displayable label.
 void setName ( 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

CategoryModel

public CategoryModel()
Deprecated. 
Creates an uninitialized model object.

Since:
2.0
Method Detail

getName

public 
String getName()
Deprecated. 
Retrieve the name of the category.

Returns:
category name, or null.
Since:
2.0

getLabel

public 
String getLabel()
Deprecated. 
Retrieve the displayable label for the category. If the model object has been resolved, the label is localized.

Returns:
displayable label, or null.
Since:
2.0

getLabelNonLocalized

public 
String getLabelNonLocalized()
Deprecated. 
Retrieve the non-localized displayable label for the category.

Returns:
non-localized displayable label, or null.
Since:
2.0

getDescriptionModel

public 
URLEntryModel getDescriptionModel()
Deprecated. 
Retrieve the detailed category description

Returns:
category description, or null.
Since:
2.0

setLabel

public void setLabel(
String label)
Deprecated. 
Sets the category displayable label. Throws a runtime exception if this object is marked read-only.

Parameters:
label - displayable label, or resource key
Since:
2.0

setName

public void setName(
String name)
Deprecated. 
Sets the category name. Throws a runtime exception if this object is marked read-only.

Parameters:
name - category name
Since:
2.0

setDescriptionModel

public void setDescriptionModel(
URLEntryModel description)
Deprecated. 
Sets the category description. Throws a runtime exception if this object is marked read-only.

Parameters:
description - category description
Since:
2.0

markReadOnly

public void markReadOnly()
Deprecated. 
Marks the model object as read-only.

Overrides:
markReadOnly in class ModelObject
Since:
2.0
See Also:
ModelObject.isReadOnly()

resolve

public void resolve(
URL base,
                    
URL bundleURL)
             throws 
MalformedURLException
Deprecated. 
Resolve the model object. Any URL strings in the model are resolved relative to the base URL argument. Any translatable strings in the model that are specified as translation keys are localized using the supplied resource bundle.

Overrides:
resolve in class ModelObject
Parameters:
base - URL
bundleURL - resource bundle URL
Throws:
MalformedURLException
Since:
2.0

equals

public boolean equals(
Object obj)
Deprecated. 
Compare two category models for equality.

Overrides:
equals in class Object
Since:
2.0
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Deprecated. 
Compute hash code for category model.

Overrides:
hashCode in class Object
Since:
2.0
See Also:
Object.hashCode()

getComparator

public static 
Comparator getComparator()
Deprecated. 
Returns a comparator for category models.

Returns:
comparator
Since:
2.0

getPropertyName

protected 
String getPropertyName()
Deprecated. 
Description copied from class: ModelObject
Method getPropertyName.

Overrides:
getPropertyName in class ModelObject
Returns:
String
See Also:
ModelObject.getPropertyName()

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire