	protected Control createControl(Composite parent) {
		Composite composite = new Composite(parent, SWT.NULL);
		RowLayout layout = new RowLayout();
		composite.setLayout(layout);
		final Button[] radios = new Button[1];
		radios[0] = new Button(composite, SWT.CHECK);
		radios[0].setSelection(true);
		radios[0].setText("Switch Connections ON/OFF");
		final Button dynamicTrendHighlightButton = new Button(composite, SWT.CHECK);
		dynamicTrendHighlightButton.setText("Dynamic Connection Highlight Focus");
		final Slider slider = new Slider(composite, SWT.HORIZONTAL);
		slider.setValues(0, 0, 100, 1, 1, 1);
		slider.setLayoutData(new RowData(130, 20));
		Listener listener = new Listener() {
			@Override
			public void handleEvent(Event event) {
				if (dynamicTrendHighlightButton.getSelection() == false)
					slider.setEnabled(false);
				else
					slider.setEnabled(true);
				GeneralManager
						.get()
						.getEventPublisher()
						.triggerEvent(
								new ConnectionsModeEvent(radios[0].getSelection(),
										dynamicTrendHighlightButton.getSelection(),
										slider.getSelection() / 100f));
			}
		};
		slider.addListener(SWT.Selection, listener);
		dynamicTrendHighlightButton.addListener(SWT.Selection, listener);
		radios[0].addListener(SWT.Selection, listener);
		return composite;
	};

	protected Control createControl(Composite parent) {
		Composite composite = new Composite(parent, SWT.NULL);
		RowLayout layout = new RowLayout();
		composite.setLayout(layout);
		final Button[] radios = new Button[1];
		radios[0] = new Button(composite, SWT.CHECK);
		radios[0].setSelection(true);
		radios[0].setText("Switch Connections ON/OFF");
		final Button dynamicTrendHighlightButton = new Button(composite, SWT.CHECK);
		dynamicTrendHighlightButton.setText("Dynamic Connection Highlight Focus");
		final Slider slider = new Slider(composite, SWT.HORIZONTAL);
		slider.setValues(0, 0, 100, 1, 1, 1);
		slider.setLayoutData(new RowData(130, 20));
		slider.setEnabled(false);
		Listener listener = new Listener() {
			@Override
			public void handleEvent(Event event) {
				slider.setEnabled(dynamicTrendHighlightButton.getSelection());
				GeneralManager
						.get()
						.getEventPublisher()
						.triggerEvent(
								new ConnectionsModeEvent(radios[0].getSelection(),
										dynamicTrendHighlightButton.getSelection(),
										slider.getSelection() / 100f));
			}
		};
		slider.addListener(SWT.Selection, listener);
		dynamicTrendHighlightButton.addListener(SWT.Selection, listener);
		radios[0].addListener(SWT.Selection, listener);
		return composite;
	};
