/** * <copyright> * </copyright> * * */ package robot.resource.robot.mopp; public class RobotDynamicTokenStyler { /** * This method is called to dynamically style tokens. * * @param resource the TextResource that contains the token * @param token the token to obtain a style for * @param staticStyle the token style as set in the editor preferences (is * <code>null</code> if syntax highlighting for the token is disabled) */ public robot.resource.robot.IRobotTokenStyle getDynamicTokenStyle(robot.resource.robot.IRobotTextResource resource, robot.resource.robot.IRobotTextToken token, robot.resource.robot.IRobotTokenStyle staticStyle) { // The default implementation returns the static style without any changes. To // implement dynamic token styling, set the overrideDynamicTokenStyler option to // <code>false</code> and customize this method. return staticStyle; } }