|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IISeriesProjectPropertiesFactory
iSeries Properties Model Factory.
Hides properties model complexity. The generate and load model methods should
know what to create when a resource is passed. The resource can be either an
IProject or an IFolder, or an IFile.
Clients are not expected to implement this interface.
Field Summary | |
---|---|
static String |
Copyright
|
Method Summary | |
---|---|
IISeriesPropertiesModel |
createPropertiesModel(IFile file)
Instantiates and returns an IISeriesPropertiesModel
depending on whether the file represents either a save file or a source
member. |
IISeriesPropertiesModel |
createPropertiesModel(IFolder folder)
Instantiates and returns an ISeriesPropertiesModel for the
IFolder. |
IISeriesPropertiesModel |
generatePropertyModel(IFile ifile,
IProgressMonitor monitor,
Hashtable properties)
Saves both Shared and Local properties for the AbstractiSeriesNativeMember associated with this IFile. |
IISeriesPropertiesModel |
generatePropertyModel(IFolder ifolder,
IProgressMonitor monitor,
Hashtable properties)
Saves both Shared and Local properties for the AbstractiSeriesNativeObject associated with this folder. It generates a .properties file for shared properties. And it saves local properties as persistent properties in the IResource. |
IISeriesPropertiesModel |
generatePropertyModel(IProject iproject,
IProgressMonitor monitor,
Hashtable properties)
Saves both Shared and Local properties for the AbstractiSeriesProject associated with this project. It generates a .*_properties file for shared properties. And it saves local properties as persistent properties in the IResource. |
IFile |
getPropertiesFilePath(IResource resource,
int resourceType)
Gets the corresponding handle for the properties file associated with file according to its type. |
boolean |
hasSrcpfProperties(IFolder folder)
Is there a persisted properties model for the given IResource |
IISeriesPropertiesModel |
loadPropertyModel(IFile ifile,
IProgressMonitor monitor)
Creates an instance of IISeriesMemberPropertiesModel which has already loaded both Shared and Local properties for the AbstractiSeriesNativeMember associated with this IFile. |
IISeriesPropertiesModel |
loadPropertyModel(IFolder ifolder,
IProgressMonitor monitor)
Creates an instance of IISeriesPropertiesModel which has already loaded both Shared and Local properties for the the AbstractiSeriesNativeObject associated with this folder. |
IISeriesPropertiesModel |
loadPropertyModel(IProject iproject,
IProgressMonitor monitor)
Creates an instance of IISeriesPropertiesModel which has already loaded both Shared and Local properties for the AbstractiSeriesProject associated with this project. |
Field Detail |
---|
static final String Copyright
Method Detail |
---|
IISeriesPropertiesModel createPropertiesModel(IFile file)
IISeriesPropertiesModel
depending on whether the file represents either a save file or a source
member.
Does not populate the properties model with properties and does not save the properties model.
file
- the IFile
that this property model is based on.
file
.IISeriesPropertiesModel createPropertiesModel(IFolder folder)
ISeriesPropertiesModel
for the
IFolder. Does not populate the properties model with properties and does not
save the properties model.
folder
- the IFolder
that this property model is based on.
folder
.IISeriesPropertiesModel generatePropertyModel(IProject iproject, IProgressMonitor monitor, Hashtable properties)
IISeriesPropertiesModel loadPropertyModel(IProject iproject, IProgressMonitor monitor)
IISeriesPropertiesModel generatePropertyModel(IFolder ifolder, IProgressMonitor monitor, Hashtable properties)
IISeriesPropertiesModel loadPropertyModel(IFolder ifolder, IProgressMonitor monitor)
IISeriesPropertiesModel generatePropertyModel(IFile ifile, IProgressMonitor monitor, Hashtable properties)
IISeriesPropertiesModel loadPropertyModel(IFile ifile, IProgressMonitor monitor)
boolean hasSrcpfProperties(IFolder folder)
folder
- - the IResource
for which we want to see if there is
and associated i Project properties model
IFile getPropertiesFilePath(IResource resource, int resourceType)
file
according to its type. This
is a handle operation, thus the IFile returned may or may not
exist.
resource
- The IResource
that the return properties file is describing.resourceType
- int constant indicating which subclass of AbstractISeriesResource type.
Will be one of:
AbstractISeriesResource.NATIVE_MEMBER
AbstractISeriesResource.NATIVE_OBJECT
AbstractISeriesResource.PROJECT
file
.
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |