Examples of PluginTypeParameters


Examples of org.jamesii.gui.utils.parameters.factories.PluginTypeParameters

  @Override
  public Object getValue(Object parent) {
    if (parent instanceof ListParameters) {
      ListParameters params = (ListParameters) parent;
      Entry entry = params.getList().get(index);
      PluginTypeParameters ptp =
          new PluginTypeParameters(params.getBaseFactory(),
              entry.getFactoryName(), entry.getParameters());
      // set instance of ptp as entry's parameterblock since the incoming
      // parameterblock is copied inside
      entry.setParameters(ptp.getAsParameterBlock());
      return ptp;
    }

    return null;
  }
View Full Code Here

Examples of org.jamesii.gui.utils.parameters.factories.PluginTypeParameters

    this.baseFactory = plugintype.getName();
  }

  @Override
  protected PluginTypeParameters getPluginTypeParameters(ParameterBlock block) {
    return new PluginTypeParameters(baseFactory, (String) block.getValue(),
        block);
  }
View Full Code Here

Examples of org.jamesii.gui.utils.parameters.factories.PluginTypeParameters

    if (block == null) {
      block = new ParameterBlock();
    }

    PluginTypeParameters pluginTypeParameters = getPluginTypeParameters(block);

    ((FactoryParameters) parent).setPluginTypeParameter(getName(),
        pluginTypeParameters.getAsParameterBlock());

    return pluginTypeParameters;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.