|
IBM Rational Software Modeler Release 6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The IArtifactDescriptorFactory interface provides a mechanism
to create objects that implement the IArtifactDescriptor.
These objects can then be inserted into the
IArtifactDescriptorManager that is responsible for managing
all artifact descriptors used by RAS. This interface is not intended to be
implemented by clients.
| Method Summary | |
IArtifactDescriptor |
createDescriptor(String theID,
String theType,
boolean isEditable)
Constructs an ArtifactDescriptorImpl setting the artifact
resource type to ArtifactResourceTypeEnum.FILE by default. |
IArtifactDescriptor |
createDescriptor(String theID,
String theType,
boolean isEditable,
ArtifactResourceTypeEnum theResourceType)
Constructs an IArtifactDescriptor requiring all properties
to be supplied by the client. |
| Method Detail |
public IArtifactDescriptor createDescriptor(String theID,
String theType,
boolean isEditable,
ArtifactResourceTypeEnum theResourceType)
throws IllegalArgumentException
IArtifactDescriptor requiring all properties
to be supplied by the client.
theID - the id representing ArtifactDescriptorImpltheType - the Artifact type for the
ArtifactDescriptorImplisEditable - indicates if the ArtifactDescriptorImpl should
be editabletheResourceType - the ArtifactResourceTypeEnum representing the
physical resource type of the artifact.
IllegalArgumentException - if any of the Object type parameters are
null or if any String parameter
is empty.
public IArtifactDescriptor createDescriptor(String theID,
String theType,
boolean isEditable)
throws IllegalArgumentException
ArtifactDescriptorImpl setting the artifact
resource type to ArtifactResourceTypeEnum.FILE by default.
theID - the id representing ArtifactDescriptorImpltheType - the Artifact type for the
ArtifactDescriptorImplisEditable - indicates if the ArtifactDescriptorImpl should
be editable
IllegalArgumentException - if any of the Object type parameters are
null or if a String parameter
is empty.
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.