analysis: Move plugins to their own sub-directory
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.ui / src / org / eclipse / tracecompass / tmf / ui / widgets / timegraph / dialogs / ITimeGraphEntryActiveProvider.java
1 /*******************************************************************************
2 * Copyright (c) 2015 Keba AG
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 * Christian Mansky - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.tracecompass.tmf.ui.widgets.timegraph.dialogs;
14
15 import org.eclipse.tracecompass.tmf.ui.widgets.timegraph.model.ITimeGraphEntry;
16
17 /**
18 * Interface containing information for an additional view-specific active
19 * dependent button to be used in TimeGraphFilterDialog.
20 *
21 * @since 1.0
22 */
23 public interface ITimeGraphEntryActiveProvider {
24
25 /**
26 * @return Name of the button label.
27 */
28 String getLabel();
29
30 /**
31 * @return Tooltip of the button.
32 */
33 String getTooltip();
34
35 /**
36 * @param entry
37 * An Element in the TimeGraphFilterDialog to check against
38 * selecting/ticking
39 * @return True if this element is active.
40 */
41 boolean isActive(ITimeGraphEntry entry);
42
43 }
This page took 0.032348 seconds and 5 git commands to generate.