analysis: Move plugins to their own sub-directory
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.ui / src / org / eclipse / tracecompass / tmf / ui / editors / UnsortedPropertySheetPage.java
1 /*******************************************************************************
2 * Copyright (c) 2012, 2014 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.tracecompass.tmf.ui.editors;
14
15 import org.eclipse.swt.widgets.Composite;
16 import org.eclipse.ui.views.properties.IPropertySheetEntry;
17 import org.eclipse.ui.views.properties.PropertySheetPage;
18 import org.eclipse.ui.views.properties.PropertySheetSorter;
19
20 /**
21 * Property sheet page with empty sorter
22 *
23 * @author Patrick Tasse
24 */
25 public class UnsortedPropertySheetPage extends PropertySheetPage {
26
27 @Override
28 public void createControl(Composite parent) {
29 super.createControl(parent);
30 // Override for unsorted property sheet page
31 // See bug 1883 comment 43 and bug 109617
32 setSorter(new PropertySheetSorter() {
33 @Override
34 public void sort(IPropertySheetEntry[] entries) {
35 }
36 });
37 }
38
39 }
This page took 0.070522 seconds and 5 git commands to generate.