minor changes
authorVictor Kirhenshtein <victor@netxms.org>
Thu, 17 Oct 2013 17:39:01 +0000 (17:39 +0000)
committerVictor Kirhenshtein <victor@netxms.org>
Thu, 17 Oct 2013 17:39:01 +0000 (17:39 +0000)
src/java/netxms-eclipse/Dashboard/src/org/netxms/ui/eclipse/dashboard/api/CustomDashboardElement.java
src/java/netxms-eclipse/core/src/org/netxms/ui/eclipse/widgets/AbstractTraceWidget.java

index 910575e..c59308d 100644 (file)
 package org.netxms.ui.eclipse.dashboard.api;\r
 \r
 import org.eclipse.swt.widgets.Composite;\r
+import org.netxms.ui.eclipse.widgets.DashboardComposite;\r
 \r
 /**\r
  * Base class for custom dashboard widgets\r
  */\r
-public abstract class CustomDashboardElement extends Composite\r
+public abstract class CustomDashboardElement extends DashboardComposite\r
 {\r
        /**\r
         * @param parent\r
index e6efbb5..f4bde9b 100644 (file)
@@ -360,7 +360,7 @@ public abstract class AbstractTraceWidget extends Composite
         */
        protected void runInUIThread(final Runnable runnable)
        {
-               viewer.getControl().getDisplay().asyncExec(runnable);
+               getDisplay().asyncExec(runnable);
        }
        
        /**