Package net.sf.graphiti.model

Examples of net.sf.graphiti.model.IRefinementPolicy


    IValidator validator = (IValidator) element
        .createExecutableExtension("validator");

    String refinement = element.getAttribute("refinement");
    IRefinementPolicy refinementPolicy = null;
    if (refinement != null) {
      refinementPolicy = (IRefinementPolicy) element
          .createExecutableExtension("refinement");
    }
View Full Code Here


   *            context, either {@link Vertex#TYPE_INPUT_PORT},
   *            {@link Vertex#TYPE_OUTPUT_PORT} or {@link Vertex#TYPE_PORT}.
   * @return A port name if found, <code>null</code> otherwise.
   */
  private String getPort(Vertex vertex, String edgePort, String[] portTypes) {
    IRefinementPolicy policy = vertex.getConfiguration()
        .getRefinementPolicy();
    IFile sourceFile = policy.getRefinementFile(vertex);

    // open the refinement
    if (sourceFile != null) {
      List<String> ports = getPorts(sourceFile, portTypes);
      if (!ports.isEmpty()) {
View Full Code Here

TOP

Related Classes of net.sf.graphiti.model.IRefinementPolicy

Copyright © 2018 www.massapicom. 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.