Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titlemypackage.MyTransformer.java
borderStylesolid
package mypackage;

import com.affymetrix.genometryImpl.util.FloatTransformer;

public class MyTransformer implements FloatTransformer {
      final String paramPrompt;
      final String name;

      public InverseTransformer() {
            super();
            paramPrompt = null;
            name = "Inverse";
  }
  ";
    }
    public String getParamPrompt() { return null; }
      public String getName() {
            return name;
  }
      }
    public String getDisplay() {
            return name;
  }
      }
    public float transform(float x) {
            return (float)1.0 / x;
  }
      }
    public float inverseTransform(float x) {
            return 0.0f;
  }
  0f;
    }
    public boolean isInvertible() { return false; }
      public boolean setParameter(String s) {
            return true;
      }
}

To create plug-ins using eclipse - a Quick-Start Guide

...