mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics
This commit is contained in:
parent
55e2872e32
commit
4de71f6542
2 changed files with 13 additions and 16 deletions
|
@ -648,7 +648,6 @@ public class NameStyleBlock extends OptionsConfigurationBlock {
|
||||||
|
|
||||||
private class NameStyleAdapter extends ViewerComparator
|
private class NameStyleAdapter extends ViewerComparator
|
||||||
implements ITreeListAdapter<Category>, IDialogFieldListener {
|
implements ITreeListAdapter<Category>, IDialogFieldListener {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void selectionChanged(TreeListDialogField<Category> field) {
|
public void selectionChanged(TreeListDialogField<Category> field) {
|
||||||
updateConfigurationBlock(field.getSelectedElements());
|
updateConfigurationBlock(field.getSelectedElements());
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.utils.ui.controls;
|
package org.eclipse.cdt.utils.ui.controls;
|
||||||
|
|
||||||
|
|
||||||
import org.eclipse.swt.SWT;
|
import org.eclipse.swt.SWT;
|
||||||
import org.eclipse.swt.graphics.Point;
|
import org.eclipse.swt.graphics.Point;
|
||||||
import org.eclipse.swt.graphics.Rectangle;
|
import org.eclipse.swt.graphics.Rectangle;
|
||||||
|
@ -22,7 +21,6 @@ import org.eclipse.swt.widgets.Layout;
|
||||||
* @noextend This class is not intended to be subclassed by clients.
|
* @noextend This class is not intended to be subclassed by clients.
|
||||||
*/
|
*/
|
||||||
public class TabFolderLayout extends Layout {
|
public class TabFolderLayout extends Layout {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Point computeSize(Composite composite, int wHint, int hHint, boolean flushCache) {
|
protected Point computeSize(Composite composite, int wHint, int hHint, boolean flushCache) {
|
||||||
if (wHint != SWT.DEFAULT && hHint != SWT.DEFAULT)
|
if (wHint != SWT.DEFAULT && hHint != SWT.DEFAULT)
|
||||||
|
@ -44,8 +42,8 @@ public class TabFolderLayout extends Layout {
|
||||||
maxHeight= hHint;
|
maxHeight= hHint;
|
||||||
|
|
||||||
return new Point(maxWidth, maxHeight);
|
return new Point(maxWidth, maxHeight);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void layout(Composite composite, boolean flushCache) {
|
protected void layout(Composite composite, boolean flushCache) {
|
||||||
Rectangle rect= composite.getClientArea();
|
Rectangle rect= composite.getClientArea();
|
||||||
|
|
Loading…
Add table
Reference in a new issue