public abstract class DeviceResourceDescriptor extends Object
Note: It is recommended that subclasses implement
#hashCode, so that clients, like decoration managers, can recognize when they have
two equal descriptors at hand, e.g. decorating an identical object.
|Constructor and Description|
|Modifier and Type||Method and Description|
Creates the resource described by this descriptor
Undoes everything that was done by a previous call to create(...), given the object that was returned by create(...).
device- the Device on which to allocate the resource
DeviceResourceException- if unable to allocate the resource
public abstract void destroyResource(Object previouslyCreatedObject)
previouslyCreatedObject- an object that was returned by an equal descriptor in a previous call to createResource(...).
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.