com.ibm.streams.operator.model

Annotation Type Icons



  • @Target(value=TYPE)
    @Retention(value=RUNTIME)
    @Documented
    public @interface Icons
    Declare a set of icon files for the operator. The icons will be used by Streams Studio to show the operator in the graphical editor.

    A 16x16 icon file location as well as a 32x32 icon location must be provided. The location of the icons is relative to the root directory of the toolkit containing the Java primitive operator.
    For example, to specify an icon within the <Toolkit Directory>/icons folder, you would specify the following:

    
            @PrimitiveOperator
            @Icons(location16="icons/operator_icon16.gif" location32="icons/operator_icon32.gif")
            public class SomeOp extends AbstractOperator
     

    Since:
    InfoSphere® Streams Version 3.2
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element and Description
      java.lang.String location16
      Location of the 16x16 icon file relative to the toolkit directory.
      java.lang.String location32
      Location of the 32x32 icon file relative to the toolkit directory.
    • Element Detail

      • location16

        public abstract java.lang.String location16
        Location of the 16x16 icon file relative to the toolkit directory.
        Returns:
        The location of the 16x16 icon file
      • location32

        public abstract java.lang.String location32
        Location of the 32x32 icon file relative to the toolkit directory.
        Returns:
        The location of the 32x32 icon file