@Override
	protected Component buildInlineEditorComponent() {

		JPanel panel = new JPanel(new GridLayout(0, 2, 5, 5));
		panel.setBorder(BorderFactory.createEmptyBorder(0, 20, 0, 10));

		for (T t : allValues) {
			GCheckBox jCheckBox = new GCheckBox(getElementDisplayName(t));

			enumCheckboxMap.put(t, jCheckBox);

			jCheckBox.setName(String.format("%s%03d", CHECKBOX_NAME_PREFIX, t.ordinal()));
			jCheckBox.addItemListener(e -> {
				if (jCheckBox.isSelected()) {
					selectedValues.add(t);
				}
				else {
					selectedValues.remove(t);
				}
				valueChanged();
			});
			panel.add(jCheckBox);
		}

		JPanel outerPanel = new JPanel(new BorderLayout());
		outerPanel.add(panel, BorderLayout.CENTER);

		infoLabel = new GDHtmlLabel("");
		infoLabel.setForeground(Messages.HINT);
		infoLabel.setHorizontalAlignment(SwingConstants.CENTER);
		outerPanel.add(infoLabel, BorderLayout.SOUTH);

		return outerPanel;
	}
Constructor.

@param constraint Enum-type constraint for which this component is an editor.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/constrainteditor/EnumConstraintEditor.java