home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgLangD.iso
/
VCAFE.3.0A
/
Main.bin
/
PropertyInstanceGetter.java
< prev
next >
Wrap
Text File
|
1998-10-25
|
1KB
|
35 lines
/*
* Copyright 1998 Symantec Corporation, All Rights Reserved.
*/
package com.symantec.itools.vcafe.openapi;
/**
* The API used to get an Object Reference Property instance that correpsonds to the specified
* <code>VisualProperty</code> of the given <code>VisualObject</code>.
* If a plug-in is instantiating (via <code>VisualObject.instantiate</code>) a <code>VisualObject</code>
* that has <code>VisualProperties</code> that are designated as Object Reference Properties, the
* plug-in should provide an instance of <code>PropertyInstanceGetter</code> which returns the correct
* instances of the Object Reference Properties.
* @see VisualObject#instantiate
* @see VisualObject#updateInstanceProperty
*
* @author Symantec Internet Tools Division
* @version 1.0
* @since VCafe 3.0
*/
public interface PropertyInstanceGetter {
/**
* Gets an instance of an Object Reference Property that corresponds to the
* <code>VisualProperty</code> of the given <code>VisualObject</code>.
* @param visualProperty the VisualProperty whose ORP value to get.
* @param objectReferenced the VisualObject that represents the ORP object.
* @return an Object Reference Property that corresponds to the specified java object property.
*
* @see VisualProperty#isObjectReferenceProperty
* @see VisualProperty#setReferencedVisualObjectID
*/
Object getORPInstance(VisualProperty visualProperty, VisualObject objectReferenced);
}