Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 99860f9941a3a75bc5d81ecc58fd699cf22b0a8a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
 *  Copyright (c) 2013 Soft-Maint.
 *  
 *  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:
 *      David Couvrand (Soft-Maint) - Bug 422058 - Implementation of strikethrough and underline in the CustomizedLabelProvider
 */
package org.eclipse.papyrus.emf.facet.custom.ui;

import org.eclipse.papyrus.emf.facet.custom.core.ICustomizationManager;
import org.eclipse.papyrus.emf.facet.custom.core.exception.CustomizationException;
import org.eclipse.swt.graphics.FontData;

/**
 * @since 0.4
 */
public interface ICustomOverride {

	String getText(String result, Object object,
			ICustomizationManager customManager,
			IFontPropertiesHandler propertiesHandler) throws CustomizationException;

	FontData getFont(FontData fontData, Object object,
			ICustomizationManager customManager,
			IFontPropertiesHandler propertiesHandler) throws CustomizationException;

}

Back to the top