Skip to content

Commit cf4a377

Browse files
committed
[Eclipse 4.32] Remove instances of UIUtils.fixMacSiliconItemHeight()
- Has no effect since the first attempt at a fix in Eclipse 4.31 - And a better fix in Eclipse 4.32
1 parent af1f243 commit cf4a377

22 files changed

+3
-103
lines changed

com.archimatetool.editor/src/com/archimatetool/editor/diagram/commands/CreateDiagramArchimateConnectionWithDialogCommand.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636

3737
import com.archimatetool.editor.ui.ArchiLabelProvider;
3838
import com.archimatetool.editor.ui.IArchiImages;
39-
import com.archimatetool.editor.ui.UIUtils;
4039
import com.archimatetool.editor.ui.components.ExtendedTitleAreaDialog;
4140
import com.archimatetool.model.IArchimateConcept;
4241
import com.archimatetool.model.IArchimateRelationship;
@@ -228,9 +227,6 @@ private class RelationsTableViewer extends TableViewer {
228227
RelationsTableViewer(Composite parent, int style) {
229228
super(parent, SWT.FULL_SELECTION | style);
230229

231-
// Mac Silicon Item height
232-
UIUtils.fixMacSiliconItemHeight(getTable());
233-
234230
setColumns();
235231

236232
setContentProvider(new RelationsTableViewerContentProvider());

com.archimatetool.editor/src/com/archimatetool/editor/diagram/dialog/NewNestedRelationDialog.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
import com.archimatetool.editor.preferences.IPreferenceConstants;
4242
import com.archimatetool.editor.ui.ArchiLabelProvider;
4343
import com.archimatetool.editor.ui.IArchiImages;
44-
import com.archimatetool.editor.ui.UIUtils;
4544
import com.archimatetool.editor.ui.components.ExtendedTitleAreaDialog;
4645
import com.archimatetool.model.IArchimateDiagramModel;
4746
import com.archimatetool.model.IDiagramModelArchimateComponent;
@@ -151,9 +150,6 @@ private class RelationsTableViewer extends TableViewer {
151150
RelationsTableViewer(Composite parent, int style) {
152151
super(parent, SWT.FULL_SELECTION | style);
153152

154-
// Mac Silicon Item height
155-
UIUtils.fixMacSiliconItemHeight(getTable());
156-
157153
setColumns();
158154

159155
setContentProvider(new RelationsTableViewerContentProvider());

com.archimatetool.editor/src/com/archimatetool/editor/diagram/dialog/NewNestedRelationsDialog.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
import com.archimatetool.editor.preferences.IPreferenceConstants;
4444
import com.archimatetool.editor.ui.ArchiLabelProvider;
4545
import com.archimatetool.editor.ui.IArchiImages;
46-
import com.archimatetool.editor.ui.UIUtils;
4746
import com.archimatetool.editor.ui.components.ExtendedTitleAreaDialog;
4847
import com.archimatetool.model.IArchimateDiagramModel;
4948
import com.archimatetool.model.IDiagramModelArchimateComponent;
@@ -267,9 +266,6 @@ private class RelationsTableViewer extends TableViewer {
267266
RelationsTableViewer(Composite parent, int style) {
268267
super(parent, SWT.FULL_SELECTION | style);
269268

270-
// Mac Silicon Item height
271-
UIUtils.fixMacSiliconItemHeight(getTable());
272-
273269
setColumns(getTable());
274270
setContentProvider(new RelationsTableViewerContentProvider());
275271
setLabelProvider(new RelationsTableViewerLabelCellProvider());

com.archimatetool.editor/src/com/archimatetool/editor/p2/DropinsPluginDialog.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636

3737
import com.archimatetool.editor.Logger;
3838
import com.archimatetool.editor.ui.IArchiImages;
39-
import com.archimatetool.editor.ui.UIUtils;
4039
import com.archimatetool.editor.ui.components.ExtendedTitleAreaDialog;
4140

4241
/**
@@ -88,9 +87,6 @@ protected Control createDialogArea(Composite parent) {
8887
viewer = new TableViewer(tableComp, SWT.MULTI | SWT.V_SCROLL | SWT.BORDER | SWT.FULL_SELECTION);
8988
viewer.getControl().setLayoutData(new GridData(GridData.FILL_BOTH));
9089

91-
// Mac Silicon Item height
92-
UIUtils.fixMacSiliconItemHeight(viewer.getTable());
93-
9490
viewer.getTable().setHeaderVisible(true);
9591

9692
TableViewerColumn column = new TableViewerColumn(viewer, SWT.NONE);

com.archimatetool.editor/src/com/archimatetool/editor/p2/P2PluginDialog.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
import org.eclipse.ui.PlatformUI;
3636

3737
import com.archimatetool.editor.ui.IArchiImages;
38-
import com.archimatetool.editor.ui.UIUtils;
3938
import com.archimatetool.editor.ui.components.ExtendedTitleAreaDialog;
4039

4140
/**
@@ -89,9 +88,6 @@ protected Control createDialogArea(Composite parent) {
8988
viewer = new TableViewer(tableComp, SWT.MULTI | SWT.V_SCROLL | SWT.BORDER | SWT.FULL_SELECTION);
9089
viewer.getControl().setLayoutData(new GridData(GridData.FILL_BOTH));
9190

92-
// Mac Silicon Item height
93-
UIUtils.fixMacSiliconItemHeight(viewer.getTable());
94-
9591
viewer.getTable().setHeaderVisible(true);
9692

9793
TableViewerColumn column = new TableViewerColumn(viewer, SWT.NONE);

com.archimatetool.editor/src/com/archimatetool/editor/preferences/ColoursPreferencePage.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
import com.archimatetool.editor.ui.IArchiImages;
5252
import com.archimatetool.editor.ui.ImageFactory;
5353
import com.archimatetool.editor.ui.ThemeUtils;
54-
import com.archimatetool.editor.ui.UIUtils;
5554
import com.archimatetool.editor.ui.components.CustomColorDialog;
5655
import com.archimatetool.editor.ui.factory.model.FolderUIProvider;
5756
import com.archimatetool.editor.utils.PlatformUtils;
@@ -132,9 +131,6 @@ protected Control createContents(Composite parent) {
132131
fTreeViewer = new TreeViewer(client);
133132
GridDataFactory.create(GridData.FILL_BOTH).hint(SWT.DEFAULT, 200).applyTo(fTreeViewer.getTree());
134133

135-
// Mac Silicon Item height
136-
UIUtils.fixMacSiliconItemHeight(fTreeViewer.getTree());
137-
138134
// Tree Double-click listener
139135
fTreeViewer.addDoubleClickListener(new IDoubleClickListener() {
140136
@Override

com.archimatetool.editor/src/com/archimatetool/editor/preferences/ConnectionsARMPreferencePage.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030

3131
import com.archimatetool.editor.ArchiPlugin;
3232
import com.archimatetool.editor.ui.ArchiLabelProvider;
33-
import com.archimatetool.editor.ui.UIUtils;
3433

3534

3635

@@ -140,9 +139,6 @@ public void widgetSelected(SelectionEvent e) {
140139
private CheckboxTableViewer createRelationsTable(Composite parent) {
141140
final CheckboxTableViewer viewer = CheckboxTableViewer.newCheckList(parent, SWT.BORDER);
142141

143-
// Mac Silicon Item height
144-
UIUtils.fixMacSiliconItemHeight(viewer.getTable());
145-
146142
GridDataFactory.create(GridData.FILL_HORIZONTAL).hint(SWT.DEFAULT, 100).applyTo(viewer.getTable());
147143

148144
viewer.setLabelProvider(new LabelProvider() {

com.archimatetool.editor/src/com/archimatetool/editor/preferences/FontsPreferencePage.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
import com.archimatetool.editor.ArchiPlugin;
4444
import com.archimatetool.editor.ui.FontFactory;
4545
import com.archimatetool.editor.ui.IArchiImages;
46-
import com.archimatetool.editor.ui.UIUtils;
4746
import com.archimatetool.editor.utils.StringUtils;
4847

4948
/**
@@ -174,9 +173,6 @@ public Composite createContents(Composite parent) {
174173
private void createTable(Composite parent) {
175174
fTableViewer = new TableViewer(parent);
176175

177-
// Mac Silicon Item height
178-
UIUtils.fixMacSiliconItemHeight(fTableViewer.getTable());
179-
180176
GridDataFactory.create(GridData.FILL_BOTH).hint(SWT.DEFAULT, 200).applyTo(fTableViewer.getTable());
181177

182178
// Table Double-click listener

com.archimatetool.editor/src/com/archimatetool/editor/propertysections/ImageManagerDialog.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
import com.archimatetool.editor.model.IEditorModelManager;
5757
import com.archimatetool.editor.ui.ArchiLabelProvider;
5858
import com.archimatetool.editor.ui.IArchiImages;
59-
import com.archimatetool.editor.ui.UIUtils;
6059
import com.archimatetool.editor.ui.components.ExtendedTitleAreaDialog;
6160
import com.archimatetool.model.IArchimateModel;
6261
import com.archimatetool.model.INameable;
@@ -385,9 +384,6 @@ private class ModelsViewer extends TableViewer {
385384
public ModelsViewer(Composite parent) {
386385
super(parent, SWT.FULL_SELECTION);
387386

388-
// Mac Silicon Item height
389-
UIUtils.fixMacSiliconItemHeight(getTable());
390-
391387
setColumns();
392388
setContentProvider(new ModelsViewerContentProvider());
393389
setLabelProvider(new ModelsViewerLabelProvider());

com.archimatetool.editor/src/com/archimatetool/editor/propertysections/UsedInRelationshipsSection.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ private void createTableControl(Composite parent) {
9090
// Font
9191
UIUtils.setFontFromPreferences(fTableViewer.getTable(), IPreferenceConstants.ANALYSIS_TABLE_FONT, true);
9292

93-
// Mac Silicon Item height
94-
UIUtils.fixMacSiliconItemHeight(fTableViewer.getTable());
95-
9693
// Column
9794
TableViewerColumn column = new TableViewerColumn(fTableViewer, SWT.NONE, 0);
9895
tableLayout.setColumnData(column.getColumn(), new ColumnWeightData(100, false));

0 commit comments

Comments
 (0)