Package de.mhus.lib.form.objects

Examples of de.mhus.lib.form.objects.SimpleDynOptionsProvider


       
      }
    } catch (Exception e) {
      e.printStackTrace();
    }
    return new SimpleDynOptionsProvider(uniq.toArray(new String[uniq.size()]),names.toArray(new String[names.size()]));
  }
View Full Code Here


      for  ( NodeTypeIterator typeIter = first.getNode().getSession().getWorkspace().getNodeTypeManager().getPrimaryNodeTypes();typeIter.hasNext(); ) {
        NodeType type = typeIter.nextNodeType();
        names.add(type.getName());
        uniq.add(type.getName());
      }
      return new SimpleDynOptionsProvider(uniq.toArray(new String[uniq.size()]),names.toArray(new String[names.size()]));
    } catch (Throwable e) {}
   
    return new SimpleDynOptionsProvider(new String[] {}, new String[] {});
  }
View Full Code Here

  public String getOutputType() {
    return outputType;
  }

  public IDynOptionsProvider getOutputTypeDataProvider() {
    return new SimpleDynOptionsProvider(new String[] {"system","document","text"}, new String[] {"XML System","XML Document","Lesbarer Text"});
  }
View Full Code Here

  public void setType(String in) {
    type = in;
  }

  public IDynOptionsProvider getTypeDataProvider() {
    return new SimpleDynOptionsProvider(
        new String[] {"string"},
        new String[] {"String"}
        );
  }
View Full Code Here

TOP

Related Classes of de.mhus.lib.form.objects.SimpleDynOptionsProvider

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.