Class AnyToAnyModelTransformationInfo

    • Field Detail

      • MT_RESET_SYMBOL_PROPERTIES_TO_DEFAULT

        public static final java.lang.String MT_RESET_SYMBOL_PROPERTIES_TO_DEFAULT
        See Also:
        Constant Field Values
    • Constructor Detail

      • AnyToAnyModelTransformationInfo

        public AnyToAnyModelTransformationInfo()
      • AnyToAnyModelTransformationInfo

        public AnyToAnyModelTransformationInfo​(java.lang.String transformationName,
                                               java.lang.String transformationDescription,
                                               java.lang.String iconName)
      • AnyToAnyModelTransformationInfo

        public AnyToAnyModelTransformationInfo​(java.lang.String transformationName,
                                               java.lang.String transformationDescription,
                                               java.lang.String iconName,
                                               @CheckForNull
                                               java.lang.String[] requiredProfiles)
    • Method Detail

      • getDefaulTypeMapProfileName

        public java.lang.String getDefaulTypeMapProfileName()
        Description copied from interface: ModelTransformationInfo
        Returns name of default type map profile
        Returns:
        name of default type map
      • prepareTransformation

        public boolean prepareTransformation​(Project project)
        Description copied from interface: ModelTransformationInfo
        Prepares transformation
        Parameters:
        project - project
        Returns:
        true if preparation was successful, false in other case
      • loadProfiles

        protected boolean loadProfiles​(Project project)
      • isVisibleInBrowser

        public boolean isVisibleInBrowser​(BaseElement e)
        Description copied from interface: ModelTransformationInfo
        Is element visible in source selection tree.
        Parameters:
        e - element to check
        Returns:
        true if visible
      • getVisibleClasses

        @CheckForNull
        public java.util.Collection<java.lang.Class> getVisibleClasses()
        Visible classes that will be displayed in transformation source selection
        Returns:
        visible class types to show in transformation source selection
      • createPropertyManager

        protected PropertyManager createPropertyManager()
      • getDefaultPropertyManager

        public PropertyManager getDefaultPropertyManager()
        Description copied from interface: ModelTransformationInfo
        Returns property manager with default properties for transformation
        Returns:
        property manager
      • isTypeMappingSupported

        public boolean isTypeMappingSupported()
        Description copied from interface: ModelTransformationInfo
        Getter for type mapping support
        Returns:
        true if type mapping is supported by transformation
      • isSupportsLeaveIntactModel

        public boolean isSupportsLeaveIntactModel()
      • isOnlyInPlace

        public boolean isOnlyInPlace()
        Returns:
        true if transformation supports only in place transformation.
      • getSpecificTypeMap

        public TypeMapProfile getSpecificTypeMap()
        Description copied from interface: ModelTransformationInfo
        In case there is no user selected option to select type map specific type map can be provided.
        Returns:
        TypeMapProfile which should be used in this transformation.