Package org.odlabs.wiquery.core.options

Examples of org.odlabs.wiquery.core.options.ICollectionItemOptions


   * @return the showOptions option value
   */
  @SuppressWarnings("unchecked")
  public ListItemOptions<LiteralOption> getShowOptions()
  {
    ICollectionItemOptions showOptions = getCollectionItemOptions("showOptions");

    if (showOptions != null && showOptions instanceof ListItemOptions)
    {
      return (ListItemOptions<LiteralOption>) showOptions;
    }
View Full Code Here


  /**
   * @return the blockedKeystrokes option
   */
  @SuppressWarnings("unchecked")
  public ArrayItemOptions<KeyStrokeOption> getBlockedKeyStrokes() {
    ICollectionItemOptions coll = options.getListItemOptions("blockedKeystrokes");
   
    if(coll == null){
      ArrayItemOptions<KeyStrokeOption> arr = new ArrayItemOptions<KeyStrokeOption>();
      arr.add(new KeyStrokeOption(66, KeyStrokeOption.KeyStrokeMask.CTRL));
      arr.add(new KeyStrokeOption(73, KeyStrokeOption.KeyStrokeMask.CTRL));
View Full Code Here

  /**
   * @return the keystrokes option
   */
  @SuppressWarnings("unchecked")
  public ArrayItemOptions<CommandKeyStrokeOption> getKeyStrokes() {
    ICollectionItemOptions coll = options.getListItemOptions("keystrokes");
   
    if(coll == null){
      ArrayItemOptions<CommandKeyStrokeOption> arr = new ArrayItemOptions<CommandKeyStrokeOption>();
      arr.add(new CommandKeyStrokeOption("toolbarFocus", 121, KeyStrokeOption.KeyStrokeMask.ALT));
      arr.add(new CommandKeyStrokeOption("elementsPathFocus", 122, KeyStrokeOption.KeyStrokeMask.ALT));
View Full Code Here

  /**
   * @return the protectedSource option
   */
  @SuppressWarnings("unchecked")
  public ArrayItemOptions<RegExpOption> getProtectedSource() {
    ICollectionItemOptions coll = options.getListItemOptions("protectedSource");
   
    return coll == null ? new ArrayItemOptions<RegExpOption>() :
      (ArrayItemOptions<RegExpOption>) coll;
  }
View Full Code Here

  /**
   * @return the smiley_descriptions option
   */
  @SuppressWarnings("unchecked")
  public ArrayItemOptions<LiteralOption> getSmileyDescriptions() {
    ICollectionItemOptions coll = options.getListItemOptions("smiley_descriptions");
   
    if(coll == null){
      ArrayItemOptions<LiteralOption> arr = new ArrayItemOptions<LiteralOption>();
      arr.add(new LiteralOption("smiley"));
      arr.add(new LiteralOption("sad"));
View Full Code Here

  /**
   * @return the smiley_path option
   */
  @SuppressWarnings("unchecked")
  public ArrayItemOptions<LiteralOption> getSmileyImages() {
    ICollectionItemOptions coll = options.getListItemOptions("smiley_images");
   
    if(coll == null){
      ArrayItemOptions<LiteralOption> arr = new ArrayItemOptions<LiteralOption>();
      arr.add(new LiteralOption("regular_smile.gif"));
      arr.add(new LiteralOption("sad_smile.gif"));
View Full Code Here

  /**
   * @return the contentsCss option
   */
  @SuppressWarnings("unchecked")
  public ArrayItemOptions<LiteralOption> getContentsCss() {
    ICollectionItemOptions coll = options.getListItemOptions("contentsCss");
   
    if(coll == null){
      ArrayItemOptions<LiteralOption> arr = new ArrayItemOptions<LiteralOption>();
      arr.add(new LiteralOption("<CKEditor folder>/contents.css"));
      return arr;
View Full Code Here

  /**
   * @return the templates_files option
   */
  @SuppressWarnings("unchecked")
  public ArrayItemOptions<LiteralOption> getTemplatesFiles() {
    ICollectionItemOptions coll = options.getListItemOptions("templates_files");
   
    if(coll == null){
      ArrayItemOptions<LiteralOption> arr = new ArrayItemOptions<LiteralOption>();
      arr.add(new LiteralOption("plugins/templates/templates/default.js"));
      return arr;
View Full Code Here

TOP

Related Classes of org.odlabs.wiquery.core.options.ICollectionItemOptions

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.