summaryrefslogtreecommitdiff
path: root/smartdashboard/src/edu/wpi/first/smartdashboard/livewindow/elements/LiveWindowWidgetRegistrar.java
blob: 0faa69df8c8d8645b9a0f0ee3a91d43b60cd65af (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
package edu.wpi.first.smartdashboard.livewindow.elements;

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

/**
 *
 * @author Sam
 */
public class LiveWindowWidgetRegistrar {
    
    /**
     * Initializes all the widgets in the Live Window.
     */
    public static void init() {
        DisplayElementRegistry.registerWidget(LWSubsystem.class);
        DisplayElementRegistry.registerWidget(SpeedController.class);
        DisplayElementRegistry.registerWidget(RelayController.class);
        DisplayElementRegistry.registerWidget(DigitalOutputController.class);
        DisplayElementRegistry.registerWidget(SingleNumberDisplay.class);
        DisplayElementRegistry.registerWidget(DigitalInputDisplay.class);
        DisplayElementRegistry.registerWidget(GyroDisplay.class);
        DisplayElementRegistry.registerWidget(EncoderDisplay.class);
        DisplayElementRegistry.registerWidget(ServoController.class);
        DisplayElementRegistry.registerWidget(PowerDistributionPanel.class);
        DisplayElementRegistry.registerWidget(ThreeAxisAccelerometer.class);
    }
    
}