mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
Cosmetics.
This commit is contained in:
parent
50a328f123
commit
f8e753bc5d
2 changed files with 13 additions and 13 deletions
|
@ -66,19 +66,19 @@ public class LineWrappingTabPage extends FormatterTabPage {
|
|||
|
||||
public int index;
|
||||
|
||||
public Category(String _key, String _previewText, String _name, String _description) {
|
||||
this.key= _key;
|
||||
this.name= _name;
|
||||
this.previewText= _previewText != null ? createPreviewHeader(_name) + _previewText : null;
|
||||
this.description = _description;
|
||||
public Category(String key, String previewText, String name, String description) {
|
||||
this.key= key;
|
||||
this.name= name;
|
||||
this.previewText= previewText != null ? createPreviewHeader(name) + previewText : null;
|
||||
this.description = description;
|
||||
children= new ArrayList<Category>();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param _name Category name
|
||||
* @param name Category name
|
||||
*/
|
||||
public Category(String _name, String _description) {
|
||||
this(null, null, _name, _description);
|
||||
public Category(String name, String description) {
|
||||
this(null, null, name, description);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -216,13 +216,13 @@ public abstract class ModifyDialogTabPage implements IModifyDialogTabPage {
|
|||
}
|
||||
|
||||
protected final class CheckboxPreference extends ButtonPreference {
|
||||
public CheckboxPreference(Composite composite, int numColumns, Map<String,String> preferences, String key, String[] values, String text) {
|
||||
public CheckboxPreference(Composite composite, int numColumns, Map<String, String> preferences, String key, String[] values, String text) {
|
||||
super(composite, numColumns, preferences, key, values, text, SWT.CHECK);
|
||||
}
|
||||
}
|
||||
|
||||
protected final class RadioPreference extends ButtonPreference {
|
||||
public RadioPreference(Composite composite, int numColumns, Map<String,String> preferences, String key, String[] values, String text) {
|
||||
public RadioPreference(Composite composite, int numColumns, Map<String, String> preferences, String key, String[] values, String text) {
|
||||
super(composite, numColumns, preferences, key, values, text, SWT.RADIO);
|
||||
}
|
||||
}
|
||||
|
@ -606,7 +606,7 @@ public abstract class ModifyDialogTabPage implements IModifyDialogTabPage {
|
|||
/**
|
||||
* The map where the current settings are stored.
|
||||
*/
|
||||
protected Map<String,String> fWorkingValues;
|
||||
protected Map<String, String> fWorkingValues;
|
||||
|
||||
/**
|
||||
* The modify dialog where we can display status messages.
|
||||
|
@ -617,7 +617,7 @@ public abstract class ModifyDialogTabPage implements IModifyDialogTabPage {
|
|||
/*
|
||||
* Create a new <code>ModifyDialogTabPage</code>
|
||||
*/
|
||||
public ModifyDialogTabPage(IModifyDialogTabPage.IModificationListener modifyListener, Map<String,String> workingValues) {
|
||||
public ModifyDialogTabPage(IModifyDialogTabPage.IModificationListener modifyListener, Map<String, String> workingValues) {
|
||||
fWorkingValues= workingValues;
|
||||
fModifyListener= modifyListener;
|
||||
fDefaultFocusManager= new DefaultFocusManager();
|
||||
|
@ -630,7 +630,7 @@ public abstract class ModifyDialogTabPage implements IModifyDialogTabPage {
|
|||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public void setWorkingValues(Map<String,String> workingValues) {
|
||||
public void setWorkingValues(Map<String, String> workingValues) {
|
||||
fWorkingValues= workingValues;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue