lttng.ust: Use correct Activator in MemoryUsageViewer
[deliverable/tracecompass.git] / lttng / org.eclipse.tracecompass.lttng2.ust.ui / src / org / eclipse / tracecompass / internal / lttng2 / ust / ui / views / memusage / MemoryUsageViewer.java
index 80eee6a91c0d9249cecaa0f6842bd53de0b2c581..72e186ada7a7a4caba4e8d6c18c9afed019d7d49 100644 (file)
@@ -24,7 +24,7 @@ import org.eclipse.swt.SWT;
 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;
@@ -44,7 +44,6 @@ import org.swtchart.Chart;
  *
  * @author Matthew Khouzam
  */
-@SuppressWarnings("restriction")
 public class MemoryUsageViewer extends TmfCommonXLineChartViewer {
 
     private TmfStateSystemAnalysisModule fModule = null;
@@ -177,7 +176,7 @@ public class MemoryUsageViewer extends TmfCommonXLineChartViewer {
                 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 */
         }
This page took 0.025675 seconds and 5 git commands to generate.