Class CSSPropertyLinkSWTHandler

java.lang.Object
org.eclipse.e4.ui.css.swt.properties.custom.CSSPropertyLinkSWTHandler
All Implemented Interfaces:
ICSSPropertyHandler

public class CSSPropertyLinkSWTHandler extends Object implements ICSSPropertyHandler
  • Field Details

  • Constructor Details

    • CSSPropertyLinkSWTHandler

      public CSSPropertyLinkSWTHandler()
  • Method Details

    • applyCSSProperty

      public boolean applyCSSProperty(Object element, String property, CSSValue value, String pseudo, CSSEngine engine) throws Exception
      Description copied from interface: ICSSPropertyHandler
      Apply CSS Property property (ex : background-color) with CSSValue value (ex : red) into the element (ex : Swing Component, SWT Widget).
      Specified by:
      applyCSSProperty in interface ICSSPropertyHandler
      Parameters:
      element - Swing Component, SWT Widget...
      property - CSS Property
      value - CSS value
      pseudo - the pseudo class to use, or null if none is required
      engine - CSS Engine
      Returns:
      weather CSS property was applied or not
      Throws:
      Exception - if applying CSS failed