Normalize line endings (part3)
authorAlex Kirhenshtein <alk@netxms.org>
Wed, 6 Nov 2013 17:30:33 +0000 (19:30 +0200)
committerAlex Kirhenshtein <alk@netxms.org>
Wed, 6 Nov 2013 17:30:33 +0000 (19:30 +0200)
492 files changed:
webui/webapp/Core/schema/org.netxms.ui.eclipse.branding.exsd
webui/webapp/Core/schema/org.netxms.ui.eclipse.colorproviders.exsd
webui/webapp/Core/schema/org.netxms.ui.eclipse.loginlisteners.exsd
webui/webapp/Core/schema/org.netxms.ui.eclipse.sessionproviders.exsd
webui/webapp/Core/src/org/netxms/ui/eclipse/actions/ExportToCsvAction.java
webui/webapp/Core/src/org/netxms/ui/eclipse/actions/RefreshAction.java
webui/webapp/Core/src/org/netxms/ui/eclipse/actions/ViewerProvider.java
webui/webapp/Core/src/org/netxms/ui/eclipse/console/api/BrandingProvider.java
webui/webapp/Core/src/org/netxms/ui/eclipse/console/api/ConsoleLoginListener.java
webui/webapp/Core/src/org/netxms/ui/eclipse/console/api/LoginForm.java
webui/webapp/Core/src/org/netxms/ui/eclipse/console/perspectives/DefaultPerspective.java
webui/webapp/Core/src/org/netxms/ui/eclipse/console/preferencepages/RegionalSettingsPrefPage.java
webui/webapp/Core/src/org/netxms/ui/eclipse/console/resources/DataCollectionDisplayInfo.java
webui/webapp/Core/src/org/netxms/ui/eclipse/console/resources/StatusDisplayInfo.java
webui/webapp/Core/src/org/netxms/ui/eclipse/console/tools/ExtendedPropertyDialog.java
webui/webapp/Core/src/org/netxms/ui/eclipse/console/tools/IPAddressValidator.java
webui/webapp/Core/src/org/netxms/ui/eclipse/console/tools/IPNetMaskValidator.java
webui/webapp/Core/src/org/netxms/ui/eclipse/console/tools/MacAddressValidator.java
webui/webapp/Core/src/org/netxms/ui/eclipse/console/tools/ObjectNameValidator.java
webui/webapp/Core/src/org/netxms/ui/eclipse/console/tools/RegionalSettings.java
webui/webapp/Core/src/org/netxms/ui/eclipse/jobs/ConsoleJob.java
webui/webapp/Core/src/org/netxms/ui/eclipse/shared/ConsoleSharedData.java
webui/webapp/Core/src/org/netxms/ui/eclipse/shared/IActionConstants.java
webui/webapp/Core/src/org/netxms/ui/eclipse/shared/SharedIcons.java
webui/webapp/Core/src/org/netxms/ui/eclipse/tools/ColorCache.java
webui/webapp/Core/src/org/netxms/ui/eclipse/tools/ColorConverter.java
webui/webapp/Core/src/org/netxms/ui/eclipse/tools/ComparatorHelper.java
webui/webapp/Core/src/org/netxms/ui/eclipse/tools/ImageCache.java
webui/webapp/Core/src/org/netxms/ui/eclipse/tools/IntermediateSelectionProvider.java
webui/webapp/Core/src/org/netxms/ui/eclipse/tools/NumericTextFieldValidator.java
webui/webapp/Core/src/org/netxms/ui/eclipse/tools/ObjectLabelComparator.java
webui/webapp/Core/src/org/netxms/ui/eclipse/tools/TextFieldValidator.java
webui/webapp/Core/src/org/netxms/ui/eclipse/tools/WidgetFactory.java
webui/webapp/Core/src/org/netxms/ui/eclipse/views/AbstractTraceView.java
webui/webapp/Core/src/org/netxms/ui/eclipse/views/helpers/AbstractTraceViewFilter.java
webui/webapp/Core/src/org/netxms/ui/eclipse/widgets/AbstractSelector.java
webui/webapp/Core/src/org/netxms/ui/eclipse/widgets/AnimatedImage.java
webui/webapp/Core/src/org/netxms/ui/eclipse/widgets/DashboardComposite.java
webui/webapp/Core/src/org/netxms/ui/eclipse/widgets/DateTimeSelector.java
webui/webapp/Core/src/org/netxms/ui/eclipse/widgets/FilterText.java
webui/webapp/Core/src/org/netxms/ui/eclipse/widgets/LabeledText.java
webui/webapp/Core/src/org/netxms/ui/eclipse/widgets/StatusSelector.java
webui/webapp/Core/src/org/netxms/ui/eclipse/widgets/helpers/DashboardElementButton.java
webui/webapp/Core/src/org/netxms/ui/eclipse/widgets/helpers/TableSortingListener.java
webui/webapp/Core/src/org/netxms/webui/core/Activator.java
webui/webapp/Core/src/org/netxms/webui/core/BrandingManager.java
webui/webapp/Core/src/org/netxms/webui/core/DownloadServiceHandler.java
webui/webapp/Core/src/org/netxms/webui/core/ExtendedContributionComparator.java
webui/webapp/Core/src/org/netxms/webui/core/LoginJob.java
webui/webapp/Core/src/org/netxms/webui/core/Messages.java
webui/webapp/Core/src/org/netxms/webui/core/dialogs/DefaultLoginForm.java
webui/webapp/Core/src/org/netxms/webui/core/dialogs/LoginSettingsDialog.java
webui/webapp/Core/src/org/netxms/webui/core/dialogs/PasswordExpiredDialog.java
webui/webapp/Core/src/org/netxms/webui/core/messages.properties
webui/webapp/Core/src/org/netxms/webui/core/messages_es.properties
webui/webapp/Core/src/org/netxms/webui/core/messages_ru.properties
webui/webapp/Core/src/org/netxms/webui/core/messages_zh_CN.properties
webui/webapp/Dashboard/.settings/org.eclipse.core.resources.prefs
webui/webapp/Dashboard/.settings/org.eclipse.jdt.core.prefs
webui/webapp/Dashboard/build.properties
webui/webapp/Dashboard/plugin.xml
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/Activator.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/DashboardOpenHandler.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/Messages.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/actions/CloneDashboard.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/actions/CreateDashboard.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/actions/ExportDashboard.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/actions/ImportDashboard.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/actions/OpenDashboard.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/api/CustomDashboardElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/api/DashboardElementCreationData.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/dialogs/AddDashboardElementDlg.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/dialogs/EditElementXmlDlg.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/dialogs/ImportDashboardDialog.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/messages.properties
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/messages_es.properties
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/messages_ru.properties
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/messages_zh_CN.properties
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/perspectives/DashboardPerspective.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/propertypages/AbstractChart.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/propertypages/AlarmViewer.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/propertypages/AvailabilityChart.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/propertypages/CustomWidget.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/propertypages/DashboardElements.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/propertypages/GeoMap.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/propertypages/Layout.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/propertypages/NetworkMap.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/propertypages/ObjectStatusChart.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/propertypages/StatusIndicator.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/propertypages/TableComparisonChart.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/propertypages/TableDataSource.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/propertypages/WebPage.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/propertypages/helpers/DashboardElementsLabelProvider.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/views/DashboardDynamicView.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/views/DashboardNavigator.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/views/DashboardView.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/AlarmViewerElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/AvailabilityChartElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/BarChartElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/ComparisonChartElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/CustomWidgetElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/DashboardControl.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/ElementWidget.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/EmbeddedDashboardElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/GeoMapElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/LabelElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/LineChartElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/NetworkMapElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/ObjectStatusChartElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/PieChartElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/StatusIndicatorElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/TableBarChartElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/TableComparisonChartElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/TablePieChartElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/TableTubeChartElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/WebPageElement.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/AlarmViewerConfig.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/AvailabilityChartConfig.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/BarChartConfig.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/ComparisonChartConfig.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/CustomWidgetConfig.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/DashboardElementLayout.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/DashboardModifyListener.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/EmbeddedDashboardConfig.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/GeoMapConfig.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/LabelConfig.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/LineChartConfig.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/NetworkMapConfig.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/ObjectStatusChartConfig.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/PieChartConfig.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/StatusIndicatorConfig.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/TableBarChartConfig.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/TableComparisonChartConfig.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/TablePieChartConfig.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/TableTubeChartConfig.java
webui/webapp/Dashboard/src/org/netxms/ui/eclipse/dashboard/widgets/internal/WebPageConfig.java
webui/webapp/DataCollection/.settings/org.eclipse.core.resources.prefs
webui/webapp/DataCollection/.settings/org.eclipse.jdt.core.prefs
webui/webapp/DataCollection/build.properties
webui/webapp/DataCollection/plugin.xml
webui/webapp/DataCollection/schema/org.netxms.ui.eclipse.datacollection.dciOpenHandlers.exsd
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/Activator.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/DataCollectionAdapterFactory.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/DataCollectionObjectPropertyTester.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/LoginListener.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/Messages.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/SummaryTablesCache.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/SummaryTablesDynamicMenu.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/ThresholdLabelProvider.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/actions/CreateTemplate.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/actions/CreateTemplateGroup.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/actions/OpenEditor.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/actions/OpenSummaryTablesManager.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/actions/ShowLastValues.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/actions/ToggleDCIFilterHandler.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/api/DataCollectionObjectEditor.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/api/DataCollectionObjectListener.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/api/DciOpenHandler.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/dialogs/AbstractSelectParamDlg.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/dialogs/CreateInterfaceDciDialog.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/dialogs/EditColumnDialog.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/dialogs/EditDciSummaryTableColumnDlg.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/dialogs/EditScheduleDialog.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/dialogs/EditThresholdDialog.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/dialogs/IParameterSelectionDialog.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/dialogs/SelectAgentParamDlg.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/dialogs/SelectDciDialog.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/dialogs/SelectInternalParamDlg.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/dialogs/SelectSnmpParamDlg.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/dialogs/helpers/AgentParameterComparator.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/dialogs/helpers/AgentParameterFilter.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/dialogs/helpers/AgentParameterLabelProvider.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/dialogs/helpers/InterfaceDciInfo.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/messages.properties
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/messages_es.properties
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/messages_ru.properties
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/messages_zh_CN.properties
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/objecttabs/LastValues.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/objecttabs/ThresholdSummary.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/propertypages/ClusterOptions.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/propertypages/CustomSchedule.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/propertypages/General.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/propertypages/GeneralTable.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/propertypages/NetworkMaps.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/propertypages/SummaryTableColumns.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/propertypages/SummaryTableFilter.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/propertypages/SummaryTableGeneral.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/propertypages/TableColumns.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/propertypages/Thresholds.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/propertypages/Transformation.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/propertypages/helpers/SummaryTableColumnLabelProvider.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/propertypages/helpers/TableColumnLabelProvider.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/views/DataCollectionEditor.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/views/LastValues.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/views/SummaryTable.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/views/SummaryTableManager.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/views/helpers/DciComparator.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/views/helpers/SummaryTableComparator.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/views/helpers/SummaryTableLabelProvider.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/views/helpers/TableContentProvider.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/views/helpers/TableItemComparator.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/views/helpers/TableLabelProvider.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/widgets/DciList.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/widgets/DciSelector.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/widgets/ThresholdSummaryWidget.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/widgets/internal/DciListComparator.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/widgets/internal/DciListLabelProvider.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/widgets/internal/LastValuesComparator.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/widgets/internal/LastValuesLabelProvider.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/widgets/internal/ThresholdTreeComparator.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/widgets/internal/ThresholdTreeContentProvider.java
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/widgets/internal/ThresholdTreeLabelProvider.java
webui/webapp/EPP/.settings/org.eclipse.jdt.core.prefs
webui/webapp/EPP/build.properties
webui/webapp/EPP/plugin.xml
webui/webapp/EPP/src/org/netxms/ui/eclipse/epp/Messages.java
webui/webapp/EPP/src/org/netxms/ui/eclipse/epp/messages.properties
webui/webapp/EPP/src/org/netxms/ui/eclipse/epp/messages_es.properties
webui/webapp/EPP/src/org/netxms/ui/eclipse/epp/messages_ru.properties
webui/webapp/EPP/src/org/netxms/ui/eclipse/epp/messages_zh_CN.properties
webui/webapp/EPP/src/org/netxms/ui/eclipse/epp/views/helpers/AttributeComparator.java
webui/webapp/EventManager/.settings/org.eclipse.core.resources.prefs
webui/webapp/EventManager/.settings/org.eclipse.jdt.core.prefs
webui/webapp/EventManager/build.properties
webui/webapp/EventManager/plugin.xml
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/Activator.java
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/EventTemplateAdapterFactory.java
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/Messages.java
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/PreferenceInitializer.java
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/actions/OpenEventConfigurator.java
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/actions/OpenEventMonitor.java
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/actions/OpenSyslogMonitor.java
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/dialogs/EditEventTemplateDialog.java
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/dialogs/EventSelectionDialog.java
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/dialogs/helpers/EventListFilter.java
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/messages.properties
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/messages_es.properties
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/messages_ru.properties
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/messages_zh_CN.properties
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/views/EventConfigurator.java
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/views/EventMonitor.java
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/views/SyslogMonitor.java
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/views/helpers/EventTemplateComparator.java
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/views/helpers/EventTemplateLabelProvider.java
webui/webapp/EventManager/src/org/netxms/ui/eclipse/eventmanager/widgets/EventSelector.java
webui/webapp/FileManager/.settings/org.eclipse.core.resources.prefs
webui/webapp/FileManager/.settings/org.eclipse.jdt.core.prefs
webui/webapp/FileManager/build.properties
webui/webapp/FileManager/plugin.xml
webui/webapp/FileManager/src/org/netxms/ui/eclipse/filemanager/Messages.java
webui/webapp/FileManager/src/org/netxms/ui/eclipse/filemanager/messages.properties
webui/webapp/FileManager/src/org/netxms/ui/eclipse/filemanager/messages_es.properties
webui/webapp/FileManager/src/org/netxms/ui/eclipse/filemanager/messages_ru.properties
webui/webapp/FileManager/src/org/netxms/ui/eclipse/filemanager/messages_zh_CN.properties
webui/webapp/ImageLibrary/.settings/org.eclipse.jdt.core.prefs
webui/webapp/ImageLibrary/build.properties
webui/webapp/ImageLibrary/plugin.xml
webui/webapp/ImageLibrary/src/org/netxms/ui/eclipse/imagelibrary/Activator.java
webui/webapp/ImageLibrary/src/org/netxms/ui/eclipse/imagelibrary/LoginListener.java
webui/webapp/ImageLibrary/src/org/netxms/ui/eclipse/imagelibrary/Messages.java
webui/webapp/ImageLibrary/src/org/netxms/ui/eclipse/imagelibrary/actions/OpenLibraryManager.java
webui/webapp/ImageLibrary/src/org/netxms/ui/eclipse/imagelibrary/dialogs/ImagePropertiesDialog.java
webui/webapp/ImageLibrary/src/org/netxms/ui/eclipse/imagelibrary/dialogs/ImageSelectionDialog.java
webui/webapp/ImageLibrary/src/org/netxms/ui/eclipse/imagelibrary/messages.properties
webui/webapp/ImageLibrary/src/org/netxms/ui/eclipse/imagelibrary/messages_es.properties
webui/webapp/ImageLibrary/src/org/netxms/ui/eclipse/imagelibrary/messages_ru.properties
webui/webapp/ImageLibrary/src/org/netxms/ui/eclipse/imagelibrary/messages_zh_CN.properties
webui/webapp/ImageLibrary/src/org/netxms/ui/eclipse/imagelibrary/shared/ImageProvider.java
webui/webapp/ImageLibrary/src/org/netxms/ui/eclipse/imagelibrary/shared/ImageUpdateListener.java
webui/webapp/ImageLibrary/src/org/netxms/ui/eclipse/imagelibrary/views/ImageLibrary.java
webui/webapp/ImageLibrary/src/org/netxms/ui/eclipse/imagelibrary/widgets/ImageSelector.java
webui/webapp/LogViewer/.settings/org.eclipse.jdt.core.prefs
webui/webapp/LogViewer/build.properties
webui/webapp/LogViewer/plugin.xml
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/Activator.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/Messages.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/actions/OpenAlarmLog.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/actions/OpenAuditLog.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/actions/OpenEventLog.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/actions/OpenSnmpTrapLog.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/actions/OpenSyslog.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/messages.properties
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/messages_es.properties
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/messages_ru.properties
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/messages_zh_CN.properties
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/views/LogViewer.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/views/helpers/LogLabelProvider.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/widgets/AlarmHDStateConditionEditor.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/widgets/AlarmStateConditionEditor.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/widgets/ColumnFilterEditor.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/widgets/ConditionEditor.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/widgets/EventConditionEditor.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/widgets/FilterBuilder.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/widgets/IntegerConditionEditor.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/widgets/ObjectConditionEditor.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/widgets/SeverityConditionEditor.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/widgets/TextConditionEditor.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/widgets/TimestampConditionEditor.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/widgets/UserConditionEditor.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/widgets/helpers/ColumnSelectionHandler.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/widgets/helpers/OrderingColumnEditingSupport.java
webui/webapp/LogViewer/src/org/netxms/ui/eclipse/logviewer/widgets/helpers/OrderingListLabelProvider.java
webui/webapp/NXSL/.settings/org.eclipse.jdt.core.prefs
webui/webapp/NXSL/build.properties
webui/webapp/NXSL/plugin.xml
webui/webapp/NXSL/resource.properties
webui/webapp/NXSL/src/org/netxms/ui/eclipse/nxsl/Activator.java
webui/webapp/NXSL/src/org/netxms/ui/eclipse/nxsl/actions/OpenScriptLibrary.java
webui/webapp/NXSL/src/org/netxms/ui/eclipse/nxsl/dialogs/CreateScriptDialog.java
webui/webapp/NXSL/src/org/netxms/ui/eclipse/nxsl/dialogs/SelectScriptDialog.java
webui/webapp/NXSL/src/org/netxms/ui/eclipse/nxsl/views/ScriptEditorView.java
webui/webapp/NXSL/src/org/netxms/ui/eclipse/nxsl/views/ScriptLibrary.java
webui/webapp/NXSL/src/org/netxms/ui/eclipse/nxsl/views/helpers/ScriptComparator.java
webui/webapp/NXSL/src/org/netxms/ui/eclipse/nxsl/views/helpers/ScriptLabelProvider.java
webui/webapp/NXSL/src/org/netxms/ui/eclipse/nxsl/widgets/ScriptEditor.java
webui/webapp/NXSL/src/org/netxms/ui/eclipse/nxsl/widgets/ScriptSelector.java
webui/webapp/NetworkMaps/build.properties
webui/webapp/NetworkMaps/plugin.xml
webui/webapp/NetworkMaps/schema/org.netxms.ui.eclipse.networkmaps.imageproviders.exsd
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/Activator.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/Messages.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/NetworkMapOpenHandler.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/actions/CreateMapGroup.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/actions/CreateNetworkMap.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/actions/OpenMapObject.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/actions/ShowIPNeighbors.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/actions/ShowIPRoute.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/actions/ShowLayer2Topology.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/actions/ShowServiceComponents.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/actions/ShowServiceDependency.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/algorithms/ManualLayout.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/algorithms/SparseTree.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/dialogs/AddGroupBoxDialog.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/dialogs/CreateNetworkMapDialog.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/messages.properties
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/messages_es.properties
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/messages_ru.properties
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/messages_zh_CN.properties
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/preferencepages/GeneralMapPreferences.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/propertypages/MapBackground.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/propertypages/MapLinkGeneral.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/propertypages/MapOptions.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/AbstractNetworkMapView.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/IPNeighbors.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/IPRouteMap.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/Layer2Topology.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/PredefinedMap.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/ServiceComponents.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/ServiceDependency.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/VlanMap.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/helpers/ConnectorLabel.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/helpers/DecorationFigure.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/helpers/ExtendedGraphViewer.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/helpers/GraphLayoutFilter.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/helpers/LinkEditor.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/helpers/MapContentProvider.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/helpers/MapLabelProvider.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/helpers/NodeLastValuesFigure.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/helpers/ObjectFigure.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/helpers/ObjectFigureIcon.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/helpers/ObjectFigureSmallLabel.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/helpers/ObjectFigureType.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/helpers/ObjectTooltip.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/helpers/ResourceFigure.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/views/helpers/ZoomAction.java
webui/webapp/NetworkMaps/src/org/netxms/ui/eclipse/networkmaps/widgets/NetworkMapWidget.java
webui/webapp/OSM/.settings/org.eclipse.core.resources.prefs
webui/webapp/OSM/.settings/org.eclipse.jdt.core.prefs
webui/webapp/OSM/build.properties
webui/webapp/OSM/plugin.xml
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/Activator.java
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/GeoLocationCache.java
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/GeoLocationCacheListener.java
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/LoginListener.java
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/Messages.java
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/actions/OpenLocationMap.java
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/actions/OpenWorldMap.java
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/messages.properties
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/messages_es.properties
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/messages_ru.properties
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/messages_zh_CN.properties
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/tools/Area.java
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/tools/MapAccessor.java
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/tools/MapLoader.java
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/tools/QuadTree.java
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/tools/Tile.java
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/tools/TileSet.java
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/views/AbstractGeolocationView.java
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/views/LocationMap.java
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/views/WorldMap.java
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/widgets/GeoMapViewer.java
webui/webapp/OSM/src/org/netxms/ui/eclipse/osm/widgets/helpers/GeoMapListener.java
webui/webapp/ObjectBrowser.AdapterFactory/.settings/org.eclipse.jdt.core.prefs
webui/webapp/ObjectBrowser.AdapterFactory/build.properties
webui/webapp/ObjectBrowser.AdapterFactory/fragment.xml
webui/webapp/ObjectBrowser/OSGI-INF/l10n/bundle.properties
webui/webapp/ObjectBrowser/OSGI-INF/l10n/bundle_es.properties
webui/webapp/ObjectBrowser/OSGI-INF/l10n/bundle_ru.properties
webui/webapp/ObjectBrowser/OSGI-INF/l10n/bundle_zh_CN.properties
webui/webapp/ObjectBrowser/build.properties
webui/webapp/ObjectBrowser/plugin.xml
webui/webapp/ObjectBrowser/schema/org.netxms.ui.eclipse.objectbrowser.objectActionValidators.exsd
webui/webapp/ObjectBrowser/schema/org.netxms.ui.eclipse.objectbrowser.objectOpenHandlers.exsd
webui/webapp/ObjectBrowser/schema/org.netxms.ui.eclipse.objectbrowser.objectSelectionFilterFactories.exsd
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/Activator.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/Messages.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/ObjectDecorator.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/PreferenceInitializer.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/actions/OpenObjectBrowser.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/api/ObjectActionValidator.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/api/ObjectOpenHandler.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/api/ObjectOpenListener.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/api/ObjectSelectionFilterFactory.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/api/SubtreeType.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/dialogs/ChildObjectListDialog.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/dialogs/CreateObjectDialog.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/dialogs/IPAddressSelectionDialog.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/dialogs/ObjectSelectionDialog.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/messages.properties
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/messages_es.properties
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/messages_ru.properties
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/messages_zh_CN.properties
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/views/ObjectBrowser.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/widgets/IPAddressSelector.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/widgets/ObjectSelector.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/widgets/ObjectTree.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/widgets/internal/AddressListLabelProvider.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/widgets/internal/ObjectTreeComparator.java
webui/webapp/ObjectBrowser/src/org/netxms/ui/eclipse/objectbrowser/widgets/internal/ObjectTreeContentProvider.java
webui/webapp/ObjectManager/build.properties
webui/webapp/ObjectManager/plugin.xml
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/Activator.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/AbstractNodePoll.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/ChangeInterfaceExpectedState.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/ChangeZone.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/ConfigurationPoll.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/CreateCluster.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/CreateCondition.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/CreateContainer.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/CreateInterface.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/CreateNetworkService.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/CreateNode.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/CreateZone.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/DeleteObject.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/InterfacePoll.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/Manage.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/MultipleObjectAction.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/RemoveClusterNode.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/StatusPoll.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/TopologyPoll.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/UnbindObject.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/actions/Unmanage.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/dialogs/AttributeEditDialog.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/dialogs/ClusterNetworkEditDialog.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/dialogs/ConditionDciEditDialog.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/dialogs/CreateInterfaceDialog.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/dialogs/CreateNetworkServiceDialog.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/dialogs/CreateNodeDialog.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/dialogs/CreateZoneDialog.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/dialogs/EditClusterResourceDialog.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/dialogs/SetInterfaceExpStateDlg.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/dialogs/ZoneSelectionDialog.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/AccessControl.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/AutoApply.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/AutoBind.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/ClusterNetworks.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/ClusterResources.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/Comments.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/Communication.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/ConditionData.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/ConditionEvents.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/ConditionScript.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/CustomAttributes.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/General.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/InterfacePolling.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/Location.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/MapAppearance.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/NetworkServicePolling.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/NodePolling.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/StatusCalculation.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/TrustedNodes.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/ZoneCommunications.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/helpers/AccessListComparator.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/helpers/AccessListLabelProvider.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/helpers/AttrListLabelProvider.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/helpers/AttrViewerComparator.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/helpers/DciListLabelProvider.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/helpers/NetworkListComparator.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/helpers/NetworkListLabelProvider.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/helpers/ResourceListComparator.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/propertypages/helpers/ResourceListLabelProvider.java
webui/webapp/ObjectManager/src/org/netxms/ui/eclipse/objectmanager/views/NodePollerView.java

index 03151d0..d7b67c6 100644 (file)
-<?xml version='1.0' encoding='UTF-8'?>\r
-<!-- Schema file written by PDE -->\r
-<schema targetNamespace="org.netxms.ui.eclipse.console" xmlns="http://www.w3.org/2001/XMLSchema">\r
-<annotation>\r
-      <appInfo>\r
-         <meta.schema plugin="org.netxms.ui.eclipse.console" id="org.netxms.ui.eclipse.branding" name="NetXMS Console Branding"/>\r
-      </appInfo>\r
-      <documentation>\r
-         Extension for easy NetXMS console branding. This extension point indetnded to be used only by RAden Solutions and it&apos;s authorized partners.\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <element name="extension">\r
-      <annotation>\r
-         <appInfo>\r
-            <meta.element />\r
-         </appInfo>\r
-      </annotation>\r
-      <complexType>\r
-         <sequence minOccurs="1" maxOccurs="unbounded">\r
-            <element ref="provider" minOccurs="1" maxOccurs="unbounded"/>\r
-         </sequence>\r
-         <attribute name="point" type="string" use="required">\r
-            <annotation>\r
-               <documentation>\r
-                  \r
-               </documentation>\r
-            </annotation>\r
-         </attribute>\r
-         <attribute name="id" type="string">\r
-            <annotation>\r
-               <documentation>\r
-                  \r
-               </documentation>\r
-            </annotation>\r
-         </attribute>\r
-         <attribute name="name" type="string">\r
-            <annotation>\r
-               <documentation>\r
-                  \r
-               </documentation>\r
-               <appInfo>\r
-                  <meta.attribute translatable="true"/>\r
-               </appInfo>\r
-            </annotation>\r
-         </attribute>\r
-      </complexType>\r
-   </element>\r
-\r
-   <element name="provider">\r
-      <annotation>\r
-         <documentation>\r
-            Branding provider\r
-         </documentation>\r
-      </annotation>\r
-      <complexType>\r
-         <attribute name="class" type="string" use="required">\r
-            <annotation>\r
-               <documentation>\r
-                  Class implementing branding provider\r
-               </documentation>\r
-               <appInfo>\r
-                  <meta.attribute kind="java" basedOn=":org.netxms.ui.eclipse.console.api.BrandingProvider"/>\r
-               </appInfo>\r
-            </annotation>\r
-         </attribute>\r
-         <attribute name="priority" type="string">\r
-            <annotation>\r
-               <documentation>\r
-                  \r
-               </documentation>\r
-            </annotation>\r
-         </attribute>\r
-      </complexType>\r
-   </element>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="since"/>\r
-      </appInfo>\r
-      <documentation>\r
-         1.2.2\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="examples"/>\r
-      </appInfo>\r
-      <documentation>\r
-         [Enter extension point usage example here.]\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="apiinfo"/>\r
-      </appInfo>\r
-      <documentation>\r
-         [Enter API information here.]\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="implementation"/>\r
-      </appInfo>\r
-      <documentation>\r
-         [Enter information about supplied implementation of this extension point.]\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="copyright"/>\r
-      </appInfo>\r
-      <documentation>\r
-         Copyright (c) 2003-2012 Raden Solutions\r
-      </documentation>\r
-   </annotation>\r
-\r
-</schema>\r
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.netxms.ui.eclipse.console" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+      <appInfo>
+         <meta.schema plugin="org.netxms.ui.eclipse.console" id="org.netxms.ui.eclipse.branding" name="NetXMS Console Branding"/>
+      </appInfo>
+      <documentation>
+         Extension for easy NetXMS console branding. This extension point indetnded to be used only by RAden Solutions and it&apos;s authorized partners.
+      </documentation>
+   </annotation>
+
+   <element name="extension">
+      <annotation>
+         <appInfo>
+            <meta.element />
+         </appInfo>
+      </annotation>
+      <complexType>
+         <sequence minOccurs="1" maxOccurs="unbounded">
+            <element ref="provider" minOccurs="1" maxOccurs="unbounded"/>
+         </sequence>
+         <attribute name="point" type="string" use="required">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="id" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="name" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+               <appInfo>
+                  <meta.attribute translatable="true"/>
+               </appInfo>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <element name="provider">
+      <annotation>
+         <documentation>
+            Branding provider
+         </documentation>
+      </annotation>
+      <complexType>
+         <attribute name="class" type="string" use="required">
+            <annotation>
+               <documentation>
+                  Class implementing branding provider
+               </documentation>
+               <appInfo>
+                  <meta.attribute kind="java" basedOn=":org.netxms.ui.eclipse.console.api.BrandingProvider"/>
+               </appInfo>
+            </annotation>
+         </attribute>
+         <attribute name="priority" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="since"/>
+      </appInfo>
+      <documentation>
+         1.2.2
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="examples"/>
+      </appInfo>
+      <documentation>
+         [Enter extension point usage example here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="apiinfo"/>
+      </appInfo>
+      <documentation>
+         [Enter API information here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="implementation"/>
+      </appInfo>
+      <documentation>
+         [Enter information about supplied implementation of this extension point.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="copyright"/>
+      </appInfo>
+      <documentation>
+         Copyright (c) 2003-2012 Raden Solutions
+      </documentation>
+   </annotation>
+
+</schema>
index aa87e76..4d4c1c2 100644 (file)
-<?xml version='1.0' encoding='UTF-8'?>\r
-<!-- Schema file written by PDE -->\r
-<schema targetNamespace="org.netxms.ui.eclipse.console" xmlns="http://www.w3.org/2001/XMLSchema">\r
-<annotation>\r
-      <appInfo>\r
-         <meta.schema plugin="org.netxms.ui.eclipse.console" id="org.netxms.ui.eclipse.colorproviders" name="Color Providers"/>\r
-      </appInfo>\r
-      <documentation>\r
-         Color providers for NetXMS console\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <element name="extension">\r
-      <annotation>\r
-         <appInfo>\r
-            <meta.element />\r
-         </appInfo>\r
-      </annotation>\r
-      <complexType>\r
-         <sequence minOccurs="1" maxOccurs="unbounded">\r
-            <element ref="provider"/>\r
-         </sequence>\r
-         <attribute name="point" type="string" use="required">\r
-            <annotation>\r
-               <documentation>\r
-                  \r
-               </documentation>\r
-            </annotation>\r
-         </attribute>\r
-         <attribute name="id" type="string">\r
-            <annotation>\r
-               <documentation>\r
-                  \r
-               </documentation>\r
-            </annotation>\r
-         </attribute>\r
-         <attribute name="name" type="string">\r
-            <annotation>\r
-               <documentation>\r
-                  \r
-               </documentation>\r
-               <appInfo>\r
-                  <meta.attribute translatable="true"/>\r
-               </appInfo>\r
-            </annotation>\r
-         </attribute>\r
-      </complexType>\r
-   </element>\r
-\r
-   <element name="provider">\r
-      <complexType>\r
-         <attribute name="class" type="string" use="required">\r
-            <annotation>\r
-               <documentation>\r
-                  \r
-               </documentation>\r
-               <appInfo>\r
-                  <meta.attribute kind="java" basedOn=":org.netxms.ui.eclipse.console.api.ColorProvider"/>\r
-               </appInfo>\r
-            </annotation>\r
-         </attribute>\r
-         <attribute name="priority" type="string">\r
-            <annotation>\r
-               <documentation>\r
-                  \r
-               </documentation>\r
-            </annotation>\r
-         </attribute>\r
-      </complexType>\r
-   </element>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="since"/>\r
-      </appInfo>\r
-      <documentation>\r
-         1.2.7\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="examples"/>\r
-      </appInfo>\r
-      <documentation>\r
-         [Enter extension point usage example here.]\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="apiinfo"/>\r
-      </appInfo>\r
-      <documentation>\r
-         [Enter API information here.]\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="implementation"/>\r
-      </appInfo>\r
-      <documentation>\r
-         [Enter information about supplied implementation of this extension point.]\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="copyright"/>\r
-      </appInfo>\r
-      <documentation>\r
-         Copyright (c) 2013 Raden Solutions\r
-      </documentation>\r
-   </annotation>\r
-\r
-</schema>\r
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.netxms.ui.eclipse.console" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+      <appInfo>
+         <meta.schema plugin="org.netxms.ui.eclipse.console" id="org.netxms.ui.eclipse.colorproviders" name="Color Providers"/>
+      </appInfo>
+      <documentation>
+         Color providers for NetXMS console
+      </documentation>
+   </annotation>
+
+   <element name="extension">
+      <annotation>
+         <appInfo>
+            <meta.element />
+         </appInfo>
+      </annotation>
+      <complexType>
+         <sequence minOccurs="1" maxOccurs="unbounded">
+            <element ref="provider"/>
+         </sequence>
+         <attribute name="point" type="string" use="required">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="id" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="name" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+               <appInfo>
+                  <meta.attribute translatable="true"/>
+               </appInfo>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <element name="provider">
+      <complexType>
+         <attribute name="class" type="string" use="required">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+               <appInfo>
+                  <meta.attribute kind="java" basedOn=":org.netxms.ui.eclipse.console.api.ColorProvider"/>
+               </appInfo>
+            </annotation>
+         </attribute>
+         <attribute name="priority" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="since"/>
+      </appInfo>
+      <documentation>
+         1.2.7
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="examples"/>
+      </appInfo>
+      <documentation>
+         [Enter extension point usage example here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="apiinfo"/>
+      </appInfo>
+      <documentation>
+         [Enter API information here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="implementation"/>
+      </appInfo>
+      <documentation>
+         [Enter information about supplied implementation of this extension point.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="copyright"/>
+      </appInfo>
+      <documentation>
+         Copyright (c) 2013 Raden Solutions
+      </documentation>
+   </annotation>
+
+</schema>
index 7ad0260..c2c93fa 100644 (file)
-<?xml version='1.0' encoding='UTF-8'?>\r
-<!-- Schema file written by PDE -->\r
-<schema targetNamespace="org.netxms.ui.eclipse.console" xmlns="http://www.w3.org/2001/XMLSchema">\r
-<annotation>\r
-      <appInfo>\r
-         <meta.schema plugin="org.netxms.ui.eclipse.console" id="org.netxms.ui.eclipse.loginlisteners" name="NXMC Login Listeners"/>\r
-      </appInfo>\r
-      <documentation>\r
-         Extension point which allows plugins to define callbacks called after successful login.\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <element name="extension">\r
-      <annotation>\r
-         <appInfo>\r
-            <meta.element />\r
-         </appInfo>\r
-      </annotation>\r
-      <complexType>\r
-         <sequence minOccurs="1" maxOccurs="unbounded">\r
-            <element ref="loginlistener"/>\r
-         </sequence>\r
-         <attribute name="point" type="string" use="required">\r
-            <annotation>\r
-               <documentation>\r
-                  \r
-               </documentation>\r
-            </annotation>\r
-         </attribute>\r
-         <attribute name="id" type="string">\r
-            <annotation>\r
-               <documentation>\r
-                  \r
-               </documentation>\r
-            </annotation>\r
-         </attribute>\r
-         <attribute name="name" type="string">\r
-            <annotation>\r
-               <documentation>\r
-                  \r
-               </documentation>\r
-               <appInfo>\r
-                  <meta.attribute translatable="true"/>\r
-               </appInfo>\r
-            </annotation>\r
-         </attribute>\r
-      </complexType>\r
-   </element>\r
-\r
-   <element name="loginlistener">\r
-      <complexType>\r
-         <attribute name="class" type="string" use="required">\r
-            <annotation>\r
-               <documentation>\r
-                  Class implementing login listener\r
-               </documentation>\r
-               <appInfo>\r
-                  <meta.attribute kind="java" basedOn=":org.netxms.ui.eclipse.console.api.ConsoleLoginListener"/>\r
-               </appInfo>\r
-            </annotation>\r
-         </attribute>\r
-      </complexType>\r
-   </element>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="since"/>\r
-      </appInfo>\r
-      <documentation>\r
-         1.1.10\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="examples"/>\r
-      </appInfo>\r
-      <documentation>\r
-         [Enter extension point usage example here.]\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="apiinfo"/>\r
-      </appInfo>\r
-      <documentation>\r
-         [Enter API information here.]\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="implementation"/>\r
-      </appInfo>\r
-      <documentation>\r
-         [Enter information about supplied implementation of this extension point.]\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="copyright"/>\r
-      </appInfo>\r
-      <documentation>\r
-         Copyright (c) 2003-2012 Victor Kirhenshtein\r
-      </documentation>\r
-   </annotation>\r
-\r
-</schema>\r
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.netxms.ui.eclipse.console" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+      <appInfo>
+         <meta.schema plugin="org.netxms.ui.eclipse.console" id="org.netxms.ui.eclipse.loginlisteners" name="NXMC Login Listeners"/>
+      </appInfo>
+      <documentation>
+         Extension point which allows plugins to define callbacks called after successful login.
+      </documentation>
+   </annotation>
+
+   <element name="extension">
+      <annotation>
+         <appInfo>
+            <meta.element />
+         </appInfo>
+      </annotation>
+      <complexType>
+         <sequence minOccurs="1" maxOccurs="unbounded">
+            <element ref="loginlistener"/>
+         </sequence>
+         <attribute name="point" type="string" use="required">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="id" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="name" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+               <appInfo>
+                  <meta.attribute translatable="true"/>
+               </appInfo>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <element name="loginlistener">
+      <complexType>
+         <attribute name="class" type="string" use="required">
+            <annotation>
+               <documentation>
+                  Class implementing login listener
+               </documentation>
+               <appInfo>
+                  <meta.attribute kind="java" basedOn=":org.netxms.ui.eclipse.console.api.ConsoleLoginListener"/>
+               </appInfo>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="since"/>
+      </appInfo>
+      <documentation>
+         1.1.10
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="examples"/>
+      </appInfo>
+      <documentation>
+         [Enter extension point usage example here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="apiinfo"/>
+      </appInfo>
+      <documentation>
+         [Enter API information here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="implementation"/>
+      </appInfo>
+      <documentation>
+         [Enter information about supplied implementation of this extension point.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="copyright"/>
+      </appInfo>
+      <documentation>
+         Copyright (c) 2003-2012 Victor Kirhenshtein
+      </documentation>
+   </annotation>
+
+</schema>
index 5b37feb..26bcbc5 100644 (file)
-<?xml version='1.0' encoding='UTF-8'?>\r
-<!-- Schema file written by PDE -->\r
-<schema targetNamespace="org.netxms.ui.eclipse.console" xmlns="http://www.w3.org/2001/XMLSchema">\r
-<annotation>\r
-      <appInfo>\r
-         <meta.schema plugin="org.netxms.ui.eclipse.console" id="org.netxms.ui.eclipse.sessionproviders" name="Session Providers"/>\r
-      </appInfo>\r
-      <documentation>\r
-         Communication session providers.\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <element name="extension">\r
-      <annotation>\r
-         <appInfo>\r
-            <meta.element />\r
-         </appInfo>\r
-      </annotation>\r
-      <complexType>\r
-         <sequence>\r
-            <element ref="provider" minOccurs="1" maxOccurs="unbounded"/>\r
-         </sequence>\r
-         <attribute name="point" type="string" use="required">\r
-            <annotation>\r
-               <documentation>\r
-                  \r
-               </documentation>\r
-            </annotation>\r
-         </attribute>\r
-         <attribute name="id" type="string">\r
-            <annotation>\r
-               <documentation>\r
-                  \r
-               </documentation>\r
-            </annotation>\r
-         </attribute>\r
-         <attribute name="name" type="string">\r
-            <annotation>\r
-               <documentation>\r
-                  \r
-               </documentation>\r
-               <appInfo>\r
-                  <meta.attribute translatable="true"/>\r
-               </appInfo>\r
-            </annotation>\r
-         </attribute>\r
-      </complexType>\r
-   </element>\r
-\r
-   <element name="provider">\r
-      <complexType>\r
-         <attribute name="class" type="string" use="required">\r
-            <annotation>\r
-               <documentation>\r
-                  Implementing class for session provider\r
-               </documentation>\r
-               <appInfo>\r
-                  <meta.attribute kind="java" basedOn=":org.netxms.ui.eclipse.console.api.SessionProvider"/>\r
-               </appInfo>\r
-            </annotation>\r
-         </attribute>\r
-         <attribute name="priority" type="string">\r
-            <annotation>\r
-               <documentation>\r
-                  Priority for this provider. 0 is highest, 65535 is lowest. Provider with highest priority will be choosen for session creation. Default is 65535.\r
-               </documentation>\r
-            </annotation>\r
-         </attribute>\r
-      </complexType>\r
-   </element>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="since"/>\r
-      </appInfo>\r
-      <documentation>\r
-         1.2.6\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="examples"/>\r
-      </appInfo>\r
-      <documentation>\r
-         [Enter extension point usage example here.]\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="apiinfo"/>\r
-      </appInfo>\r
-      <documentation>\r
-         [Enter API information here.]\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="implementation"/>\r
-      </appInfo>\r
-      <documentation>\r
-         [Enter information about supplied implementation of this extension point.]\r
-      </documentation>\r
-   </annotation>\r
-\r
-   <annotation>\r
-      <appInfo>\r
-         <meta.section type="copyright"/>\r
-      </appInfo>\r
-      <documentation>\r
-         Copyright (c) 2003-2013 Raden Solutions\r
-      </documentation>\r
-   </annotation>\r
-\r
-</schema>\r
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.netxms.ui.eclipse.console" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+      <appInfo>
+         <meta.schema plugin="org.netxms.ui.eclipse.console" id="org.netxms.ui.eclipse.sessionproviders" name="Session Providers"/>
+      </appInfo>
+      <documentation>
+         Communication session providers.
+      </documentation>
+   </annotation>
+
+   <element name="extension">
+      <annotation>
+         <appInfo>
+            <meta.element />
+         </appInfo>
+      </annotation>
+      <complexType>
+         <sequence>
+            <element ref="provider" minOccurs="1" maxOccurs="unbounded"/>
+         </sequence>
+         <attribute name="point" type="string" use="required">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="id" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="name" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+               <appInfo>
+                  <meta.attribute translatable="true"/>
+               </appInfo>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <element name="provider">
+      <complexType>
+         <attribute name="class" type="string" use="required">
+            <annotation>
+               <documentation>
+                  Implementing class for session provider
+               </documentation>
+               <appInfo>
+                  <meta.attribute kind="java" basedOn=":org.netxms.ui.eclipse.console.api.SessionProvider"/>
+               </appInfo>
+            </annotation>
+         </attribute>
+         <attribute name="priority" type="string">
+            <annotation>
+               <documentation>
+                  Priority for this provider. 0 is highest, 65535 is lowest. Provider with highest priority will be choosen for session creation. Default is 65535.
+               </documentation>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="since"/>
+      </appInfo>
+      <documentation>
+         1.2.6
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="examples"/>
+      </appInfo>
+      <documentation>
+         [Enter extension point usage example here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="apiinfo"/>
+      </appInfo>
+      <documentation>
+         [Enter API information here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="implementation"/>
+      </appInfo>
+      <documentation>
+         [Enter information about supplied implementation of this extension point.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="copyright"/>
+      </appInfo>
+      <documentation>
+         Copyright (c) 2003-2013 Raden Solutions
+      </documentation>
+   </annotation>
+
+</schema>
index 4e29700..6ac4686 100644 (file)
-/**\r
- * NetXMS - open source network management system\r
- * Copyright (C) 2003-2013 Victor Kirhenshtein\r
- *\r
- * This program is free software; you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
- */\r
-package org.netxms.ui.eclipse.actions;\r
-\r
-import java.io.BufferedWriter;\r
-import java.io.File;\r
-import java.io.FileWriter;\r
-import java.util.ArrayList;\r
-import java.util.List;\r
-import org.eclipse.core.runtime.IProgressMonitor;\r
-import org.eclipse.jface.action.Action;\r
-import org.eclipse.jface.commands.ActionHandler;\r
-import org.eclipse.jface.viewers.ColumnViewer;\r
-import org.eclipse.jface.viewers.TableViewer;\r
-import org.eclipse.jface.viewers.TreeViewer;\r
-import org.eclipse.rap.rwt.RWT;\r
-import org.eclipse.rap.rwt.client.service.JavaScriptExecutor;\r
-import org.eclipse.swt.widgets.TableColumn;\r
-import org.eclipse.swt.widgets.TableItem;\r
-import org.eclipse.swt.widgets.TreeItem;\r
-import org.eclipse.ui.IViewPart;\r
-import org.eclipse.ui.handlers.IHandlerService;\r
-import org.netxms.ui.eclipse.jobs.ConsoleJob;\r
-import org.netxms.webui.core.Activator;\r
-import org.netxms.webui.core.DownloadServiceHandler;\r
-\r
-/**\r
- * Action for exporting selected table viewer rows to CSV file\r
- */\r
-public class ExportToCsvAction extends Action\r
-{\r
-       private static final long serialVersionUID = 1L;\r
-\r
-       private IViewPart viewPart;\r
-       private ColumnViewer viewer;\r
-       private ViewerProvider viewerProvider;\r
-       private boolean selectionOnly;\r
-       \r
-       /**\r
-        * Create "Export to CSV" action attached to handler service\r
-        * \r
-        * @param viewPart\r
-        * @param viewer\r
-        * @param viewerProvider\r
-        * @param selectionOnly\r
-        */\r
-       private ExportToCsvAction(IViewPart viewPart, ColumnViewer viewer, ViewerProvider viewerProvider, boolean selectionOnly)\r
-       {\r
-               super(selectionOnly ? "E&xport to CSV..." : "Export all to CSV...", Activator.getImageDescriptor("icons/csv.png"));\r
-               \r
-               this.viewPart = viewPart;\r
-               this.viewer = viewer;\r
-               this.viewerProvider = viewerProvider;\r
-               this.selectionOnly = selectionOnly;\r
-\r
-               // "Object Details" view can contain multiple widgets\r
-               // with "Export to CSV" action defined, so binding it to handler service\r
-               // will cause handler conflict\r
-               if (viewPart.getViewSite().getId().equals("org.netxms.ui.eclipse.objectview.view.tabbed_object_view"))\r
-                       return;\r
-               \r
-               final IHandlerService handlerService = (IHandlerService)viewPart.getSite().getService(IHandlerService.class);\r
-      setActionDefinitionId("org.netxms.ui.eclipse.library.commands.export_to_csv_" + (selectionOnly ? "selection" : "all")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$\r
-               handlerService.activateHandler(getActionDefinitionId(), new ActionHandler(this));\r
-       }\r
-       \r
-       /**\r
-        * Create "Export to CSV" action attached to handler service\r
-        * \r
-        * @param viewPart\r
-        * @param viewer\r
-        * @param selectionOnly\r
-        */\r
-       public ExportToCsvAction(IViewPart viewPart, ColumnViewer viewer, boolean selectionOnly)\r
-       {\r
-               this(viewPart, viewer, null, selectionOnly);\r
-       }\r
-\r
-       /**\r
-        * Create "Export to CSV" action attached to handler service\r
-        * \r
-        * @param viewPart\r
-        * @param viewerProvider\r
-        * @param selectionOnly\r
-        */\r
-       public ExportToCsvAction(IViewPart viewPart, ViewerProvider viewerProvider, boolean selectionOnly)\r
-       {\r
-               this(viewPart, null, viewerProvider, selectionOnly);\r
-       }\r
-       \r
-       /* (non-Javadoc)\r
-        * @see org.eclipse.jface.action.Action#run()\r
-        */\r
-       @Override\r
-       public void run()\r
-       {\r
-               if (viewerProvider != null)\r
-                       viewer = viewerProvider.getViewer();\r
-               \r
-               final List<String[]> data = new ArrayList<String[]>();\r
-               if (viewer instanceof TableViewer)\r
-               {\r
-                       int numColumns = ((TableViewer)viewer).getTable().getColumnCount();\r
-                       if (numColumns == 0)\r
-                               numColumns = 1;\r
-                       \r
-                       TableColumn[] columns = ((TableViewer)viewer).getTable().getColumns();\r
-                       String[] headerRow = new String[numColumns];\r
-                       for (int i = 0; i < numColumns; i++)\r
-                       {\r
-                               headerRow[i] = columns[i].getText();\r
-                       }\r
-                       data.add(headerRow);\r
-                       \r
-                       TableItem[] selection = selectionOnly ? ((TableViewer)viewer).getTable().getSelection() : ((TableViewer)viewer).getTable().getItems();\r
-                       for(TableItem item : selection)\r
-                       {\r
-                               String[] row = new String[numColumns];\r
-                               for(int i = 0; i < numColumns; i++)\r
-                                       row[i] = item.getText(i);\r
-                               if (selectionOnly)\r
-                                       data.add(1, row);  // for some reason RAP implementation returns selected table items in reverse order, so we reverse them here\r
-                               else\r
-                                       data.add(row);\r
-                       }\r
-               }\r
-               else if (viewer instanceof TreeViewer)\r
-               {\r
-                       int numColumns = ((TreeViewer)viewer).getTree().getColumnCount();\r
-                       if (numColumns == 0)\r
-                               numColumns = 1;\r
-                       \r
-                       TreeItem[] selection = selectionOnly ? ((TreeViewer)viewer).getTree().getSelection() : ((TreeViewer)viewer).getTree().getItems();\r
-                       for(TreeItem item : selection)\r
-                       {\r
-                               String[] row = new String[numColumns];\r
-                               for(int i = 0; i < numColumns; i++)\r
-                                       row[i] = item.getText(i);\r
-                               data.add(row);\r
-                               if (!selectionOnly)\r
-                               {\r
-                                       addSubItems(item, data, numColumns);\r
-                               }\r
-                       }\r
-               }\r
-\r
-               final String title = viewPart.getTitle();\r
-               new ConsoleJob("Save data to CSV file", viewPart, Activator.PLUGIN_ID, null) {\r
-                       @Override\r
-                       protected void runInternal(IProgressMonitor monitor) throws Exception\r
-                       {\r
-                               final File tmpFile = File.createTempFile("ExportCSV_" + viewPart.hashCode(), "_" + System.currentTimeMillis());\r
-                               BufferedWriter out = new BufferedWriter(new FileWriter(tmpFile));\r
-                               for(String[] row : data)\r
-                               {\r
-                                       for(int i = 0; i < row.length; i++)\r
-                                       {\r
-                                               if (i > 0)\r
-                                                       out.write(',');\r
-                                               out.write('"');\r
-                                               out.write(row[i].replace("\"", "\"\""));\r
-                                               out.write('"');\r
-                                       }\r
-                                       out.newLine();\r
-                               }\r
-                               out.close();\r
-                               \r
-                               DownloadServiceHandler.addDownload(tmpFile.getName(), title + ".csv", tmpFile, "text/csv");\r
-                               runInUIThread(new Runnable() {\r
-                                       @Override\r
-                                       public void run()\r
-                                       {\r
-                                               JavaScriptExecutor executor = RWT.getClient().getService(JavaScriptExecutor.class);\r
-                                               if( executor != null ) \r
-                                               {\r
-                                                       StringBuilder js = new StringBuilder();\r
-                                                       js.append("var hiddenIFrameID = 'hiddenDownloader',");\r
-                                                       js.append("   iframe = document.getElementById(hiddenIFrameID);");\r
-                                                       js.append("if (iframe === null) {");\r
-                                                       js.append("   iframe = document.createElement('iframe');");\r
-                                                       js.append("   iframe.id = hiddenIFrameID;");\r
-                                                       js.append("   iframe.style.display = 'none';");\r
-                                                       js.append("   document.body.appendChild(iframe);");\r
-                                                       js.append("}");\r
-                                                       js.append("iframe.src = '");\r
-                                                       js.append(DownloadServiceHandler.createDownloadUrl(tmpFile.getName()));\r
-                                                       js.append("';");\r
-                                                       executor.execute(js.toString());\r
-                                               }                                               \r
-                                       }\r
-                               });\r
-                       }\r
-                       \r
-                       @Override\r
-                       protected String getErrorMessage()\r
-                       {\r
-                               return "Cannot save table data to file";\r
-                       }\r
-               }.start();\r
-       }\r
-\r
-       /**\r
-        * @param item\r
-        * @param data\r
-        */\r
-       private void addSubItems(TreeItem root, List<String[]> data, int numColumns)\r
-       {\r
-               for(TreeItem item : root.getItems())\r
-               {\r
-                       String[] row = new String[numColumns];\r
-                       for(int i = 0; i < numColumns; i++)\r
-                               row[i] = item.getText(i);\r
-                       data.add(row);\r
-                       addSubItems(item, data, numColumns);\r
-               }\r
-       }\r
-}\r
+/**
+ * NetXMS - open source network management system
+ * Copyright (C) 2003-2013 Victor Kirhenshtein
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+package org.netxms.ui.eclipse.actions;
+
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileWriter;
+import java.util.ArrayList;
+import java.util.List;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.jface.action.Action;
+import org.eclipse.jface.commands.ActionHandler;
+import org.eclipse.jface.viewers.ColumnViewer;
+import org.eclipse.jface.viewers.TableViewer;
+import org.eclipse.jface.viewers.TreeViewer;
+import org.eclipse.rap.rwt.RWT;
+import org.eclipse.rap.rwt.client.service.JavaScriptExecutor;
+import org.eclipse.swt.widgets.TableColumn;
+import org.eclipse.swt.widgets.TableItem;
+import org.eclipse.swt.widgets.TreeItem;
+import org.eclipse.ui.IViewPart;
+import org.eclipse.ui.handlers.IHandlerService;
+import org.netxms.ui.eclipse.jobs.ConsoleJob;
+import org.netxms.webui.core.Activator;
+import org.netxms.webui.core.DownloadServiceHandler;
+
+/**
+ * Action for exporting selected table viewer rows to CSV file
+ */
+public class ExportToCsvAction extends Action
+{
+       private static final long serialVersionUID = 1L;
+
+       private IViewPart viewPart;
+       private ColumnViewer viewer;
+       private ViewerProvider viewerProvider;
+       private boolean selectionOnly;
+       
+       /**
+        * Create "Export to CSV" action attached to handler service
+        * 
+        * @param viewPart
+        * @param viewer
+        * @param viewerProvider
+        * @param selectionOnly
+        */
+       private ExportToCsvAction(IViewPart viewPart, ColumnViewer viewer, ViewerProvider viewerProvider, boolean selectionOnly)
+       {
+               super(selectionOnly ? "E&xport to CSV..." : "Export all to CSV...", Activator.getImageDescriptor("icons/csv.png"));
+               
+               this.viewPart = viewPart;
+               this.viewer = viewer;
+               this.viewerProvider = viewerProvider;
+               this.selectionOnly = selectionOnly;
+
+               // "Object Details" view can contain multiple widgets
+               // with "Export to CSV" action defined, so binding it to handler service
+               // will cause handler conflict
+               if (viewPart.getViewSite().getId().equals("org.netxms.ui.eclipse.objectview.view.tabbed_object_view"))
+                       return;
+               
+               final IHandlerService handlerService = (IHandlerService)viewPart.getSite().getService(IHandlerService.class);
+      setActionDefinitionId("org.netxms.ui.eclipse.library.commands.export_to_csv_" + (selectionOnly ? "selection" : "all")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+               handlerService.activateHandler(getActionDefinitionId(), new ActionHandler(this));
+       }
+       
+       /**
+        * Create "Export to CSV" action attached to handler service
+        * 
+        * @param viewPart
+        * @param viewer
+        * @param selectionOnly
+        */
+       public ExportToCsvAction(IViewPart viewPart, ColumnViewer viewer, boolean selectionOnly)
+       {
+               this(viewPart, viewer, null, selectionOnly);
+       }
+
+       /**
+        * Create "Export to CSV" action attached to handler service
+        * 
+        * @param viewPart
+        * @param viewerProvider
+        * @param selectionOnly
+        */
+       public ExportToCsvAction(IViewPart viewPart, ViewerProvider viewerProvider, boolean selectionOnly)
+       {
+               this(viewPart, null, viewerProvider, selectionOnly);
+       }
+       
+       /* (non-Javadoc)
+        * @see org.eclipse.jface.action.Action#run()
+        */
+       @Override
+       public void run()
+       {
+               if (viewerProvider != null)
+                       viewer = viewerProvider.getViewer();
+               
+               final List<String[]> data = new ArrayList<String[]>();
+               if (viewer instanceof TableViewer)
+               {
+                       int numColumns = ((TableViewer)viewer).getTable().getColumnCount();
+                       if (numColumns == 0)
+                               numColumns = 1;
+                       
+                       TableColumn[] columns = ((TableViewer)viewer).getTable().getColumns();
+                       String[] headerRow = new String[numColumns];
+                       for (int i = 0; i < numColumns; i++)
+                       {
+                               headerRow[i] = columns[i].getText();
+                       }
+                       data.add(headerRow);
+                       
+                       TableItem[] selection = selectionOnly ? ((TableViewer)viewer).getTable().getSelection() : ((TableViewer)viewer).getTable().getItems();
+                       for(TableItem item : selection)
+                       {
+                               String[] row = new String[numColumns];
+                               for(int i = 0; i < numColumns; i++)
+                                       row[i] = item.getText(i);
+                               if (selectionOnly)
+                                       data.add(1, row);  // for some reason RAP implementation returns selected table items in reverse order, so we reverse them here
+                               else
+                                       data.add(row);
+                       }
+               }
+               else if (viewer instanceof TreeViewer)
+               {
+                       int numColumns = ((TreeViewer)viewer).getTree().getColumnCount();
+                       if (numColumns == 0)
+                               numColumns = 1;
+                       
+                       TreeItem[] selection = selectionOnly ? ((TreeViewer)viewer).getTree().getSelection() : ((TreeViewer)viewer).getTree().getItems();
+                       for(TreeItem item : selection)
+                       {
+                               String[] row = new String[numColumns];
+                               for(int i = 0; i < numColumns; i++)
+                                       row[i] = item.getText(i);
+                               data.add(row);
+                               if (!selectionOnly)
+                               {
+                                       addSubItems(item, data, numColumns);
+                               }
+                       }
+               }
+
+               final String title = viewPart.getTitle();
+               new ConsoleJob("Save data to CSV file", viewPart, Activator.PLUGIN_ID, null) {
+                       @Override
+                       protected void runInternal(IProgressMonitor monitor) throws Exception
+                       {
+                               final File tmpFile = File.createTempFile("ExportCSV_" + viewPart.hashCode(), "_" + System.currentTimeMillis());
+                               BufferedWriter out = new BufferedWriter(new FileWriter(tmpFile));
+                               for(String[] row : data)
+                               {
+                                       for(int i = 0; i < row.length; i++)
+                                       {
+                                               if (i > 0)
+                                                       out.write(',');
+                                               out.write('"');
+                                               out.write(row[i].replace("\"", "\"\""));
+                                               out.write('"');
+                                       }
+                                       out.newLine();
+                               }
+                               out.close();
+                               
+                               DownloadServiceHandler.addDownload(tmpFile.getName(), title + ".csv", tmpFile, "text/csv");
+                               runInUIThread(new Runnable() {
+                                       @Override
+                                       public void run()
+                                       {
+                                               JavaScriptExecutor executor = RWT.getClient().getService(JavaScriptExecutor.class);
+                                               if( executor != null ) 
+                                               {
+                                                       StringBuilder js = new StringBuilder();
+                                                       js.append("var hiddenIFrameID = 'hiddenDownloader',");
+                                                       js.append("   iframe = document.getElementById(hiddenIFrameID);");
+                                                       js.append("if (iframe === null) {");
+                                                       js.append("   iframe = document.createElement('iframe');");
+                                                       js.append("   iframe.id = hiddenIFrameID;");
+                                                       js.append("   iframe.style.display = 'none';");
+                                                       js.append("   document.body.appendChild(iframe);");
+                                                       js.append("}");
+                                                       js.append("iframe.src = '");
+                                                       js.append(DownloadServiceHandler.createDownloadUrl(tmpFile.getName()));
+                                                       js.append("';");
+                                                       executor.execute(js.toString());
+                                               }                                               
+                                       }
+                               });
+                       }
+                       
+                       @Override
+                       protected String getErrorMessage()
+                       {
+                               return "Cannot save table data to file";
+                       }
+               }.start();
+       }
+
+       /**
+        * @param item
+        * @param data
+        */
+       private void addSubItems(TreeItem root, List<String[]> data, int numColumns)
+       {
+               for(TreeItem item : root.getItems())
+               {
+                       String[] row = new String[numColumns];
+                       for(int i = 0; i < numColumns; i++)
+                               row[i] = item.getText(i);
+                       data.add(row);
+                       addSubItems(item, data, numColumns);
+               }
+       }
+}
index 60ae847..0f3f4b1 100644 (file)
@@ -1,57 +1,57 @@
-/**\r
- * NetXMS - open source network management system\r
- * Copyright (C) 2003-2013 Victor Kirhenshtein\r
- *\r
- * This program is free software; you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
- */\r
-package org.netxms.ui.eclipse.actions;\r
-\r
-import org.eclipse.jface.action.Action;\r
-import org.eclipse.jface.commands.ActionHandler;\r
-import org.eclipse.ui.IViewPart;\r
-import org.eclipse.ui.handlers.IHandlerService;\r
-import org.netxms.webui.core.Activator;\r
-import org.netxms.webui.core.Messages;\r
-\r
-/**\r
- * @author victor\r
- *\r
- */\r
-public class RefreshAction extends Action\r
-{\r
-       private static final long serialVersionUID = 1L;\r
-\r
-       /**\r
-        * Create default refresh action\r
-        */\r
-       public RefreshAction()\r
-       {\r
-               super(Messages.get().RefreshAction_Name, Activator.getImageDescriptor("icons/refresh.gif")); //$NON-NLS-1$\r
-       }\r
-\r
-       /**\r
-        * Create refresh action attached to handler service\r
-        * \r
-        * @param viewPart owning view part\r
-        */\r
-       public RefreshAction(IViewPart viewPart)\r
-       {\r
-               super(Messages.get().RefreshAction_Name, Activator.getImageDescriptor("icons/refresh.gif")); //$NON-NLS-1$\r
-\r
-               final IHandlerService handlerService = (IHandlerService)viewPart.getSite().getService(IHandlerService.class);\r
-      setActionDefinitionId("org.netxms.ui.eclipse.library.commands.refresh");\r
-               handlerService.activateHandler(getActionDefinitionId(), new ActionHandler(this));\r
-       }\r
-}\r
+/**
+ * NetXMS - open source network management system
+ * Copyright (C) 2003-2013 Victor Kirhenshtein
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+package org.netxms.ui.eclipse.actions;
+
+import org.eclipse.jface.action.Action;
+import org.eclipse.jface.commands.ActionHandler;
+import org.eclipse.ui.IViewPart;
+import org.eclipse.ui.handlers.IHandlerService;
+import org.netxms.webui.core.Activator;
+import org.netxms.webui.core.Messages;
+
+/**
+ * @author victor
+ *
+ */
+public class RefreshAction extends Action
+{
+       private static final long serialVersionUID = 1L;
+
+       /**
+        * Create default refresh action
+        */
+       public RefreshAction()
+       {
+               super(Messages.get().RefreshAction_Name, Activator.getImageDescriptor("icons/refresh.gif")); //$NON-NLS-1$
+       }
+
+       /**
+        * Create refresh action attached to handler service
+        * 
+        * @param viewPart owning view part
+        */
+       public RefreshAction(IViewPart viewPart)
+       {
+               super(Messages.get().RefreshAction_Name, Activator.getImageDescriptor("icons/refresh.gif")); //$NON-NLS-1$
+
+               final IHandlerService handlerService = (IHandlerService)viewPart.getSite().getService(IHandlerService.class);
+      setActionDefinitionId("org.netxms.ui.eclipse.library.commands.refresh");
+               handlerService.activateHandler(getActionDefinitionId(), new ActionHandler(this));
+       }
+}
index dbb2bc5..6bf558c 100644 (file)
@@ -1,29 +1,29 @@
-/**\r
- * NetXMS - open source network management system\r
- * Copyright (C) 2003-2013 Victor Kirhenshtein\r
- *\r
- * This program is free software; you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
- */\r
-package org.netxms.ui.eclipse.actions;\r
-\r
-import org.eclipse.jface.viewers.ColumnViewer;\r
-\r
-/**\r
- * Interface for providing reference to column viewer on demand\r
- */\r
-public interface ViewerProvider\r
-{\r
-       public ColumnViewer getViewer();\r
-}\r
+/**
+ * NetXMS - open source network management system
+ * Copyright (C) 2003-2013 Victor Kirhenshtein
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+package org.netxms.ui.eclipse.actions;
+
+import org.eclipse.jface.viewers.ColumnViewer;
+
+/**
+ * Interface for providing reference to column viewer on demand
+ */
+public interface ViewerProvider
+{
+       public ColumnViewer getViewer();
+}
index aa9cd2b..3452883 100644 (file)
@@ -1,91 +1,91 @@
-/**\r
- * NetXMS - open source network management system\r
- * Copyright (C) 2003-2012 Victor Kirhenshtein\r
- *\r
- * This program is free software; you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
- */\r
-package org.netxms.ui.eclipse.console.api;\r
-\r
-import java.util.Properties;\r
-import org.eclipse.jface.dialogs.Dialog;\r
-import org.eclipse.jface.resource.ImageDescriptor;\r
-import org.eclipse.jface.window.Window;\r
-import org.eclipse.swt.graphics.RGB;\r
-import org.eclipse.swt.widgets.Shell;\r
-\r
-/**\r
- * Branding provider interface\r
- */\r
-public interface BrandingProvider\r
-{\r
-       /**\r
-        * Get product name.\r
-        * \r
-        * @return\r
-        */\r
-       public String getProductName();\r
-       \r
-       /**\r
-        * Get default perspective. Should return null to use default (or defined by another branding manager)\r
-        * \r
-        * @return default perspective ID or null to use default.\r
-        */\r
-       public String getDefaultPerspective();\r
-       \r
-       /**\r
-        * Get image to be displayed in login dialog.\r
-        * \r
-        * @return image descriptor for image to be displayed in login dialog or null to use default\r
-        */\r
-       public ImageDescriptor getLoginTitleImage();\r
-       \r
-       /**\r
-        * Get filler color for login dialog title image.\r
-        * \r
-        * @return filler color for login dialog title image or null to use default\r
-        */\r
-       public RGB getLoginTitleColor();\r
-       \r
-       /**\r
-        * Get login dialog title.\r
-        * \r
-        * @return login dialog title or null to use default\r
-        */\r
-       public String getLoginTitle();\r
-       \r
-       /**\r
-        * Get custom login form. Form must implement LoginForm interface.\r
-        * \r
-        * @param parentShell parent shell for login form\r
-        * @param properties system properties\r
-        * @return\r
-        */\r
-       public Window getLoginForm(Shell parentShell, Properties properties);\r
-       \r
-       /**\r
-        * Get custom "About" dialog. New dialog must be returned on each call.\r
-        * \r
-        * @param parentShell parent shell for dialog\r
-        * @return custom "About" dialog or null to use default\r
-        */\r
-       public Dialog getAboutDialog(Shell parentShell);\r
-       \r
-       /**\r
-        * Get redirection URL for web console. Has no effect on RCP console.\r
-        * \r
-        * @return redirection URL or null to use default\r
-        */\r
-       public String getRedirectionURL();\r
-}\r
+/**
+ * NetXMS - open source network management system
+ * Copyright (C) 2003-2012 Victor Kirhenshtein
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+package org.netxms.ui.eclipse.console.api;
+
+import java.util.Properties;
+import org.eclipse.jface.dialogs.Dialog;
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.jface.window.Window;
+import org.eclipse.swt.graphics.RGB;
+import org.eclipse.swt.widgets.Shell;
+
+/**
+ * Branding provider interface
+ */
+public interface BrandingProvider
+{
+       /**
+        * Get product name.
+        * 
+        * @return
+        */
+       public String getProductName();
+       
+       /**
+        * Get default perspective. Should return null to use default (or defined by another branding manager)
+        * 
+        * @return default perspective ID or null to use default.
+        */
+       public String getDefaultPerspective();
+       
+       /**
+        * Get image to be displayed in login dialog.
+        * 
+        * @return image descriptor for image to be displayed in login dialog or null to use default
+        */
+       public ImageDescriptor getLoginTitleImage();
+       
+       /**
+        * Get filler color for login dialog title image.
+        * 
+        * @return filler color for login dialog title image or null to use default
+        */
+       public RGB getLoginTitleColor();
+       
+       /**
+        * Get login dialog title.
+        * 
+        * @return login dialog title or null to use default
+        */
+       public String getLoginTitle();
+       
+       /**
+        * Get custom login form. Form must implement LoginForm interface.
+        * 
+        * @param parentShell parent shell for login form
+        * @param properties system properties
+        * @return
+        */
+       public Window getLoginForm(Shell parentShell, Properties properties);
+       
+       /**
+        * Get custom "About" dialog. New dialog must be returned on each call.
+        * 
+        * @param parentShell parent shell for dialog
+        * @return custom "About" dialog or null to use default
+        */
+       public Dialog getAboutDialog(Shell parentShell);
+       
+       /**
+        * Get redirection URL for web console. Has no effect on RCP console.
+        * 
+        * @return redirection URL or null to use default
+        */
+       public String getRedirectionURL();
+}
index 5b42522..bb30d1d 100644 (file)
@@ -1,38 +1,38 @@
-/**\r
- * NetXMS - open source network management system\r
- * Copyright (C) 2003-2012 Victor Kirhenshtein\r
- *\r
- * This program is free software; you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
- */\r
-package org.netxms.ui.eclipse.console.api;\r
-\r
-import org.eclipse.swt.widgets.Display;\r
-import org.netxms.client.NXCSession;\r
-\r
-/**\r
- * Login listener for NetXMS console\r
- */\r
-public interface ConsoleLoginListener\r
-{\r
-       /**\r
-        * Called by login job after successful login. Please note that this method\r
-        * called in context of login worker threads, not in UI thread. To execute any code in UI thread\r
-        * supplied Display object should be used.\r
-        * \r
-        * @param session client session\r
-        * @param display current display\r
-        */\r
-       public abstract void afterLogin(NXCSession session, Display display);\r
-}\r
+/**
+ * NetXMS - open source network management system
+ * Copyright (C) 2003-2012 Victor Kirhenshtein
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+package org.netxms.ui.eclipse.console.api;
+
+import org.eclipse.swt.widgets.Display;
+import org.netxms.client.NXCSession;
+
+/**
+ * Login listener for NetXMS console
+ */
+public interface ConsoleLoginListener
+{
+       /**
+        * Called by login job after successful login. Please note that this method
+        * called in context of login worker threads, not in UI thread. To execute any code in UI thread
+        * supplied Display object should be used.
+        * 
+        * @param session client session
+        * @param display current display
+        */
+       public abstract void afterLogin(NXCSession session, Display display);
+}
index 9ab0810..c1c1a49 100644 (file)
@@ -1,39 +1,39 @@
-/**\r
- * NetXMS - open source network management system\r
- * Copyright (C) 2003-2013 Victor Kirhenshtein\r
- *\r
- * This program is free software; you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
- */\r
-package org.netxms.ui.eclipse.console.api;\r
-\r
-/**\r
- * Login form interface\r
- */\r
-public interface LoginForm\r
-{\r
-       /**\r
-        * Get login name entered by user\r
-        * \r
-        * @return\r
-        */\r
-       public String getLogin();\r
-\r
-       /**\r
-        * Get password entered by user\r
-        * \r
-        * @return\r
-        */\r
-       public String getPassword();\r
-}\r
+/**
+ * NetXMS - open source network management system
+ * Copyright (C) 2003-2013 Victor Kirhenshtein
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+package org.netxms.ui.eclipse.console.api;
+
+/**
+ * Login form interface
+ */
+public interface LoginForm
+{
+       /**
+        * Get login name entered by user
+        * 
+        * @return
+        */
+       public String getLogin();
+
+       /**
+        * Get password entered by user
+        * 
+        * @return
+        */
+       public String getPassword();
+}
index b8d899e..cee53ac 100644 (file)
@@ -1,59 +1,59 @@
-/**\r
- * NetXMS - open source network management system\r
- * Copyright (C) 2003-2010 Victor Kirhenshtein\r
- *\r
- * This program is free software; you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
- */\r
-package org.netxms.ui.eclipse.console.perspectives;\r
-\r
-import org.eclipse.ui.IFolderLayout;\r
-import org.eclipse.ui.IPageLayout;\r
-import org.eclipse.ui.IPerspectiveFactory;\r
-import org.eclipse.ui.IPlaceholderFolderLayout;\r
-\r
-/**\r
- * Default perspective\r
- *\r
- */\r
-public class DefaultPerspective implements IPerspectiveFactory\r
-{\r
-       /* (non-Javadoc)\r
-        * @see org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.eclipse.ui.IPageLayout)\r
-        */\r
-       @Override\r
-       public void createInitialLayout(IPageLayout layout)\r
-       {\r
-               layout.setEditorAreaVisible(false);\r
-               layout.addPerspectiveShortcut("org.netxms.ui.eclipse.console.DefaultPerspective"); //$NON-NLS-1$\r
-               layout.addPerspectiveShortcut("org.netxms.ui.eclipse.dashboard.DashboardPerspective"); //$NON-NLS-1$\r
-               \r
-               final IFolderLayout navigationFolder = layout.createFolder("org.netxms.ui.eclipse.folders.navigation", IPageLayout.LEFT, 0, ""); //$NON-NLS-1$ //$NON-NLS-2$\r
-               navigationFolder.addView("org.netxms.ui.eclipse.view.navigation.objectbrowser"); //$NON-NLS-1$\r
-               navigationFolder.addView("org.netxms.ui.eclipse.perfview.views.PredefinedGraphTree"); //$NON-NLS-1$\r
-               navigationFolder.addPlaceholder("org.netxms.ui.eclipse.dashboard.views.DashboardNavigator"); //$NON-NLS-1$\r
-\r
-               final IFolderLayout mainFolder = layout.createFolder("org.netxms.ui.eclipse.folders.main", IPageLayout.RIGHT, 0.20f, "org.netxms.ui.eclipse.folders.navigation"); //$NON-NLS-1$ //$NON-NLS-2$\r
-               mainFolder.addView("org.netxms.ui.eclipse.objectview.view.tabbed_object_view"); //$NON-NLS-1$\r
-               mainFolder.addView("org.netxms.ui.eclipse.alarmviewer.view.alarm_browser"); //$NON-NLS-1$\r
-               mainFolder.addPlaceholder("*"); //$NON-NLS-1$\r
-\r
-               final IPlaceholderFolderLayout statusFolder = layout.createPlaceholderFolder("org.netxms.ui.eclipse.folders.status", IPageLayout.BOTTOM, 0.75f, "org.netxms.ui.eclipse.folders.main"); //$NON-NLS-1$ //$NON-NLS-2$\r
-               statusFolder.addPlaceholder("org.eclipse.ui.views.ProgressView"); //$NON-NLS-1$\r
-               statusFolder.addPlaceholder("org.netxms.ui.eclipse.serverjobmanager.views.ServerJobManager"); //$NON-NLS-1$\r
-\r
-               final IPlaceholderFolderLayout propertiesFolder = layout.createPlaceholderFolder("org.netxms.ui.eclipse.folders.properties", IPageLayout.RIGHT, 0.75f, "org.netxms.ui.eclipse.folders.main"); //$NON-NLS-1$ //$NON-NLS-2$\r
-               propertiesFolder.addPlaceholder("org.netxms.ui.eclipse.alarmviewer.views.AlarmComments:*"); //$NON-NLS-1$\r
-       }\r
-}\r
+/**
+ * NetXMS - open source network management system
+ * Copyright (C) 2003-2010 Victor Kirhenshtein
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+package org.netxms.ui.eclipse.console.perspectives;
+
+import org.eclipse.ui.IFolderLayout;
+import org.eclipse.ui.IPageLayout;
+import org.eclipse.ui.IPerspectiveFactory;
+import org.eclipse.ui.IPlaceholderFolderLayout;
+
+/**
+ * Default perspective
+ *
+ */
+public class DefaultPerspective implements IPerspectiveFactory
+{
+       /* (non-Javadoc)
+        * @see org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.eclipse.ui.IPageLayout)
+        */
+       @Override
+       public void createInitialLayout(IPageLayout layout)
+       {
+               layout.setEditorAreaVisible(false);
+               layout.addPerspectiveShortcut("org.netxms.ui.eclipse.console.DefaultPerspective"); //$NON-NLS-1$
+               layout.addPerspectiveShortcut("org.netxms.ui.eclipse.dashboard.DashboardPerspective"); //$NON-NLS-1$
+               
+               final IFolderLayout navigationFolder = layout.createFolder("org.netxms.ui.eclipse.folders.navigation", IPageLayout.LEFT, 0, ""); //$NON-NLS-1$ //$NON-NLS-2$
+               navigationFolder.addView("org.netxms.ui.eclipse.view.navigation.objectbrowser"); //$NON-NLS-1$
+               navigationFolder.addView("org.netxms.ui.eclipse.perfview.views.PredefinedGraphTree"); //$NON-NLS-1$
+               navigationFolder.addPlaceholder("org.netxms.ui.eclipse.dashboard.views.DashboardNavigator"); //$NON-NLS-1$
+
+               final IFolderLayout mainFolder = layout.createFolder("org.netxms.ui.eclipse.folders.main", IPageLayout.RIGHT, 0.20f, "org.netxms.ui.eclipse.folders.navigation"); //$NON-NLS-1$ //$NON-NLS-2$
+               mainFolder.addView("org.netxms.ui.eclipse.objectview.view.tabbed_object_view"); //$NON-NLS-1$
+               mainFolder.addView("org.netxms.ui.eclipse.alarmviewer.view.alarm_browser"); //$NON-NLS-1$
+               mainFolder.addPlaceholder("*"); //$NON-NLS-1$
+
+               final IPlaceholderFolderLayout statusFolder = layout.createPlaceholderFolder("org.netxms.ui.eclipse.folders.status", IPageLayout.BOTTOM, 0.75f, "org.netxms.ui.eclipse.folders.main"); //$NON-NLS-1$ //$NON-NLS-2$
+               statusFolder.addPlaceholder("org.eclipse.ui.views.ProgressView"); //$NON-NLS-1$
+               statusFolder.addPlaceholder("org.netxms.ui.eclipse.serverjobmanager.views.ServerJobManager"); //$NON-NLS-1$
+
+               final IPlaceholderFolderLayout propertiesFolder = layout.createPlaceholderFolder("org.netxms.ui.eclipse.folders.properties", IPageLayout.RIGHT, 0.75f, "org.netxms.ui.eclipse.folders.main"); //$NON-NLS-1$ //$NON-NLS-2$
+               propertiesFolder.addPlaceholder("org.netxms.ui.eclipse.alarmviewer.views.AlarmComments:*"); //$NON-NLS-1$
+       }
+}
index b1c46b7..9acc363 100644 (file)
-/**\r
- * NetXMS - open source network management system\r
- * Copyright (C) 2003-2012 Victor Kirhenshtein\r
- *\r
- * This program is free software; you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
- */\r
-package org.netxms.ui.eclipse.console.preferencepages;\r
-\r
-import java.text.DateFormat;\r
-import java.text.SimpleDateFormat;\r
-import java.util.Date;\r
-import org.eclipse.jface.preference.IPreferenceStore;\r
-import org.eclipse.jface.preference.PreferencePage;\r
-import org.eclipse.swt.SWT;\r
-import org.eclipse.swt.events.ModifyEvent;\r
-import org.eclipse.swt.events.ModifyListener;\r
-import org.eclipse.swt.events.SelectionEvent;\r
-import org.eclipse.swt.events.SelectionListener;\r
-import org.eclipse.swt.layout.GridData;\r
-import org.eclipse.swt.layout.GridLayout;\r
-import org.eclipse.swt.widgets.Combo;\r
-import org.eclipse.swt.widgets.Composite;\r
-import org.eclipse.swt.widgets.Control;\r
-import org.eclipse.ui.IWorkbench;\r
-import org.eclipse.ui.IWorkbenchPreferencePage;\r
-import org.netxms.api.client.Session;\r
-import org.netxms.ui.eclipse.console.resources.SharedColors;\r
-import org.netxms.ui.eclipse.console.tools.RegionalSettings;\r
-import org.netxms.ui.eclipse.shared.ConsoleSharedData;\r
-import org.netxms.ui.eclipse.tools.WidgetHelper;\r
-import org.netxms.ui.eclipse.widgets.LabeledText;\r
-import org.netxms.webui.core.Activator;\r
-\r
-/**\r
- * Regional settings page\r
- */\r
-public class RegionalSettingsPrefPage extends PreferencePage implements IWorkbenchPreferencePage\r
-{\r
-       private static final long serialVersionUID = 1L;\r
-\r
-       private Combo dateTimeFormat;\r
-       private LabeledText dateFormatString;\r
-       private LabeledText timeFormatString;\r
-       private LabeledText dateTimeExample;\r
-       private int format;\r
-       \r
-       /* (non-Javadoc)\r
-        * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)\r
-        */\r
-       @Override\r
-       public void init(IWorkbench workbench)\r
-       {\r
-               setPreferenceStore(Activator.getDefault().getPreferenceStore());\r
-       }\r
-\r
-       /* (non-Javadoc)\r
-        * @see org.eclipse.jface.preference.PreferencePage#createContents(org.eclipse.swt.widgets.Composite)\r
-        */\r
-       @Override\r
-       protected Control createContents(Composite parent)\r
-       {\r
-               Composite dialogArea = new Composite(parent, SWT.NONE);\r
-               \r
-               GridLayout layout = new GridLayout();\r
-               layout.verticalSpacing = WidgetHelper.DIALOG_SPACING;\r
-               layout.horizontalSpacing = WidgetHelper.DIALOG_SPACING;\r
-               layout.numColumns = 2;\r
-               dialogArea.setLayout(layout);\r
-\r
-               GridData gd = new GridData();\r
-               gd.horizontalAlignment = SWT.FILL;\r
-               gd.grabExcessHorizontalSpace = true;\r
-               gd.horizontalSpan = 2;\r
-               dateTimeFormat = WidgetHelper.createLabeledCombo(dialogArea, SWT.BORDER | SWT.READ_ONLY, "Date and time format", gd);\r
-               dateTimeFormat.add("Defined by server");\r
-               dateTimeFormat.add("JVM default locale");\r
-               dateTimeFormat.add("Custom");\r
-               format = getPreferenceStore().getInt("DATETIME_FORMAT");\r
-               dateTimeFormat.select(format);\r
-               dateTimeFormat.addSelectionListener(new SelectionListener() {\r
-                       private static final long serialVersionUID = 1L;\r
-\r
-                       @Override\r
-                       public void widgetSelected(SelectionEvent e)\r
-                       {\r
-                               format = dateTimeFormat.getSelectionIndex();\r
-                               dateFormatString.setEnabled(format == RegionalSettings.DATETIME_FORMAT_CUSTOM);\r
-                               timeFormatString.setEnabled(format == RegionalSettings.DATETIME_FORMAT_CUSTOM);\r
-                               updateExample(null);\r
-                       }\r
-                       \r
-                       @Override\r
-                       public void widgetDefaultSelected(SelectionEvent e)\r
-                       {\r
-                               widgetSelected(e);\r
-                       }\r
-               });\r
-               \r
-               ModifyListener listener = new ModifyListener() {\r
-                       private static final long serialVersionUID = 1L;\r
-\r
-                       @Override\r
-                       public void modifyText(ModifyEvent e)\r
-                       {\r
-                               updateExample((Control)e.widget);\r
-                       }\r
-               };\r
-               \r
-               dateFormatString = new LabeledText(dialogArea, SWT.NONE);\r
-               dateFormatString.setLabel("Date format string");\r
-               gd = new GridData();\r
-               gd.horizontalAlignment = SWT.FILL;\r
-               gd.grabExcessHorizontalSpace = true;\r
-               dateFormatString.setLayoutData(gd);\r
-               dateFormatString.setText(getPreferenceStore().getString("DATE_FORMAT_STRING"));\r
-               dateFormatString.setEnabled(format == RegionalSettings.DATETIME_FORMAT_CUSTOM);\r
-               dateFormatString.getTextControl().addModifyListener(listener);\r
-               \r
-               timeFormatString = new LabeledText(dialogArea, SWT.NONE);\r
-               timeFormatString.setLabel("Time format string");\r
-               gd = new GridData();\r
-               gd.horizontalAlignment = SWT.FILL;\r
-               gd.grabExcessHorizontalSpace = true;\r
-               timeFormatString.setLayoutData(gd);\r
-               timeFormatString.setText(getPreferenceStore().getString("TIME_FORMAT_STRING"));\r
-               timeFormatString.setEnabled(format == RegionalSettings.DATETIME_FORMAT_CUSTOM);\r
-               timeFormatString.getTextControl().addModifyListener(listener);\r
-               \r
-               dateTimeExample = new LabeledText(dialogArea, SWT.NONE, SWT.BORDER | SWT.READ_ONLY);\r
-               dateTimeExample.setLabel("Date and time formatting example");\r
-               gd = new GridData();\r
-               gd.horizontalAlignment = SWT.FILL;\r
-               gd.grabExcessHorizontalSpace = true;\r
-               gd.horizontalSpan = 2;\r
-               dateTimeExample.setLayoutData(gd);\r
-               updateExample(null);\r
-               \r
-               return dialogArea;\r
-       }\r
-\r
-       /**\r
-        * Update formatting example\r
-        */\r
-       private void updateExample(Control updatedControl)\r
-       {\r
-               DateFormat df;\r
-               switch(format)\r
-               {\r
-                       case RegionalSettings.DATETIME_FORMAT_SERVER:\r
-                               Session session = ConsoleSharedData.getSession();\r
-                               df = new SimpleDateFormat(session.getDateFormat() + " " + session.getTimeFormat());\r
-                               break;\r
-                       case RegionalSettings.DATETIME_FORMAT_CUSTOM:\r
-                               try\r
-                               {\r
-                                       df = new SimpleDateFormat(dateFormatString.getText() + " " + timeFormatString.getText());\r
-                               }\r
-                               catch(IllegalArgumentException e)\r
-                               {\r
-                                       setErrorMessage(e.getLocalizedMessage());\r
-                                       if (updatedControl != null)\r
-                                               updatedControl.setBackground(SharedColors.getColor(SharedColors.ERROR_BACKGROUND, updatedControl.getDisplay()));\r
-                                       return;\r
-                               }\r
-                               break;\r
-                       default:\r
-                               df = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM);\r
-                               break;\r
-               }\r
-               dateTimeExample.setText(df.format(new Date(System.currentTimeMillis())));\r
-               \r
-               setErrorMessage(null);\r
-               dateFormatString.getTextControl().setBackground(null);\r
-               timeFormatString.getTextControl().setBackground(null);\r
-       }\r
-\r
-       /* (non-Javadoc)\r
-        * @see org.eclipse.jface.preference.PreferencePage#performDefaults()\r
-        */\r
-       @Override\r
-       protected void performDefaults()\r
-       {\r
-               super.performDefaults();\r
-               format = getPreferenceStore().getInt("DATETIME_FORMAT");\r
-               dateTimeFormat.select(format);\r
-               dateFormatString.setText(getPreferenceStore().getString("DATE_FORMAT_STRING"));\r
-               timeFormatString.setText(getPreferenceStore().getString("TIME_FORMAT_STRING"));\r
-               dateFormatString.setEnabled(format == RegionalSettings.DATETIME_FORMAT_CUSTOM);\r
-               timeFormatString.setEnabled(format == RegionalSettings.DATETIME_FORMAT_CUSTOM);\r
-               updateExample(null);\r
-       }\r
-\r
-       /* (non-Javadoc)\r
-        * @see org.eclipse.jface.preference.PreferencePage#performOk()\r
-        */\r
-       @Override\r
-       public boolean performOk()\r
-       {\r
-               final IPreferenceStore ps = getPreferenceStore();\r
-               \r
-               ps.setValue("DATETIME_FORMAT", format);\r
-               ps.setValue("DATE_FORMAT_STRING", dateFormatString.getText());\r
-               ps.setValue("TIME_FORMAT_STRING", timeFormatString.getText());\r
-               \r
-               RegionalSettings.updateFromPreferences();\r
-               \r
-               return true;\r
-       }\r
-}\r
+/**
+ * NetXMS - open source network management system
+ * Copyright (C) 2003-2012 Victor Kirhenshtein
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+package org.netxms.ui.eclipse.console.preferencepages;
+
+import java.text.DateFormat;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+import org.eclipse.jface.preference.IPreferenceStore;
+import org.eclipse.jface.preference.PreferencePage;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.ModifyEvent;
+import org.eclipse.swt.events.ModifyListener;
+import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.events.SelectionListener;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Combo;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+import org.eclipse.ui.IWorkbench;
+import org.eclipse.ui.IWorkbenchPreferencePage;
+import org.netxms.api.client.Session;
+import org.netxms.ui.eclipse.console.resources.SharedColors;
+import org.netxms.ui.eclipse.console.tools.RegionalSettings;
+import org.netxms.ui.eclipse.shared.ConsoleSharedData;
+import org.netxms.ui.eclipse.tools.WidgetHelper;
+import org.netxms.ui.eclipse.widgets.LabeledText;
+import org.netxms.webui.core.Activator;
+
+/**
+ * Regional settings page
+ */
+public class RegionalSettingsPrefPage extends PreferencePage implements IWorkbenchPreferencePage
+{
+       private static final long serialVersionUID = 1L;
+
+       private Combo dateTimeFormat;
+       private LabeledText dateFormatString;
+       private LabeledText timeFormatString;
+       private LabeledText dateTimeExample;
+       private int format;
+       
+       /* (non-Javadoc)
+        * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
+        */
+       @Override
+       public void init(IWorkbench workbench)
+       {
+               setPreferenceStore(Activator.getDefault().getPreferenceStore());
+       }
+
+       /* (non-Javadoc)
+        * @see org.eclipse.jface.preference.PreferencePage#createContents(org.eclipse.swt.widgets.Composite)
+        */
+       @Override
+       protected Control createContents(Composite parent)
+       {
+               Composite dialogArea = new Composite(parent, SWT.NONE);
+               
+               GridLayout layout = new GridLayout();
+               layout.verticalSpacing = WidgetHelper.DIALOG_SPACING;
+               layout.horizontalSpacing = WidgetHelper.DIALOG_SPACING;
+               layout.numColumns = 2;
+               dialogArea.setLayout(layout);
+
+               GridData gd = new GridData();
+               gd.horizontalAlignment = SWT.FILL;
+               gd.grabExcessHorizontalSpace = true;
+               gd.horizontalSpan = 2;
+               dateTimeFormat = WidgetHelper.createLabeledCombo(dialogArea, SWT.BORDER | SWT.READ_ONLY, "Date and time format", gd);
+               dateTimeFormat.add("Defined by server");
+               dateTimeFormat.add("JVM default locale");
+               dateTimeFormat.add("Custom");
+               format = getPreferenceStore().getInt("DATETIME_FORMAT");
+               dateTimeFormat.select(format);
+               dateTimeFormat.addSelectionListener(new SelectionListener() {
+                       private static final long serialVersionUID = 1L;
+
+                       @Override
+                       public void widgetSelected(SelectionEvent e)
+                       {
+                               format = dateTimeFormat.getSelectionIndex();
+                               dateFormatString.setEnabled(format == RegionalSettings.DATETIME_FORMAT_CUSTOM);
+                               timeFormatString.setEnabled(format == RegionalSettings.DATETIME_FORMAT_CUSTOM);
+                               updateExample(null);
+                       }
+                       
+                       @Override
+                       public void widgetDefaultSelected(SelectionEvent e)
+                       {
+                               widgetSelected(e);
+                       }
+               });
+               
+               ModifyListener listener = new ModifyListener() {
+                       private static final long serialVersionUID = 1L;
+
+                       @Override
+                       public void modifyText(ModifyEvent e)
+                       {
+                               updateExample((Control)e.widget);
+                       }
+               };
+               
+               dateFormatString = new LabeledText(dialogArea, SWT.NONE);
+               dateFormatString.setLabel("Date format string");
+               gd = new GridData();
+               gd.horizontalAlignment = SWT.FILL;
+               gd.grabExcessHorizontalSpace = true;
+               dateFormatString.setLayoutData(gd);
+               dateFormatString.setText(getPreferenceStore().getString("DATE_FORMAT_STRING"));
+               dateFormatString.setEnabled(format == RegionalSettings.DATETIME_FORMAT_CUSTOM);
+               dateFormatString.getTextControl().addModifyListener(listener);
+               
+               timeFormatString = new LabeledText(dialogArea, SWT.NONE);
+               timeFormatString.setLabel("Time format string");
+               gd = new GridData();
+               gd.horizontalAlignment = SWT.FILL;
+               gd.grabExcessHorizontalSpace = true;
+               timeFormatString.setLayoutData(gd);
+               timeFormatString.setText(getPreferenceStore().getString("TIME_FORMAT_STRING"));
+               timeFormatString.setEnabled(format == RegionalSettings.DATETIME_FORMAT_CUSTOM);
+               timeFormatString.getTextControl().addModifyListener(listener);
+               
+               dateTimeExample = new LabeledText(dialogArea, SWT.NONE, SWT.BORDER | SWT.READ_ONLY);
+               dateTimeExample.setLabel("Date and time formatting example");
+               gd = new GridData();
+               gd.horizontalAlignment = SWT.FILL;
+               gd.grabExcessHorizontalSpace = true;
+               gd.horizontalSpan = 2;
+               dateTimeExample.setLayoutData(gd);
+               updateExample(null);
+               
+               return dialogArea;
+       }
+
+       /**
+        * Update formatting example
+        */
+       private void updateExample(Control updatedControl)
+       {
+               DateFormat df;
+               switch(format)
+               {
+                       case RegionalSettings.DATETIME_FORMAT_SERVER:
+                               Session session = ConsoleSharedData.getSession();
+                               df = new SimpleDateFormat(session.getDateFormat() + " " + session.getTimeFormat());
+                               break;
+                       case RegionalSettings.DATETIME_FORMAT_CUSTOM:
+                               try
+                               {
+                                       df = new SimpleDateFormat(dateFormatString.getText() + " " + timeFormatString.getText());
+                               }
+                               catch(IllegalArgumentException e)
+                               {
+                                       setErrorMessage(e.getLocalizedMessage());
+                                       if (updatedControl != null)
+                                               updatedControl.setBackground(SharedColors.getColor(SharedColors.ERROR_BACKGROUND, updatedControl.getDisplay()));
+                                       return;
+                               }
+                               break;
+                       default:
+                               df = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM);
+                               break;
+               }
+               dateTimeExample.setText(df.format(new Date(System.currentTimeMillis())));
+               
+               setErrorMessage(null);
+               dateFormatString.getTextControl().setBackground(null);
+               timeFormatString.getTextControl().setBackground(null);
+       }
+
+       /* (non-Javadoc)
+        * @see org.eclipse.jface.preference.PreferencePage#performDefaults()
+        */
+       @Override
+       protected void performDefaults()
+       {
+               super.performDefaults();
+               format = getPreferenceStore().getInt("DATETIME_FORMAT");
+               dateTimeFormat.select(format);
+               dateFormatString.setText(getPreferenceStore().getString("DATE_FORMAT_STRING"));
+               timeFormatString.setText(getPreferenceStore().getString("TIME_FORMAT_STRING"));
+               dateFormatString.setEnabled(format == RegionalSettings.DATETIME_FORMAT_CUSTOM);
+               timeFormatString.setEnabled(format == RegionalSettings.DATETIME_FORMAT_CUSTOM);
+               updateExample(null);
+       }
+
+       /* (non-Javadoc)
+        * @see org.eclipse.jface.preference.PreferencePage#performOk()
+        */
+       @Override
+       public boolean performOk()
+       {
+               final IPreferenceStore ps = getPreferenceStore();
+               
+               ps.setValue("DATETIME_FORMAT", format);
+               ps.setValue("DATE_FORMAT_STRING", dateFormatString.getText());
+               ps.setValue("TIME_FORMAT_STRING", timeFormatString.getText());
+               
+               RegionalSettings.updateFromPreferences();
+               
+               return true;
+       }
+}
index ad1655b..35a0f7f 100644 (file)
@@ -1,61 +1,61 @@
-/**\r
- * NetXMS - open source network management system\r
- * Copyright (C) 2003-2009 Victor Kirhenshtein\r
- *\r
- * This program is free software; you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
- */\r
-package org.netxms.ui.eclipse.console.resources;\r
-\r
-import org.netxms.client.datacollection.DataCollectionItem;\r
-\r
-/**\r
- * Data collection display information\r
- *\r
- */\r
-public class DataCollectionDisplayInfo\r
-{\r
-       private static String dciDataTypes[] = new String[7];\r
-       \r
-       /**\r
-        * Initialize static members. Intended to be called once by library activator.\r
-        */\r
-       public static void init()\r
-       {\r
-               dciDataTypes[DataCollectionItem.DT_INT] = "Integer";\r
-               dciDataTypes[DataCollectionItem.DT_UINT] = "Unsigned Integer";\r
-               dciDataTypes[DataCollectionItem.DT_INT64] = "Integer 64-bit";\r
-               dciDataTypes[DataCollectionItem.DT_UINT64] = "Unsigned Integer 64-bit";\r
-               dciDataTypes[DataCollectionItem.DT_FLOAT] = "Float";\r
-               dciDataTypes[DataCollectionItem.DT_STRING] = "String";\r
-               dciDataTypes[DataCollectionItem.DT_NULL] = "Null";\r
-       }\r
-\r
-       /**\r
-        * Get name for given data type\r
-        * @param dt Data type ID\r
-        * @return data type name\r
-        */\r
-       public static String getDataTypeName(int dt)\r
-       {\r
-               try\r
-               {\r
-                       return dciDataTypes[dt];\r
-               }\r
-               catch(ArrayIndexOutOfBoundsException e)\r
-               {\r
-                       return "Unknown";\r
-               }\r
-       }\r
-}\r
+/**
+ * NetXMS - open source network management system
+ * Copyright (C) 2003-2009 Victor Kirhenshtein
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+package org.netxms.ui.eclipse.console.resources;
+
+import org.netxms.client.datacollection.DataCollectionItem;
+
+/**
+ * Data collection display information
+ *
+ */
+public class DataCollectionDisplayInfo
+{
+       private static String dciDataTypes[] = new String[7];
+       
+       /**
+        * Initialize static members. Intended to be called once by library activator.
+        */
+       public static void init()
+       {
+               dciDataTypes[DataCollectionItem.DT_INT] = "Integer";
+               dciDataTypes[DataCollectionItem.DT_UINT] = "Unsigned Integer";
+               dciDataTypes[DataCollectionItem.DT_INT64] = "Integer 64-bit";
+               dciDataTypes[DataCollectionItem.DT_UINT64] = "Unsigned Integer 64-bit";
+               dciDataTypes[DataCollectionItem.DT_FLOAT] = "Float";
+               dciDataTypes[DataCollectionItem.DT_STRING] = "String";
+               dciDataTypes[DataCollectionItem.DT_NULL] = "Null";
+       }
+
+       /**
+        * Get name for given data type
+        * @param dt Data type ID
+        * @return data type name
+        */
+       public static String getDataTypeName(int dt)
+       {
+               try
+               {
+                       return dciDataTypes[dt];
+               }
+               catch(ArrayIndexOutOfBoundsException e)
+               {
+                       return "Unknown";
+               }
+       }
+}
index e410591..ad6d849 100644 (file)
-/**\r
- * NetXMS - open source network management system\r
- * Copyright (C) 2003-2009 Victor Kirhenshtein\r
- *\r
- * This program is free software; you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
- */\r
-package org.netxms.ui.eclipse.console.resources;\r
-\r
-import org.eclipse.jface.resource.ImageDescriptor;\r
-import org.eclipse.swt.graphics.Color;\r
-import org.eclipse.swt.graphics.Image;\r
-import org.eclipse.swt.widgets.Display;\r
-import org.netxms.client.constants.Severity;\r
-import org.netxms.webui.core.Activator;\r
-\r
-/**\r
- * Status display information\r
- */\r
-public final class StatusDisplayInfo\r
-{\r
-       private static String[] statusText = new String[9];\r
-       private static ImageDescriptor[] statusImageDesc = new ImageDescriptor[9];\r
-       private static Image[] statusImage = new Image[9];\r
-       private static String[] statusColor = new String[9];\r
-       \r
-       /**\r
-        * Initialize static members. Intended to be called once by library activator.\r
-        */\r
-       public static void init(Display display)\r
-       {\r
-               statusText[Severity.NORMAL] = "Normal";\r
-               statusText[Severity.WARNING] = "Warning";\r
-               statusText[Severity.MINOR] = "Minor";\r
-               statusText[Severity.MAJOR] = "Major";\r
-               statusText[Severity.CRITICAL] = "Critical";\r
-               statusText[Severity.UNKNOWN] = "Unknown";\r
-               statusText[Severity.UNMANAGED] = "Unmanaged";\r
-               statusText[Severity.DISABLED] = "Disabled";\r
-               statusText[Severity.TESTING] = "Testing";\r
-\r
-               statusImageDesc[Severity.NORMAL] = Activator.getImageDescriptor("icons/status/normal.png"); //$NON-NLS-1$\r
-               statusImageDesc[Severity.WARNING] = Activator.getImageDescriptor("icons/status/warning.png"); //$NON-NLS-1$\r
-               statusImageDesc[Severity.MINOR] = Activator.getImageDescriptor("icons/status/minor.png"); //$NON-NLS-1$\r
-               statusImageDesc[Severity.MAJOR] = Activator.getImageDescriptor("icons/status/major.png"); //$NON-NLS-1$\r
-               statusImageDesc[Severity.CRITICAL] = Activator.getImageDescriptor("icons/status/critical.png"); //$NON-NLS-1$\r
-               statusImageDesc[Severity.UNKNOWN] = Activator.getImageDescriptor("icons/status/unknown.png"); //$NON-NLS-1$\r
-               statusImageDesc[Severity.UNMANAGED] = Activator.getImageDescriptor("icons/status/unmanaged.png"); //$NON-NLS-1$\r
-               statusImageDesc[Severity.DISABLED] = Activator.getImageDescriptor("icons/status/disabled.png"); //$NON-NLS-1$\r
-               statusImageDesc[Severity.TESTING] = Activator.getImageDescriptor("icons/status/testing.png"); //$NON-NLS-1$\r
-               \r
-               for(int i = 0; i < statusImageDesc.length; i++)\r
-                       statusImage[i] = statusImageDesc[i].createImage(display);\r
-\r
-               statusColor[Severity.NORMAL] = SharedColors.STATUS_NORMAL;\r
-               statusColor[Severity.WARNING] = SharedColors.STATUS_WARNING;\r
-               statusColor[Severity.MINOR] = SharedColors.STATUS_MINOR;\r
-               statusColor[Severity.MAJOR] = SharedColors.STATUS_MAJOR;\r
-               statusColor[Severity.CRITICAL] = SharedColors.STATUS_CRITICAL;\r
-               statusColor[Severity.UNKNOWN] = SharedColors.STATUS_UNKNOWN;\r
-               statusColor[Severity.UNMANAGED] = SharedColors.STATUS_UNMANAGED;\r
-               statusColor[Severity.DISABLED] = SharedColors.STATUS_DISABLED;\r
-               statusColor[Severity.TESTING] = SharedColors.STATUS_TESTING;\r
-       }\r
-       \r
-       /**\r
-        * Get text for given status/severity code.\r
-        * \r
-        * @param severity Status or severity code\r
-        * @return Text for given code\r
-        */\r
-       public static String getStatusText(int severity)\r
-       {\r
-               try\r
-               {\r
-                       return statusText[severity];\r
-               }\r
-               catch(ArrayIndexOutOfBoundsException e)\r
-               {\r
-                       return "<unknown>"; //$NON-NLS-1$\r
-               }\r
-       }\r
-       \r
-       /**\r
-        * Get image descriptor for given status/severity code.\r
-        * \r
-        * @param severity Status or severity code\r
-        * @return Image descriptor for given code\r
-        */\r
-       public static ImageDescriptor getStatusImageDescriptor(int severity)\r
-       {\r
-               try\r
-               {\r
-                       return statusImageDesc[severity];\r
-               }\r
-               catch(ArrayIndexOutOfBoundsException e)\r
-               {\r
-                       return null;\r
-               }\r
-       }\r
-       \r
-       /**\r
-        * Get image for given status/severity code. Image is owned by library\r
-        * and should not be disposed by caller.\r
-        * \r
-        * @param severity Status or severity code\r
-        * @return Image descriptor for given code\r
-        */\r
-       public static Image getStatusImage(int severity)\r
-       {\r
-               try\r
-               {\r
-                       return statusImage[severity];\r
-               }\r
-               catch(ArrayIndexOutOfBoundsException e)\r
-               {\r
-                       return null;\r
-               }\r
-       }\r
-       \r
-       /**\r
-        * Get color for given status/severity code.\r
-        * \r
-        * @param severity Status or severity code\r
-        * @return Color for given code\r
-        */\r
-       public static Color getStatusColor(int severity)\r
-       {\r
-               try\r
-               {\r
-                       return SharedColors.getColor(statusColor[severity], Display.getCurrent());\r
-               }\r
-               catch(ArrayIndexOutOfBoundsException e)\r
-               {\r
-                       return null;\r
-               }\r
-       }\r
-}\r
+/**
+ * NetXMS - open source network management system
+ * Copyright (C) 2003-2009 Victor Kirhenshtein
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+package org.netxms.ui.eclipse.console.resources;
+
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.swt.graphics.Color;
+import org.eclipse.swt.graphics.Image;
+import org.eclipse.swt.widgets.Display;
+import org.netxms.client.constants.Severity;
+import org.netxms.webui.core.Activator;
+
+/**
+ * Status display information
+ */
+public final class StatusDisplayInfo
+{
+       private static String[] statusText = new String[9];
+       private static ImageDescriptor[] statusImageDesc = new ImageDescriptor[9];
+       private static Image[] statusImage = new Image[9];
+       private static String[] statusColor = new String[9];
+       
+       /**
+        * Initialize static members. Intended to be called once by library activator.
+        */
+       public static void init(Display display)
+       {
+               statusText[Severity.NORMAL] = "Normal";
+               statusText[Severity.WARNING] = "Warning";
+               statusText[Severity.MINOR] = "Minor";
+               statusText[Severity.MAJOR] = "Major";
+               statusText[Severity.CRITICAL] = "Critical";
+               statusText[Severity.UNKNOWN] = "Unknown";
+               statusText[Severity.UNMANAGED] = "Unmanaged";
+               statusText[Severity.DISABLED] = "Disabled";
+               statusText[Severity.TESTING] = "Testing";
+
+               statusImageDesc[Severity.NORMAL] = Activator.getImageDescriptor("icons/status/normal.png"); //$NON-NLS-1$
+               statusImageDesc[Severity.WARNING] = Activator.getImageDescriptor("icons/status/warning.png"); //$NON-NLS-1$
+               statusImageDesc[Severity.MINOR] = Activator.getImageDescriptor("icons/status/minor.png"); //$NON-NLS-1$
+               statusImageDesc[Severity.MAJOR] = Activator.getImageDescriptor("icons/status/major.png"); //$NON-NLS-1$
+               statusImageDesc[Severity.CRITICAL] = Activator.getImageDescriptor("icons/status/critical.png"); //$NON-NLS-1$
+               statusImageDesc[Severity.UNKNOWN] = Activator.getImageDescriptor("icons/status/unknown.png"); //$NON-NLS-1$
+               statusImageDesc[Severity.UNMANAGED] = Activator.getImageDescriptor("icons/status/unmanaged.png"); //$NON-NLS-1$
+               statusImageDesc[Severity.DISABLED] = Activator.getImageDescriptor("icons/status/disabled.png"); //$NON-NLS-1$
+               statusImageDesc[Severity.TESTING] = Activator.getImageDescriptor("icons/status/testing.png"); //$NON-NLS-1$
+               
+               for(int i = 0; i < statusImageDesc.length; i++)
+                       statusImage[i] = statusImageDesc[i].createImage(display);
+
+               statusColor[Severity.NORMAL] = SharedColors.STATUS_NORMAL;
+               statusColor[Severity.WARNING] = SharedColors.STATUS_WARNING;
+               statusColor[Severity.MINOR] = SharedColors.STATUS_MINOR;
+               statusColor[Severity.MAJOR] = SharedColors.STATUS_MAJOR;
+               statusColor[Severity.CRITICAL] = SharedColors.STATUS_CRITICAL;
+               statusColor[Severity.UNKNOWN] = SharedColors.STATUS_UNKNOWN;
+               statusColor[Severity.UNMANAGED] = SharedColors.STATUS_UNMANAGED;
+               statusColor[Severity.DISABLED] = SharedColors.STATUS_DISABLED;
+               statusColor[Severity.TESTING] = SharedColors.STATUS_TESTING;
+       }
+       
+       /**
+        * Get text for given status/severity code.
+        * 
+        * @param severity Status or severity code
+        * @return Text for given code
+        */
+       public static String getStatusText(int severity)
+       {
+               try
+               {
+                       return statusText[severity];
+               }
+               catch(ArrayIndexOutOfBoundsException e)
+               {
+                       return "<unknown>"; //$NON-NLS-1$
+               }
+       }
+       
+       /**
+        * Get image descriptor for given status/severity code.
+        * 
+        * @param severity Status or severity code
+        * @return Image descriptor for given code
+        */
+       public static ImageDescriptor getStatusImageDescriptor(int severity)
+       {
+               try
+               {
+                       return statusImageDesc[severity];
+               }
+               catch(ArrayIndexOutOfBoundsException e)
+               {
+                       return null;
+               }
+       }
+       
+       /**
+        * Get image for given status/severity code. Image is owned by library
+        * and should not be disposed by caller.
+        * 
+        * @param severity Status or severity code
+        * @return Image descriptor for given code
+        */
+       public static Image getStatusImage(int severity)
+       {
+               try
+               {
+                       return statusImage[severity];
+               }
+               catch(ArrayIndexOutOfBoundsException e)
+               {
+                       return null;
+               }
+       }
+       
+       /**
+        * Get color for given status/severity code.
+        * 
+        * @param severity Status or severity code
+        * @return Color for given code
+        */
+       public static Color getStatusColor(int severity)
+       {
+               try
+               {
+                       return SharedColors.getColor(statusColor[severity], Display.getCurrent());
+               }
+               catch(ArrayIndexOutOfBoundsException e)
+               {
+                       return null;
+               }
+       }
+}
index 0d845af..1ef3be9 100644 (file)
-/**\r
- * NetXMS - open source network management system\r
- * Copyright (C) 2003-2013 Victor Kirhenshtein\r
- *\r
- * This program is free software; you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
- */\r
-package org.netxms.ui.eclipse.console.tools;\r
-\r
-import java.util.Iterator;\r
-import java.util.List;\r
-import org.eclipse.jface.preference.IPreferenceNode;\r
-import org.eclipse.jface.preference.IPreferencePage;\r
-import org.eclipse.jface.preference.PreferenceManager;\r
-import org.eclipse.jface.viewers.ISelection;\r
-import org.eclipse.jface.viewers.StructuredSelection;\r
-import org.eclipse.osgi.util.NLS;\r
-import org.eclipse.swt.widgets.Shell;\r
-import org.eclipse.ui.PlatformUI;\r
-import org.eclipse.ui.internal.IWorkbenchHelpContextIds;\r
-import org.eclipse.ui.internal.WorkbenchMessages;\r
-import org.eclipse.ui.internal.dialogs.PropertyDialog;\r
-import org.eclipse.ui.internal.dialogs.PropertyPageContributorManager;\r
-import org.eclipse.ui.internal.dialogs.PropertyPageManager;\r
-import org.netxms.ui.eclipse.tools.MessageDialogHelper;\r
-\r
-/**\r
- * @author Victor\r
- *\r
- */\r
-@SuppressWarnings("restriction")\r
-public class ExtendedPropertyDialog extends PropertyDialog\r
-{\r
-       /**\r
-        * @param parentShell\r
-        * @param mng\r
-        * @param selection\r
-        */\r
-       public ExtendedPropertyDialog(Shell parentShell, PreferenceManager mng, ISelection selection)\r
-       {\r
-               super(parentShell, mng, selection);\r
-       }\r
-       \r
-       /**\r
-        * Create controls for all pages\r
-        */\r
-       @SuppressWarnings("rawtypes")\r
-       public void createAllPages()\r
-       {\r
-               List nodes = getPreferenceManager().getElements(PreferenceManager.POST_ORDER);\r
-               Iterator i = nodes.iterator();\r
-               while(i.hasNext()) \r
-               {\r
-                       IPreferenceNode node = (IPreferenceNode)i.next();\r
-                       if (node.getPage() == null)\r
-                               createPage(node);\r
-                       IPreferencePage page = getPage(node);\r
-                       page.setContainer(this);\r
-                       if (page.getControl() == null)\r
-                               page.createControl(getPageContainer());\r
-               }\r
-       }\r
-\r
-       /**\r
-        * @param shell\r
-        * @param propertyPageId\r
-        * @param element\r
-        * @param name\r
-        * @return\r
-        */\r
-       @SuppressWarnings("rawtypes")\r
-       public static ExtendedPropertyDialog createDialogOn(Shell shell, final String propertyPageId, Object element, String name)\r
-       {\r
-               if (element == null)\r
-                       return null;\r
-               \r
-               PropertyPageManager pageManager = new PropertyPageManager();\r
-               String title = "";//$NON-NLS-1$\r
-               \r
-               // load pages for the selection\r
-               // fill the manager with contributions from the matching contributors\r
-               PropertyPageContributorManager.getManager().contribute(pageManager, element);\r
-               // testing if there are pages in the manager\r
-               Iterator pages = pageManager.getElements(PreferenceManager.PRE_ORDER).iterator();\r
-               if (!pages.hasNext())\r
-               {\r
-                       MessageDialogHelper.openInformation(shell, WorkbenchMessages.get().PropertyDialog_messageTitle,\r
-                                       NLS.bind(WorkbenchMessages.get().PropertyDialog_noPropertyMessage, name));\r
-                       return null;\r
-               }\r
-               title = NLS.bind(WorkbenchMessages.get().PropertyDialog_propertyMessage, name);\r
-               ExtendedPropertyDialog propertyDialog = new ExtendedPropertyDialog(shell, pageManager, new StructuredSelection(element));\r
-\r
-               if (propertyPageId != null)\r
-               {\r
-                       propertyDialog.setSelectedNode(propertyPageId);\r
-               }\r
-               propertyDialog.create();\r
-\r
-               propertyDialog.getShell().setText(title);\r
-               PlatformUI.getWorkbench().getHelpSystem().setHelp(propertyDialog.getShell(), IWorkbenchHelpContextIds.PROPERTY_DIALOG);\r
-\r
-               return propertyDialog;\r
-       }\r
-}\r
+/**
+ * NetXMS - open source network management system
+ * Copyright (C) 2003-2013 Victor Kirhenshtein
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+package org.netxms.ui.eclipse.console.tools;
+
+import java.util.Iterator;
+import java.util.List;
+import org.eclipse.jface.preference.IPreferenceNode;
+import org.eclipse.jface.preference.IPreferencePage;
+import org.eclipse.jface.preference.PreferenceManager;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.osgi.util.NLS;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.ui.PlatformUI;
+import org.eclipse.ui.internal.IWorkbenchHelpContextIds;
+import org.eclipse.ui.internal.WorkbenchMessages;
+import org.eclipse.ui.internal.dialogs.PropertyDialog;
+import org.eclipse.ui.internal.dialogs.PropertyPageContributorManager;
+import org.eclipse.ui.internal.dialogs.PropertyPageManager;
+import org.netxms.ui.eclipse.tools.MessageDialogHelper;
+
+/**
+ * @author Victor
+ *
+ */
+@SuppressWarnings("restriction")
+public class ExtendedPropertyDialog extends PropertyDialog
+{
+       /**
+        * @param parentShell
+        * @param mng
+        * @param selection
+        */
+       public ExtendedPropertyDialog(Shell parentShell, PreferenceManager mng, ISelection selection)
+       {
+               super(parentShell, mng, selection);
+       }
+       
+       /**
+        * Create controls for all pages
+        */
+       @SuppressWarnings("rawtypes")
+       public void createAllPages()
+       {
+               List nodes = getPreferenceManager().getElements(PreferenceManager.POST_ORDER);
+               Iterator i = nodes.iterator();
+               while(i.hasNext()) 
+               {
+                       IPreferenceNode node = (IPreferenceNode)i.next();
+                       if (node.getPage() == null)
+                               createPage(node);
+                       IPreferencePage page = getPage(node);
+                       page.setContainer(this);
+                       if (page.getControl() == null)
+                               page.createControl(getPageContainer());
+               }
+       }
+
+       /**
+        * @param shell
+        * @param propertyPageId
+        * @param element
+        * @param name
+        * @return
+        */
+       @SuppressWarnings("rawtypes")
+       public static ExtendedPropertyDialog createDialogOn(Shell shell, final String propertyPageId, Object element, String name)
+       {
+               if (element == null)
+                       return null;
+               
+               PropertyPageManager pageManager = new PropertyPageManager();
+               String title = "";//$NON-NLS-1$
+               
+               // load pages for the selection
+               // fill the manager with contributions from the matching contributors
+               PropertyPageContributorManager.getManager().contribute(pageManager, element);
+               // testing if there are pages in the manager
+               Iterator pages = pageManager.getElements(PreferenceManager.PRE_ORDER).iterator();
+               if (!pages.hasNext())
+               {
+                       MessageDialogHelper.openInformation(shell, WorkbenchMessages.get().PropertyDialog_messageTitle,
+                                       NLS.bind(WorkbenchMessages.get().PropertyDialog_noPropertyMessage, name));
+                       return null;
+               }
+               title = NLS.bind(WorkbenchMessages.get().PropertyDialog_propertyMessage, name);
+               ExtendedPropertyDialog propertyDialog = new ExtendedPropertyDialog(shell, pageManager, new StructuredSelection(element));
+
+               if (propertyPageId != null)
+               {
+                       propertyDialog.setSelectedNode(propertyPageId);
+               }
+               propertyDialog.create();
+
+               propertyDialog.getShell().setText(title);
+               PlatformUI.getWorkbench().getHelpSystem().setHelp(propertyDialog.getShell(), IWorkbenchHelpContextIds.PROPERTY_DIALOG);
+
+               return propertyDialog;
+       }
+}
index dfb09ed..edf5274 100644 (file)
@@ -1,62 +1,62 @@
-/**\r
- * NetXMS - open source network management system\r
- * Copyright (C) 2003-2012 Victor Kirhenshtein\r
- *\r
- * This program is free software; you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
- */\r
-package org.netxms.ui.eclipse.console.tools;\r
-\r
-import org.netxms.ui.eclipse.tools.TextFieldValidator;\r
-import org.netxms.webui.core.Messages;\r
-\r
-/**\r
- * Input validator for IP address entry fields\r
- */\r
-public class IPAddressValidator implements TextFieldValidator\r
-{\r
-       private static final String IP_ADDRESS_PATTERN = "^([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])$"; //$NON-NLS-1$\r
-       \r
-       private boolean allowEmpty;\r
-       \r
-       /**\r
-        * Create new IP address validator.\r
-        * \r
-        * @param allowEmpty if true, empty string is allowed\r
-        */\r
-       public IPAddressValidator(boolean allowEmpty)\r
-       {\r
-               this.allowEmpty = allowEmpty;\r
-       }\r
-       \r
-       /* (non-Javadoc)\r
-        * @see org.netxms.ui.eclipse.tools.TextFieldValidator#validate(java.lang.String)\r
-        */\r
-       @Override\r
-       public boolean validate(String text)\r
-       {\r
-               if (allowEmpty && text.trim().isEmpty())\r
-                       return true;\r
-               return text.matches(IP_ADDRESS_PATTERN);\r
-       }\r
-\r
-       /* (non-Javadoc)\r
-        * @see org.netxms.ui.eclipse.tools.TextFieldValidator#getErrorMessage(java.lang.String, java.lang.String)\r
-        */\r
-       @Override\r
-       public String getErrorMessage(String text, String label)\r
-       {\r
-               return String.format(Messages.get().IPAddressValidator_ErrorMessage, label);\r
-       }\r
-}\r
+/**
+ * NetXMS - open source network management system
+ * Copyright (C) 2003-2012 Victor Kirhenshtein
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+package org.netxms.ui.eclipse.console.tools;
+
+import org.netxms.ui.eclipse.tools.TextFieldValidator;
+import org.netxms.webui.core.Messages;
+
+/**
+ * Input validator for IP address entry fields
+ */
+public class IPAddressValidator implements TextFieldValidator
+{
+       private static final String IP_ADDRESS_PATTERN = "^([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])$"; //$NON-NLS-1$
+       
+       private boolean allowEmpty;
+       
+       /**
+        * Create new IP address validator.
+        * 
+        * @param allowEmpty if true, empty string is allowed
+        */
+       public IPAddressValidator(boolean allowEmpty)
+       {
+               this.allowEmpty = allowEmpty;
+       }
+       
+       /* (non-Javadoc)
+        * @see org.netxms.ui.eclipse.tools.TextFieldValidator#validate(java.lang.String)
+        */
+       @Override
+       public boolean validate(String text)
+       {
+               if (allowEmpty && text.trim().isEmpty())
+                       return true;
+               return text.matches(IP_ADDRESS_PATTERN);
+       }
+
+       /* (non-Javadoc)
+        * @see org.netxms.ui.eclipse.tools.TextFieldValidator#getErrorMessage(java.lang.String, java.lang.String)
+        */
+       @Override
+       public String getErrorMessage(String text, String label)
+       {
+               return String.format(Messages.get().IPAddressValidator_ErrorMessage, label);
+       }
+}
index 00d5a79..3a2efa1 100644 (file)
@@ -1,86 +1,86 @@
-/**\r
- * NetXMS - open source network management system\r
- * Copyright (C) 2003-2012 Victor Kirhenshtein\r
- *\r
- * This program is free software; you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
- */\r
-package org.netxms.ui.eclipse.console.tools;\r
-\r
-import java.net.InetAddress;\r
-import java.net.UnknownHostException;\r
-import org.netxms.ui.eclipse.tools.TextFieldValidator;\r
-import org.netxms.webui.core.Messages;\r
-\r
-/**\r
- * Input validator for IP network mask entry fields\r
- */\r
-public class IPNetMaskValidator implements TextFieldValidator\r
-{\r
-       private static final String IP_ADDRESS_PATTERN = "^([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])$"; //$NON-NLS-1$\r
-       \r
-       private boolean allowEmpty;\r
-       \r
-       /**\r
-        * Create new IP network mask validator.\r
-        * \r
-        * @param allowEmpty if true, empty string is allowed\r
-        */\r
-       public IPNetMaskValidator(boolean allowEmpty)\r
-       {\r
-               this.allowEmpty = allowEmpty;\r
-       }\r
-       \r
-       /* (non-Javadoc)\r
-        * @see org.netxms.ui.eclipse.tools.TextFieldValidator#validate(java.lang.String)\r
-        */\r
-       @Override\r
-       public boolean validate(String text)\r
-       {\r
-               if (allowEmpty && text.trim().isEmpty())\r
-                       return true;\r
-               \r
-               if (!text.matches(IP_ADDRESS_PATTERN))\r
-                       return false;\r
-               \r
-               try\r
-               {\r
-                       byte[] bytes = InetAddress.getByName(text).getAddress();\r
-                       for(int i = 0, state = 0; i < bytes.length; i++)\r
-                       {\r
-                               if (bytes[i] == (byte)0xFF)\r
-                                       continue;\r
-                               if ((state != 0) && (bytes[i] != 0))\r
-                                       return false;\r
-                               if ((bytes[i] != 0) && (bytes[i] != (byte)0x80) && (bytes[i] != (byte)0xC0) && (bytes[i] != (byte)0xE0) && (bytes[i] != (byte)0xF0) && (bytes[i] != (byte)0xF8) && (bytes[i] != (byte)0xFC) && (bytes[i] != (byte)0xFE))\r
-                                       return false;\r
-                               state = 1;\r
-                       }\r
-                       return true;\r
-               }\r
-               catch(UnknownHostException e)\r
-               {\r
-                       return false;\r
-               }\r
-       }\r
-\r
-       /* (non-Javadoc)\r
-        * @see org.netxms.ui.eclipse.tools.TextFieldValidator#getErrorMessage(java.lang.String, java.lang.String)\r
-        */\r
-       @Override\r
-       public String getErrorMessage(String text, String label)\r
-       {\r
-      return String.format(Messages.get().IPNetMaskValidator_ErrorMessage, label);\r
-       }\r
-}\r
+/**
+ * NetXMS - open source network management system
+ * Copyright (C) 2003-2012 Victor Kirhenshtein
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+package org.netxms.ui.eclipse.console.tools;
+
+import java.net.InetAddress;
+import java.net.UnknownHostException;
+import org.netxms.ui.eclipse.tools.TextFieldValidator;
+import org.netxms.webui.core.Messages;
+
+/**
+ * Input validator for IP network mask entry fields
+ */
+public class IPNetMaskValidator implements TextFieldValidator
+{
+       private static final String IP_ADDRESS_PATTERN = "^([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])$"; //$NON-NLS-1$
+       
+       private boolean allowEmpty;
+       
+       /**
+        * Create new IP network mask validator.
+        * 
+        * @param allowEmpty if true, empty string is allowed
+        */
+       public IPNetMaskValidator(boolean allowEmpty)
+       {
+               this.allowEmpty = allowEmpty;
+       }
+       
+       /* (non-Javadoc)
+        * @see org.netxms.ui.eclipse.tools.TextFieldValidator#validate(java.lang.String)
+        */
+       @Override
+       public boolean validate(String text)
+       {
+               if (allowEmpty && text.trim().isEmpty())
+                       return true;
+               
+               if (!text.matches(IP_ADDRESS_PATTERN))
+                       return false;
+               
+               try
+               {
+                       byte[] bytes = InetAddress.getByName(text).getAddress();
+                       for(int i = 0, state = 0; i < bytes.length; i++)
+                       {
+                               if (bytes[i] == (byte)0xFF)
+                                       continue;
+                               if ((state != 0) && (bytes[i] != 0))
+                                       return false;
+                               if ((bytes[i] != 0) && (bytes[i] != (byte)0x80) && (bytes[i] != (byte)0xC0) && (bytes[i] != (byte)0xE0) && (bytes[i] != (byte)0xF0) && (bytes[i] != (byte)0xF8) && (bytes[i] != (byte)0xFC) && (bytes[i] != (byte)0xFE))
+                                       return false;
+                               state = 1;
+                       }
+                       return true;
+               }
+               catch(UnknownHostException e)
+               {
+                       return false;
+               }
+       }
+
+       /* (non-Javadoc)
+        * @see org.netxms.ui.eclipse.tools.TextFieldValidator#getErrorMessage(java.lang.String, java.lang.String)
+        */
+       @Override
+       public String getErrorMessage(String text, String label)
+       {
+      return String.format(Messages.get().IPNetMaskValidator_ErrorMessage, label);
+       }
+}
index e23168d..23313f3 100644 (file)
@@ -1,71 +1,71 @@
-/**\r
- * NetXMS - open source network management system\r
- * Copyright (C) 2003-2012 Victor Kirhenshtein\r
- *\r
- * This program is free software; you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
- */\r
-package org.netxms.ui.eclipse.console.tools;\r
-\r
-import org.netxms.client.MacAddress;\r
-import org.netxms.client.MacAddressFormatException;\r
-import org.netxms.ui.eclipse.tools.TextFieldValidator;\r
-import org.netxms.webui.core.Messages;\r
-\r
-/**\r
- * Input validator for MAC address entry fields\r
- */\r
-public class MacAddressValidator implements TextFieldValidator\r
-{\r
-       private boolean allowEmpty;\r
-       \r
-       /**\r
-        * Create new MAC address validator.\r
-        * \r
-        * @param allowEmpty if true, empty string is allowed\r
-        */\r
-       public MacAddressValidator(boolean allowEmpty)\r
-       {\r
-               this.allowEmpty = allowEmpty;\r
-       }\r
-\r