Search in sources :

Example 6 with DashboardElement

use of org.netxms.client.dashboards.DashboardElement in project netxms by netxms.

the class DashboardControl method addLabel.

/**
 * Add label widget to dashboard
 */
public void addLabel() {
    DashboardElement e = new DashboardElement(DashboardElement.LABEL, DEFAULT_LABEL_CONFIG);
    addElement(e);
}
Also used : DashboardElement(org.netxms.client.dashboards.DashboardElement)

Example 7 with DashboardElement

use of org.netxms.client.dashboards.DashboardElement in project netxms by netxms.

the class DashboardControl method addStatusIndicator.

/**
 * Add status indicator widget to dashboard
 */
public void addStatusIndicator() {
    DashboardElement e = new DashboardElement(DashboardElement.STATUS_INDICATOR, DEFAULT_OBJECT_REFERENCE_CONFIG);
    addElement(e);
}
Also used : DashboardElement(org.netxms.client.dashboards.DashboardElement)

Example 8 with DashboardElement

use of org.netxms.client.dashboards.DashboardElement in project netxms by netxms.

the class DashboardControl method addSyslogMonitor.

public void addSyslogMonitor() {
    DashboardElement e = new DashboardElement(DashboardElement.SYSLOG_MONITOR, DEFAULT_OBJECT_REFERENCE_CONFIG);
    addElement(e);
}
Also used : DashboardElement(org.netxms.client.dashboards.DashboardElement)

Example 9 with DashboardElement

use of org.netxms.client.dashboards.DashboardElement in project netxms by netxms.

the class DashboardControl method addLineChart.

/**
 * Add tube chart widget to dashboard
 */
public void addLineChart() {
    DashboardElement e = new DashboardElement(DashboardElement.LINE_CHART, DEFAULT_LINE_CHART_CONFIG);
    addElement(e);
}
Also used : DashboardElement(org.netxms.client.dashboards.DashboardElement)

Example 10 with DashboardElement

use of org.netxms.client.dashboards.DashboardElement in project netxms by netxms.

the class DashboardControl method addPieChart.

/**
 * Add pie chart widget to dashboard
 */
public void addPieChart() {
    DashboardElement e = new DashboardElement(DashboardElement.PIE_CHART, DEFAULT_CHART_CONFIG);
    addElement(e);
}
Also used : DashboardElement(org.netxms.client.dashboards.DashboardElement)

Aggregations

DashboardElement (org.netxms.client.dashboards.DashboardElement)23 IStructuredSelection (org.eclipse.jface.viewers.IStructuredSelection)5 IProgressMonitor (org.eclipse.core.runtime.IProgressMonitor)4 StructuredSelection (org.eclipse.jface.viewers.StructuredSelection)3 NXCSession (org.netxms.client.NXCSession)3 ConsoleJob (org.netxms.ui.eclipse.jobs.ConsoleJob)3 NXCObjectModificationData (org.netxms.client.NXCObjectModificationData)2 AbstractObject (org.netxms.client.objects.AbstractObject)2 DashboardElementConfig (org.netxms.ui.eclipse.dashboard.widgets.internal.DashboardElementConfig)2 File (java.io.File)1 FileOutputStream (java.io.FileOutputStream)1 OutputStreamWriter (java.io.OutputStreamWriter)1 ArrayList (java.util.ArrayList)1 HashMap (java.util.HashMap)1 HashSet (java.util.HashSet)1 List (java.util.List)1 Entry (java.util.Map.Entry)1 AtomicLong (java.util.concurrent.atomic.AtomicLong)1 DocumentBuilder (javax.xml.parsers.DocumentBuilder)1 DocumentBuilderFactory (javax.xml.parsers.DocumentBuilderFactory)1