Package org.eclipse.jst.pagedesigner.ui.preferences

Examples of org.eclipse.jst.pagedesigner.ui.preferences.PDPreferences


  static Class ADAPTERKEY = ICSSStyle.class;
    private final PDPreferences _prefs;

  private CSSStyleAdapterFactory() {
    super(ADAPTERKEY, true);
    _prefs = new PDPreferences();
  }
View Full Code Here


  /**
   * @param image
   * @param convertedElement
   */
  public HiddenProvider(Image image, Element convertedElement) {
    super(image, new HiddenElementStyle(convertedElement, new PDPreferences()));
  }
View Full Code Here

  /**
   * @param image
   * @param editPart
   */
  public HiddenProvider(Image image, ElementEditPart editPart) {
    super(image, new HiddenElementStyle(new EditProxyAdapter(editPart), new PDPreferences()));
  }
View Full Code Here

    if (style != null) {
      Object obj = style.getStyleProperty(ICSSPropertyID.ATTR_POSITION);
      if (PositionMeta.ABSOLUTE.equals(obj)
          || PositionMeta.FIXED.equals(obj))
      {
          PDPreferences prefs = new PDPreferences();
          return prefs.isCssAbsolutePositioningEnabled();
      }
    }
    return false;
  }
View Full Code Here

  /**
   * class initializer
   */
  private void initialize()
  {
      final PDPreferences prefs = new PDPreferences();
    _map.put(ICSSPropertyID.ATTR_DISPLAY, new DisplayMeta());
    _map.put(ICSSPropertyID.ATTR_TEXTALIGN, new TextAlignMeta());
    _map.put(ICSSPropertyID.ATTR_HORIZONTAL_ALIGN, new HorizontalAlignMeta());
    _map.put(ICSSPropertyID.ATTR_TEXTDECORATION, new TextDecorationMeta());
    _map.put(ICSSPropertyID.ATTR_WHITESPACE, new WhiteSpaceMeta());
View Full Code Here

TOP

Related Classes of org.eclipse.jst.pagedesigner.ui.preferences.PDPreferences

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.