| |
|
| java.lang.Object org.netbeans.modules.uml.ui.support.PresentationReferenceHelper
PresentationReferenceHelper | public class PresentationReferenceHelper (Code) | | author: sumitabhk |
PresentationReferenceHelper | public PresentationReferenceHelper()(Code) | | |
createPresentationReference | public static IPresentationReference createPresentationReference(IPresentationElement pReferencing, IPresentationElement pReferred)(Code) | | Creates an IPresentationReference relationship
Parameters: pReferencing - [in] The referencing PE Parameters: pReferred - [in] The referred PE Parameters: pCreatedRelationship - [out,retval] The created relationship |
getAllReferencingElements | public static ETList<IPresentationElement> getAllReferencingElements(IPresentationElement pReferencedElement)(Code) | | Returns all the IPresentationElements that are referring pReferences (ie the parent or owner objects of the relationship)
|
getAllReferredElements | public static ETList<IPresentationElement> getAllReferredElements(IPresentationElement pReferencing)(Code) | | Returns all the IPresentationElements that are referred to by the presentation element pReferencing.
Parameters: pReferencing - [in] The referencing PE Parameters: pReferredElements - [out,retval] All the referred elements |
getAllReferredSubjects | public static ETList<IElement> getAllReferredSubjects(IPresentationElement pReferencing)(Code) | | Returns all the IPresentationElements that are referred to by the presentation element pReferencing.
Parameters: pReferencing - [in] The referencing PE Parameters: pElements - [out,retval] All the referrenced presentation elements' subjects |
getHasReferredElements | public static ETList<IPresentationElement> getHasReferredElements(IPresentationElement pReferencing)(Code) | | Returns true if there are referred elements. If not then pReferredElements is NULL.
Parameters: pReferencing - [in] The referencing PE Parameters: pReferredElements - [out,retval] All the referred elements true if there are referred elements. |
removeAllPresentationReferences | public static void removeAllPresentationReferences(IPresentationElement pReferred)(Code) | | Removes all presentation references
Parameters: pReferred - [in] The child whose presentation references should be removed |
|
|
|