It was importing tmf.core's Activator! :O
Change-Id: I9b7edce8c59f9638292bf20b2f3ecc4253b8c4c4
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/76783
Reviewed-by: Hudson CI
import org.eclipse.swt.widgets.Composite;
import org.eclipse.tracecompass.common.core.format.DataSizeWithUnitFormat;
import org.eclipse.tracecompass.internal.lttng2.ust.core.analysis.memory.UstMemoryStrings;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.tracecompass.common.core.format.DataSizeWithUnitFormat;
import org.eclipse.tracecompass.internal.lttng2.ust.core.analysis.memory.UstMemoryStrings;
-import org.eclipse.tracecompass.internal.tmf.core.Activator;
+import org.eclipse.tracecompass.internal.lttng2.ust.ui.Activator;
import org.eclipse.tracecompass.lttng2.ust.core.analysis.memory.UstMemoryAnalysisModule;
import org.eclipse.tracecompass.statesystem.core.ITmfStateSystem;
import org.eclipse.tracecompass.statesystem.core.exceptions.AttributeNotFoundException;
import org.eclipse.tracecompass.lttng2.ust.core.analysis.memory.UstMemoryAnalysisModule;
import org.eclipse.tracecompass.statesystem.core.ITmfStateSystem;
import org.eclipse.tracecompass.statesystem.core.exceptions.AttributeNotFoundException;
*
* @author Matthew Khouzam
*/
*
* @author Matthew Khouzam
*/
-@SuppressWarnings("restriction")
public class MemoryUsageViewer extends TmfCommonXLineChartViewer {
private TmfStateSystemAnalysisModule fModule = null;
public class MemoryUsageViewer extends TmfCommonXLineChartViewer {
private TmfStateSystemAnalysisModule fModule = null;
updateDisplay();
}
} catch (AttributeNotFoundException | StateValueTypeException e) {
updateDisplay();
}
} catch (AttributeNotFoundException | StateValueTypeException e) {
- Activator.logError("Error updating the data of the Memory usage view", e); //$NON-NLS-1$
+ Activator.getDefault().logError("Error updating the data of the Memory usage view", e); //$NON-NLS-1$
} catch (StateSystemDisposedException e) {
/* State system is closing down, no point continuing */
}
} catch (StateSystemDisposedException e) {
/* State system is closing down, no point continuing */
}