Search in sources :

Example 1 with ObjectIdMatchingData

use of org.netxms.ui.eclipse.dashboard.dialogs.helpers.ObjectIdMatchingData in project netxms by netxms.

the class RackDiagramConfig method remapObjects.

/* (non-Javadoc)
    * @see org.netxms.ui.eclipse.dashboard.widgets.internal.DashboardElementConfig#remapObjects(java.util.Map)
    */
@Override
public void remapObjects(Map<Long, ObjectIdMatchingData> remapData) {
    super.remapObjects(remapData);
    ObjectIdMatchingData md = remapData.get(objectId);
    if (md != null)
        objectId = md.dstId;
}
Also used : ObjectIdMatchingData(org.netxms.ui.eclipse.dashboard.dialogs.helpers.ObjectIdMatchingData)

Example 2 with ObjectIdMatchingData

use of org.netxms.ui.eclipse.dashboard.dialogs.helpers.ObjectIdMatchingData in project netxms by netxms.

the class AvailabilityChartConfig method remapObjects.

/* (non-Javadoc)
	 * @see org.netxms.ui.eclipse.dashboard.widgets.internal.DashboardElementConfig#remapObjects(java.util.Map)
	 */
@Override
public void remapObjects(Map<Long, ObjectIdMatchingData> remapData) {
    super.remapObjects(remapData);
    ObjectIdMatchingData md = remapData.get(objectId);
    if (md != null)
        objectId = md.dstId;
}
Also used : ObjectIdMatchingData(org.netxms.ui.eclipse.dashboard.dialogs.helpers.ObjectIdMatchingData)

Example 3 with ObjectIdMatchingData

use of org.netxms.ui.eclipse.dashboard.dialogs.helpers.ObjectIdMatchingData in project netxms by netxms.

the class ServiceComponentsConfig method remapObjects.

/* (non-Javadoc)
    * @see org.netxms.ui.eclipse.dashboard.widgets.internal.DashboardElementConfig#remapObjects(java.util.Map)
    */
@Override
public void remapObjects(Map<Long, ObjectIdMatchingData> remapData) {
    super.remapObjects(remapData);
    ObjectIdMatchingData md = remapData.get(objectId);
    if (md != null)
        objectId = md.dstId;
}
Also used : ObjectIdMatchingData(org.netxms.ui.eclipse.dashboard.dialogs.helpers.ObjectIdMatchingData)

Example 4 with ObjectIdMatchingData

use of org.netxms.ui.eclipse.dashboard.dialogs.helpers.ObjectIdMatchingData in project netxms by netxms.

the class EventMonitorConfig method remapObjects.

/*
    * (non-Javadoc)
    * 
    * @see org.netxms.ui.eclipse.dashboard.widgets.internal.DashboardElementConfig#remapObjects(java.util.Map)
    */
@Override
public void remapObjects(Map<Long, ObjectIdMatchingData> remapData) {
    super.remapObjects(remapData);
    ObjectIdMatchingData md = remapData.get(objectId);
    if (md != null)
        objectId = md.dstId;
}
Also used : ObjectIdMatchingData(org.netxms.ui.eclipse.dashboard.dialogs.helpers.ObjectIdMatchingData)

Example 5 with ObjectIdMatchingData

use of org.netxms.ui.eclipse.dashboard.dialogs.helpers.ObjectIdMatchingData in project netxms by netxms.

the class SnmpTrapMonitorConfig method remapObjects.

/*
    * (non-Javadoc)
    * 
    * @see org.netxms.ui.eclipse.dashboard.widgets.internal.DashboardElementConfig#remapObjects(java.util.Map)
    */
@Override
public void remapObjects(Map<Long, ObjectIdMatchingData> remapData) {
    super.remapObjects(remapData);
    ObjectIdMatchingData md = remapData.get(objectId);
    if (md != null)
        objectId = md.dstId;
}
Also used : ObjectIdMatchingData(org.netxms.ui.eclipse.dashboard.dialogs.helpers.ObjectIdMatchingData)

Aggregations

ObjectIdMatchingData (org.netxms.ui.eclipse.dashboard.dialogs.helpers.ObjectIdMatchingData)18 DashboardElement (org.netxms.client.dashboards.DashboardElement)2 DciIdMatchingData (org.netxms.ui.eclipse.dashboard.dialogs.helpers.DciIdMatchingData)2 HashMap (java.util.HashMap)1 IProgressMonitor (org.eclipse.core.runtime.IProgressMonitor)1 UIJob (org.eclipse.ui.progress.UIJob)1 DciValue (org.netxms.client.datacollection.DciValue)1 AbstractObject (org.netxms.client.objects.AbstractObject)1 IdMatchingDialog (org.netxms.ui.eclipse.dashboard.dialogs.IdMatchingDialog)1 Element (org.w3c.dom.Element)1 NodeList (org.w3c.dom.NodeList)1