Interface IPluginImport

    • Field Detail

      • P_REEXPORTED

        static final String P_REEXPORTED
        A name of the property that will be used to notify about changes in the "reexported" field.
        See Also:
        Constant Field Values
      • P_OPTIONAL

        static final String P_OPTIONAL
        A name of the property that will be used to notify about changes in the "optional" field.
        See Also:
        Constant Field Values
    • Method Detail

      • isReexported

        boolean isReexported()
        Tests whether the imported plug-in is reexported for plug-ins that will use this plug-in.
        Returns:
        true if the required plug-in libraries are reexported
      • isOptional

        boolean isOptional()
        Tests whether this import is optional. Optional imports will not create an error condition when they cannot be resolved.
        Returns:
        true if this import is optional
      • setReexported

        void setReexported​(boolean value)
                    throws CoreException
        Sets whether the libraries of the required plug-in will be reexported. This method will throw a CoreException if the model is not editable.
        Parameters:
        value - true if reexporting is desired
        Throws:
        CoreException - if the model is not editable
      • setOptional

        void setOptional​(boolean value)
                  throws CoreException
        Sets whether this import is optional. Optional imports will not create an error condition when they cannot be resolved.
        Parameters:
        value - true if import is optional
        Throws:
        CoreException - if the model is not editable