ss: Move plugins to Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / project / model / ITmfStyledProjectModelElement.java
CommitLineData
d5278aa5
GB
1/*******************************************************************************
2 * Copyright (c) 2014 École Polytechnique de Montréal
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Geneviève Bastien - Initial API and implementation
11 *******************************************************************************/
12
13package org.eclipse.linuxtools.tmf.ui.project.model;
14
15import org.eclipse.jdt.annotation.Nullable;
16import org.eclipse.jface.viewers.StyledString.Styler;
17
18/**
19 * This interface can be implemented by elements to a style to their text.
20 *
21 * @author Geneviève Bastien
22 * @since 3.0
23 */
24public interface ITmfStyledProjectModelElement {
25
26 /**
27 * Return the styler who will apply its style to the text string.
28 *
29 * @return The style object, or 'null' for no special style
30 */
31 @Nullable
32 Styler getStyler();
33
34}
This page took 0.052609 seconds and 5 git commands to generate.