Exemplo n.º 1
0
  /** @noRefGuide */
  public int initialize() {

    super.initialize();
    m_dataSource = (DataSource) mp_data.getValue();

    if (m_dataSource instanceof Initializable) {
      ((Initializable) m_dataSource).initialize();
    }
    m_threshold = mp_threshold.getValue();
    m_thickness2 = (mp_thickness.getValue()) / 2;

    return ResultCodes.RESULT_OK;
  }
Exemplo n.º 2
0
 /** Get the threshold */
 public double getThreshold() {
   return mp_threshold.getValue();
 }
Exemplo n.º 3
0
 /** Get the thickness */
 public double getThickness() {
   return mp_thickness.getValue();
 }