Class PRDiaHelper
java.lang.Object
de.mid.innovator.srv2api.icw2pres.PRDiaHelper
This is a utility class for PRDia that provides static methods for creation or other purposes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<ARG_DiaLocale> getDiagramLocaleForSVG(SrvContext srvCtx) Returns a list of pairs ofPRDiaand locale code which need a generation of SVG.getFindDiagramsWithAnnotations(Class<T> returnType, SrvContext srvCtx) Find all diagrams which contain elements with assigned annotation.
-
Method Details
-
getFindDiagramsWithAnnotations
public static <T extends PRDia> List<T> getFindDiagramsWithAnnotations(Class<T> returnType, SrvContext srvCtx) throws InoNetException, SrvErrorException Find all diagrams which contain elements with assigned annotation.- Parameters:
returnType- Specifies the type of elements to be returned.srvCtx- The context of the related innovator server.- Throws:
InoNetExceptionSrvErrorException
-
getDiagramLocaleForSVG
public static List<ARG_DiaLocale> getDiagramLocaleForSVG(SrvContext srvCtx) throws InoNetException, SrvErrorException Returns a list of pairs ofPRDiaand locale code which need a generation of SVG.- Parameters:
srvCtx- The context of the related innovator server.- Throws:
InoNetExceptionSrvErrorException
-