blob: 23790b5238ecc8ffabbbcdc9e5afc411daa2909a [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2003, 2008 IBM Corporation and Others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Junji MAEDA - initial API and implementation
*******************************************************************************/
package org.eclipse.actf.visualization.engines.lowvision.problem;
import org.eclipse.actf.visualization.engines.lowvision.LowVisionType;
import org.eclipse.actf.visualization.engines.lowvision.PageElement;
import org.eclipse.actf.visualization.engines.lowvision.internal.Messages;
public class FixedSizeFontProblem extends LowVisionProblem{
public FixedSizeFontProblem( PageElement _pe, LowVisionType _lvType, double _proba ) throws LowVisionProblemException{
super( LOWVISION_FIXED_SIZE_FONT_PROBLEM, _lvType, Messages.getString("FixedSizeFontProblem.Fixed-size_font_is_used._1"), _pe, _proba );
// fontSize = _pe.getFontSize();
setRecommendations();
}
protected void setRecommendations() throws LowVisionProblemException{
numRecommendations = 1;
recommendations = new LowVisionRecommendation[numRecommendations];
recommendations[0] = new ChangableFontRecommendation( this );
}
}