summaryrefslogtreecommitdiff
path: root/smartdashboard/src/edu/wpi/first/smartdashboard/gui/elements/DefaultDisplayElementRegistrar.java
blob: ce680a6f73765bd71ba2295d06566c82feb91f99 (plain)
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
32
33
34
35
36
package edu.wpi.first.smartdashboard.gui.elements;

import edu.wpi.first.smartdashboard.types.DisplayElementRegistry;

/**
 *
 * @author Joe Grinstead
 */
public class DefaultDisplayElementRegistrar {

    public static void init() {
        DisplayElementRegistry.registerWidget(CommandButton.class);
        DisplayElementRegistry.registerWidget(BooleanBox.class);
        DisplayElementRegistry.registerWidget(Compass.class);
        DisplayElementRegistry.registerWidget(Button.class);
        DisplayElementRegistry.registerWidget(FormattedField.class);
        DisplayElementRegistry.registerWidget(LinePlot.class);
        DisplayElementRegistry.registerWidget(ProgressBar.class);
        DisplayElementRegistry.registerWidget(SimpleDial.class);
        DisplayElementRegistry.registerWidget(TextBox.class);
        DisplayElementRegistry.registerWidget(CheckBox.class);
        DisplayElementRegistry.registerWidget(PIDEditor.class);
        DisplayElementRegistry.registerWidget(Chooser.class);
        DisplayElementRegistry.registerWidget(Subsystem.class);
        DisplayElementRegistry.registerWidget(Command.class);
        DisplayElementRegistry.registerWidget(Scheduler.class);
        
        DisplayElementRegistry.registerStaticWidget(Image.class);
        DisplayElementRegistry.registerStaticWidget(ConnectionIndicator.class);
        DisplayElementRegistry.registerStaticWidget(Label.class);
        DisplayElementRegistry.registerStaticWidget(RobotPreferences.class);
        DisplayElementRegistry.registerStaticWidget(VideoStreamViewerExtension.class);
        DisplayElementRegistry.registerStaticWidget(WebcamViewerExtension.class);
    }

}