diff options
Diffstat (limited to 'core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/BooleanFieldEditor2.java')
-rw-r--r-- | core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/BooleanFieldEditor2.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/BooleanFieldEditor2.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/BooleanFieldEditor2.java new file mode 100644 index 00000000000..7215c0b4729 --- /dev/null +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/BooleanFieldEditor2.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2018 Kichwa Coders and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Jonah Graham (Kichwa Coders) - initial API and implementation + *******************************************************************************/ +package org.eclipse.cdt.internal.ui.preferences; + +import org.eclipse.jface.preference.BooleanFieldEditor; +import org.eclipse.swt.widgets.Button; +import org.eclipse.swt.widgets.Composite; + +/** + * Provide access to the checkbox, this makes it equivalent to + * org.eclipse.jface.preference.StringFieldEditor + */ +public class BooleanFieldEditor2 extends BooleanFieldEditor { + + public BooleanFieldEditor2(String prefBuildconsoleWrapLines, String resourceString, Composite parent) { + super(prefBuildconsoleWrapLines, resourceString, parent); + } + + @Override + public Button getChangeControl(Composite parent) { + return super.getChangeControl(parent); + } + +} |