Package org.eclipse.e4.xwt

Examples of org.eclipse.e4.xwt.IStyle.apply()


            if (value instanceof Style) {
              Style style = (Style) value;
              Class<?> targetType = style.getTargetType();
              if (targetType != null
                  && targetType.isInstance(widget)) {
                style.apply(targetObject);
              }
            }
          }
        }
        current = UserData.getParent(current);
View Full Code Here


  public void setValue(Object target, Object value) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException, SecurityException, NoSuchFieldException {
    if (!(value instanceof Style)) {
      throw new XWTException("Style is expected.");
    }
    Style style = (Style) value;
    style.apply(target);
  }
}
View Full Code Here

            if (value instanceof Style) {
              Style style = (Style) value;
              Class<?> targetType = style.getTargetType();
              if (targetType != null
                  && targetType.isInstance(widget)) {
                style.apply(targetObject);
              }
            }
          }
        }
        current = UserData.getParent(current);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.