├── .gitignore
├── CONTRIBUTING.md
├── MetadataToolkit
├── Config.daml
├── DarkImages
│ ├── AddInDesktop16.png
│ ├── AddInDesktop32.png
│ ├── GenericButtonPurple16.png
│ └── GenericButtonPurple32.png
├── Icons
│ └── RichTextEditor
│ │ ├── indentless.png
│ │ ├── indentmore.png
│ │ ├── link.png
│ │ ├── listbullets.png
│ │ ├── numberbullets.png
│ │ ├── pcenter.png
│ │ ├── pjustify.png
│ │ ├── pleft.png
│ │ └── pright.png
├── Images
│ ├── AddInDesktop16.png
│ ├── AddInDesktop32.png
│ ├── ArcGIS_Pro_Metadata_Toolkit_Installer.png
│ ├── ArcGIS_Pro_Metadata_Toolkit_Uninstall.png
│ ├── ArcGIS_Pro_SDK_Search.png
│ ├── GenericButtonPurple16.png
│ ├── GenericButtonPurple32.png
│ ├── change_values_custom.png
│ ├── change_values_custom2.png
│ ├── change_values_custom_displayed.png
│ ├── change_values_installed.png
│ ├── change_values_installed_referenced.png
│ ├── change_values_open_page.png
│ ├── custom_metadata_display_codelist.png
│ ├── custom_metadata_display_xml.png
│ ├── custom_page_edited.png
│ ├── custom_page_initial_state.png
│ ├── custom_page_saved_values.png
│ ├── custom_page_string_resources.png
│ ├── custom_translator_export.png
│ ├── custom_translator_import.png
│ ├── get_started_pages_loaded.png
│ ├── get_started_select_custom_style.png
│ ├── get_started_solution_explorer.png
│ ├── metadata_display_english_strings.png
│ ├── metadata_display_japanese_strings.png
│ └── verify_toolkit_installed.png
├── MetadataToolkit.csproj
├── MetadataToolkit.sln
├── MetadataToolkitModule.cs
├── Pages
│ ├── BooleanValueSync.xaml
│ ├── BooleanValueSync.xaml.cs
│ ├── CI_Citation.xaml
│ ├── CI_Citation.xaml.cs
│ ├── CI_Contact.xaml
│ ├── CI_Contact.xaml.cs
│ ├── CI_OnlineResource.xaml
│ ├── CI_OnlineResource.xaml.cs
│ ├── CI_PresentationForm.xaml
│ ├── CI_PresentationForm.xaml.cs
│ ├── CI_PresentationFormCode.xaml
│ ├── CI_PresentationFormCode.xaml.cs
│ ├── CI_ResponsibleParty.xaml
│ ├── CI_ResponsibleParty.xaml.cs
│ ├── CI_ResponsiblePartyReadOnly.xaml
│ ├── CI_ResponsiblePartyReadOnly.xaml.cs
│ ├── CharacterString.xaml
│ ├── CharacterString.xaml.cs
│ ├── ConstraintTypes.xaml
│ ├── ConstraintTypes.xaml.cs
│ ├── ContactManager.xaml
│ ├── ContactManager.xaml.cs
│ ├── ContentInformation.xaml
│ ├── ContentInformation.xaml.cs
│ ├── CountryCode.xaml
│ ├── CountryCode.xaml.cs
│ ├── CustomPage.xaml
│ ├── CustomPage.xaml.cs
│ ├── DQ_ConformanceResult.xaml
│ ├── DQ_ConformanceResult.xaml.cs
│ ├── DQ_DataQuality.xaml
│ ├── DQ_DataQuality.xaml.cs
│ ├── DQ_Element.xaml
│ ├── DQ_Element.xaml.cs
│ ├── DQ_QuantitativeResult.xaml
│ ├── DQ_QuantitativeResult.xaml.cs
│ ├── DS_AssociationTypeCode.xaml
│ ├── DS_AssociationTypeCode.xaml.cs
│ ├── DS_InitiativeTypeCode.xaml
│ ├── DS_InitiativeTypeCode.xaml.cs
│ ├── DataQuality.xaml
│ ├── DataQuality.xaml.cs
│ ├── DatasetCitation.xaml
│ ├── DatasetCitation.xaml.cs
│ ├── DistributionInfo.xaml
│ ├── DistributionInfo.xaml.cs
│ ├── EX_Extent.xaml
│ ├── EX_Extent.xaml.cs
│ ├── EX_GeographicBoundingBox.xaml
│ ├── EX_GeographicBoundingBox.xaml.cs
│ ├── EX_GeographicDescription.xaml
│ ├── EX_GeographicDescription.xaml.cs
│ ├── EX_VerticalExtent.xaml
│ ├── EX_VerticalExtent.xaml.cs
│ ├── EditorPage.cs
│ ├── EditorRichTextBox.xaml
│ ├── EditorRichTextBox.xaml.cs
│ ├── EntityAttribute.xaml
│ ├── EntityAttribute.xaml.cs
│ ├── EntityAttributeCodesetDomain.xaml
│ ├── EntityAttributeCodesetDomain.xaml.cs
│ ├── EntityAttributeDetails.xaml
│ ├── EntityAttributeDetails.xaml.cs
│ ├── EntityAttributeEnumDomValues.xaml
│ ├── EntityAttributeEnumDomValues.xaml.cs
│ ├── EntityAttributeInfo.xaml
│ ├── EntityAttributeInfo.xaml.cs
│ ├── EntityAttributeOverview.xaml
│ ├── EntityAttributeOverview.xaml.cs
│ ├── EntityAttributeRangeDomain.xaml
│ ├── EntityAttributeRangeDomain.xaml.cs
│ ├── GML_Point.xaml
│ ├── GML_Point.xaml.cs
│ ├── GPCustomTool.xaml
│ ├── GPCustomTool.xaml.cs
│ ├── GenericName.xaml
│ ├── GenericName.xaml.cs
│ ├── GeoprocessingHistory.xaml
│ ├── GeoprocessingHistory.xaml.cs
│ ├── INSPIRE_AccessConstraint.xaml
│ ├── INSPIRE_AccessConstraint.xaml.cs
│ ├── INSPIRE_LegalConstraints.xaml
│ ├── INSPIRE_LegalConstraints.xaml.cs
│ ├── INSPIRE_UseLimitation.xaml
│ ├── INSPIRE_UseLimitation.xaml.cs
│ ├── ImageAttachement.xaml
│ ├── ImageAttachement.xaml.cs
│ ├── ItemInfo.xaml
│ ├── ItemInfo.xaml.cs
│ ├── Keywords.xaml
│ ├── Keywords.xaml.cs
│ ├── LI_Lineage.xaml
│ ├── LI_Lineage.xaml.cs
│ ├── LI_ProcessStep.xaml
│ ├── LI_ProcessStep.xaml.cs
│ ├── LI_Source.xaml
│ ├── LI_Source.xaml.cs
│ ├── LanguageCode.xaml
│ ├── LanguageCode.xaml.cs
│ ├── Locale.xaml
│ ├── Locale.xaml.cs
│ ├── Locales.xaml
│ ├── Locales.xaml.cs
│ ├── MD_AggregateInformation.xaml
│ ├── MD_AggregateInformation.xaml.cs
│ ├── MD_ApplicationSchemaInformation.xaml
│ ├── MD_ApplicationSchemaInformation.xaml.cs
│ ├── MD_Band.xaml
│ ├── MD_Band.xaml.cs
│ ├── MD_BrowseGraphic.xaml
│ ├── MD_BrowseGraphic.xaml.cs
│ ├── MD_CharacterSetCode.xaml
│ ├── MD_CharacterSetCode.xaml.cs
│ ├── MD_ClassificationCode.xaml
│ ├── MD_ClassificationCode.xaml.cs
│ ├── MD_Constraints.xaml
│ ├── MD_Constraints.xaml.cs
│ ├── MD_CoverageDescription.xaml
│ ├── MD_CoverageDescription.xaml.cs
│ ├── MD_CoverageDescriptionBase.xaml
│ ├── MD_CoverageDescriptionBase.xaml.cs
│ ├── MD_DigitalTransferOptions.xaml
│ ├── MD_DigitalTransferOptions.xaml.cs
│ ├── MD_Dimension.xaml
│ ├── MD_Dimension.xaml.cs
│ ├── MD_Distribution.xaml
│ ├── MD_Distribution.xaml.cs
│ ├── MD_Distributor.xaml
│ ├── MD_Distributor.xaml.cs
│ ├── MD_FeatureCatalogueDescription.xaml
│ ├── MD_FeatureCatalogueDescription.xaml.cs
│ ├── MD_FileIdentifier.xaml
│ ├── MD_FileIdentifier.xaml.cs
│ ├── MD_Format.xaml
│ ├── MD_Format.xaml.cs
│ ├── MD_Georectified.xaml
│ ├── MD_Georectified.xaml.cs
│ ├── MD_Georeferenceable.xaml
│ ├── MD_Georeferenceable.xaml.cs
│ ├── MD_GridSpatialRepresentation.xaml
│ ├── MD_GridSpatialRepresentation.xaml.cs
│ ├── MD_GridSpatialRepresentationBase.xaml
│ ├── MD_GridSpatialRepresentationBase.xaml.cs
│ ├── MD_Identifier.xaml
│ ├── MD_Identifier.xaml.cs
│ ├── MD_ImageDescription.xaml
│ ├── MD_ImageDescription.xaml.cs
│ ├── MD_Keywords.xaml
│ ├── MD_Keywords.xaml.cs
│ ├── MD_LegalConstraints.xaml
│ ├── MD_LegalConstraints.xaml.cs
│ ├── MD_MaintenanceInformation.xaml
│ ├── MD_MaintenanceInformation.xaml.cs
│ ├── MD_Medium.xaml
│ ├── MD_Medium.xaml.cs
│ ├── MD_MediumFormatCode.xaml
│ ├── MD_MediumFormatCode.xaml.cs
│ ├── MD_ProgressCode.xaml
│ ├── MD_ProgressCode.xaml.cs
│ ├── MD_RangeDimension.xaml
│ ├── MD_RangeDimension.xaml.cs
│ ├── MD_ReferenceSystem.xaml
│ ├── MD_ReferenceSystem.xaml.cs
│ ├── MD_Resolution.xaml
│ ├── MD_Resolution.xaml.cs
│ ├── MD_RestrictionCode.xaml
│ ├── MD_RestrictionCode.xaml.cs
│ ├── MD_ScopeCode.xaml
│ ├── MD_ScopeCode.xaml.cs
│ ├── MD_ScopeCode_MD_Metadata.xaml
│ ├── MD_ScopeCode_MD_Metadata.xaml.cs
│ ├── MD_ScopeDescription.xaml
│ ├── MD_ScopeDescription.xaml.cs
│ ├── MD_SecurityConstraints.xaml
│ ├── MD_SecurityConstraints.xaml.cs
│ ├── MD_StandardOrderProcess.xaml
│ ├── MD_StandardOrderProcess.xaml.cs
│ ├── MD_ThemeKeywords.xaml
│ ├── MD_ThemeKeywords.xaml.cs
│ ├── MD_Usage.xaml
│ ├── MD_Usage.xaml.cs
│ ├── MD_VectorSpatialRepresentation.xaml
│ ├── MD_VectorSpatialRepresentation.xaml.cs
│ ├── MetadataConstraints.xaml
│ ├── MetadataConstraints.xaml.cs
│ ├── MetadataContacts.xaml
│ ├── MetadataContacts.xaml.cs
│ ├── MetadataDetails.xaml
│ ├── MetadataDetails.xaml.cs
│ ├── MetadataMaintenance.xaml
│ ├── MetadataMaintenance.xaml.cs
│ ├── PartyPickerControl.xaml
│ ├── PartyPickerControl.xaml.cs
│ ├── RS_Identifier.xaml
│ ├── RS_Identifier.xaml.cs
│ ├── ReferenceSystem.xaml
│ ├── ReferenceSystem.xaml.cs
│ ├── References.xaml
│ ├── References.xaml.cs
│ ├── ResourceCitationContacts.xaml
│ ├── ResourceCitationContacts.xaml.cs
│ ├── ResourceConstraints.xaml
│ ├── ResourceConstraints.xaml.cs
│ ├── ResourceDetails.xaml
│ ├── ResourceDetails.xaml.cs
│ ├── ResourceExtent.xaml
│ ├── ResourceExtent.xaml.cs
│ ├── ResourceMaintenance.xaml
│ ├── ResourceMaintenance.xaml.cs
│ ├── ResourcePoc.xaml
│ ├── ResourcePoc.xaml.cs
│ ├── SV_CoupledResource.xaml
│ ├── SV_CoupledResource.xaml.cs
│ ├── Services.xaml
│ ├── Services.xaml.cs
│ ├── SpatialRepresentation.xaml
│ ├── SpatialRepresentation.xaml.cs
│ ├── TM_Period.xaml
│ ├── TM_Period.xaml.cs
│ ├── UCUM.xaml
│ ├── UCUM.xaml.cs
│ ├── UCUM_Length.xaml
│ ├── UCUM_Length.xaml.cs
│ ├── ValueUoM.xaml
│ └── ValueUoM.xaml.cs
├── ProResXFileCodeGenerator.cs
├── ProResXFileCodeGenerator.tt
├── Properties
│ ├── AssemblyInfo.cs
│ ├── Definitions.Designer.cs
│ ├── Definitions.resx
│ ├── Issues.Designer.cs
│ ├── Issues.resx
│ ├── Resources.Designer.cs
│ └── Resources.resx
├── Sections
│ ├── EditorSection.cs
│ ├── Metadata.cs
│ ├── Overview.cs
│ └── Resource.cs
├── ToolkitMetadataEditor.cs
├── Utils
│ ├── LanguageConverter.cs
│ ├── MetadataException.cs
│ ├── MetadataStyle.cs
│ └── Utils.cs
└── Xslt
│ ├── ArcGIS_Imports
│ ├── ArcGISmetadataPro.xslt
│ ├── ItemDescriptionPro.xslt
│ ├── elementHeadingsPro.xslt
│ ├── generalPro.xslt
│ ├── geoprocessingPro.xslt
│ └── htmlHeaderPro.xslt
│ └── MyArcGISProFull.xsl
├── README.md
├── arcgis-pro-sdk.png
├── license.txt
└── resources
├── ArcGIS Metadata Details 20200729.xlsx
├── ArcGIS Metadata Details 20211130.xlsx
├── ArcGIS metadata format 20200729.dtd
├── ArcGIS metadata format 20201014.dtd
├── default editor configurations
├── FGDC_CSDGM.xml
├── INSPIRE.xml
├── ISO19115-3.xml
├── ISO19139_gml32.xml
├── Item_Description.xml
└── NAP.xml
├── metadata-toolkit-template-icon.png
├── readme
└── sample metadata documents
├── ArcGIS metadata editor location
├── ArcGISmetadata_editorLocation_dataset.xml
├── ArcGISmetadata_editorLocation_dataset_proExportCSDGM.xml
├── ArcGISmetadata_editorLocation_dataset_proExportINSPIRE.xml
├── ArcGISmetadata_editorLocation_dataset_proExportISO19115-3.xml
├── ArcGISmetadata_editorLocation_dataset_proExportISO19139.xml
├── ArcGISmetadata_editorLocation_dataset_proExportISO19139gml32.xml
├── ArcGISmetadata_editorLocation_dataset_proExportNAP.xml
├── ArcGISmetadata_editorLocation_service.xml
├── ArcGISmetadata_editorLocation_service_proExportINSPIRE.xml
├── ArcGISmetadata_editorLocation_service_proExportISO19115-3.xml
├── ArcGISmetadata_editorLocation_service_proExportISO19139gml32.xml
└── ArcGISmetadata_editorLocation_service_proExportNAP.xml
└── standard elements
├── FGDC CSDGM content
├── CSDGMelementNames_rasterMinimal_csdgmFormat.xml
├── CSDGMelementNames_rasterMinimal_proUpgrade.xml
├── CSDGMelementNames_vectorFull_csdgmFormat.xml
└── CSDGMelementNames_vectorFull_proUpgrade.xml
├── INSPIRE content
├── INSPIREelementNames_dataset_arcgisFormat.xml
├── INSPIREelementNames_dataset_proExportISO19139.xml
├── INSPIREelementNames_service_arcgisFormat.xml
└── INSPIREelementNames_service_proExportISO19139.xml
├── ISO 19115_3 content
├── ISO19115-3elementNames_dataset_arcgisFormat.xml
├── ISO19115-3elementNames_dataset_proExportISO19115-3.xml
├── ISO19115-3elementNames_service_arcgisFormat.xml
└── ISO19115-3elementNames_service_proExportISO19115-3.xml
├── ISO 19139 content
├── ISO19115elementNames_dataset_arcgisFormat.xml
├── ISO19115elementNames_dataset_proExportISO19139.xml
├── ISO19119elementNames_service_arcgisFormat.xml
└── ISO19119elementNames_service_proExportISO19139.xml
└── NAP content
├── NAPelementNames_dataset_arcgisFormat.xml
└── NAPelementNames_dataset_proExportISO19139.xml
/.gitignore:
--------------------------------------------------------------------------------
1 | #Data
2 | *.gdb
3 | *.zip
4 | *.7z
5 | *.sqlite
6 |
7 | # Build Folders (you can keep bin if you'd like, to store dlls and pdbs)
8 | [Bb]in/
9 | [Oo]bj/
10 |
11 | # mstest test results
12 | TestResults
13 |
14 | ## Ignore Visual Studio temporary files, build results, and
15 | ## files generated by popular Visual Studio add-ons.
16 |
17 | # User-specific files
18 | *.suo
19 | *.user
20 | *.sln.docstates
21 |
22 | # Build results
23 | [Dd]ebug/
24 | [Rr]elease/
25 | x64/
26 | *_i.c
27 | *_p.c
28 | *.ilk
29 | *.meta
30 | *.obj
31 | *.pch
32 | *.pdb
33 | *.pgc
34 | *.pgd
35 | *.rsp
36 | *.sbr
37 | *.tlb
38 | *.tli
39 | *.tlh
40 | *.tmp
41 | *.log
42 | *.vspscc
43 | *.vssscc
44 | .builds
45 | .tmp_proj
46 | *.tmp_proj
47 |
48 | # Visual C++ cache files
49 | ipch/
50 | *.aps
51 | *.ncb
52 | *.opendb
53 | *.opensdf
54 | *.sdf
55 | *.cachefile
56 | *.VC.db
57 | *.VC.VC.opendb
58 |
59 | # Visual Studio profiler
60 | *.psess
61 | *.vsp
62 | *.vspx
63 |
64 | # Guidance Automation Toolkit
65 | *.gpState
66 |
67 | # ReSharper is a .NET coding add-in
68 | _ReSharper*
69 |
70 | # NCrunch
71 | *.ncrunch*
72 | .*crunch*.local.xml
73 |
74 | # Installshield output folder
75 | [Ee]xpress
76 |
77 | # DocProject is a documentation generator add-in
78 | DocProject/buildhelp/
79 | DocProject/Help/*.HxT
80 | DocProject/Help/*.HxC
81 | DocProject/Help/*.hhc
82 | DocProject/Help/*.hhk
83 | DocProject/Help/*.hhp
84 | DocProject/Help/Html2
85 | DocProject/Help/html
86 |
87 | # Click-Once directory
88 | publish
89 |
90 | # Publish Web Output
91 | *.Publish.xml
92 |
93 | # NuGet Packages Directory
94 | packages
95 |
96 | # Windows Azure Build Output
97 | csx
98 | *.build.csdef
99 |
100 | # Windows Store app package directory
101 | AppPackages/
102 |
103 | # Others
104 | [Bb]in
105 | [Oo]bj
106 | sql
107 | TestResults
108 | [Tt]est[Rr]esult*
109 | *.Cache
110 | ClientBin
111 | [Ss]tyle[Cc]op.*
112 | ~$*
113 | *.dbmdl
114 | Generated_Code #added for RIA/Silverlight projects
115 |
116 | # Backup & report files from converting an old project file to a newer
117 | # Visual Studio version. Backup files are not needed, because we have git ;-)
118 | _UpgradeReport_Files/
119 | Backup*/
120 | UpgradeLog*.XML
121 | /.vs
122 | .vs
123 | *.ide
124 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Esri welcomes contributions from anyone and everyone. Please see our [guidelines for contributing](https://github.com/esri/contributing).
2 |
--------------------------------------------------------------------------------
/MetadataToolkit/DarkImages/AddInDesktop16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/DarkImages/AddInDesktop16.png
--------------------------------------------------------------------------------
/MetadataToolkit/DarkImages/AddInDesktop32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/DarkImages/AddInDesktop32.png
--------------------------------------------------------------------------------
/MetadataToolkit/DarkImages/GenericButtonPurple16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/DarkImages/GenericButtonPurple16.png
--------------------------------------------------------------------------------
/MetadataToolkit/DarkImages/GenericButtonPurple32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/DarkImages/GenericButtonPurple32.png
--------------------------------------------------------------------------------
/MetadataToolkit/Icons/RichTextEditor/indentless.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Icons/RichTextEditor/indentless.png
--------------------------------------------------------------------------------
/MetadataToolkit/Icons/RichTextEditor/indentmore.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Icons/RichTextEditor/indentmore.png
--------------------------------------------------------------------------------
/MetadataToolkit/Icons/RichTextEditor/link.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Icons/RichTextEditor/link.png
--------------------------------------------------------------------------------
/MetadataToolkit/Icons/RichTextEditor/listbullets.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Icons/RichTextEditor/listbullets.png
--------------------------------------------------------------------------------
/MetadataToolkit/Icons/RichTextEditor/numberbullets.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Icons/RichTextEditor/numberbullets.png
--------------------------------------------------------------------------------
/MetadataToolkit/Icons/RichTextEditor/pcenter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Icons/RichTextEditor/pcenter.png
--------------------------------------------------------------------------------
/MetadataToolkit/Icons/RichTextEditor/pjustify.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Icons/RichTextEditor/pjustify.png
--------------------------------------------------------------------------------
/MetadataToolkit/Icons/RichTextEditor/pleft.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Icons/RichTextEditor/pleft.png
--------------------------------------------------------------------------------
/MetadataToolkit/Icons/RichTextEditor/pright.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Icons/RichTextEditor/pright.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/AddInDesktop16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/AddInDesktop16.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/AddInDesktop32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/AddInDesktop32.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/ArcGIS_Pro_Metadata_Toolkit_Installer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/ArcGIS_Pro_Metadata_Toolkit_Installer.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/ArcGIS_Pro_Metadata_Toolkit_Uninstall.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/ArcGIS_Pro_Metadata_Toolkit_Uninstall.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/ArcGIS_Pro_SDK_Search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/ArcGIS_Pro_SDK_Search.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/GenericButtonPurple16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/GenericButtonPurple16.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/GenericButtonPurple32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/GenericButtonPurple32.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/change_values_custom.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/change_values_custom.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/change_values_custom2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/change_values_custom2.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/change_values_custom_displayed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/change_values_custom_displayed.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/change_values_installed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/change_values_installed.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/change_values_installed_referenced.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/change_values_installed_referenced.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/change_values_open_page.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/change_values_open_page.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/custom_metadata_display_codelist.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/custom_metadata_display_codelist.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/custom_metadata_display_xml.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/custom_metadata_display_xml.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/custom_page_edited.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/custom_page_edited.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/custom_page_initial_state.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/custom_page_initial_state.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/custom_page_saved_values.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/custom_page_saved_values.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/custom_page_string_resources.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/custom_page_string_resources.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/custom_translator_export.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/custom_translator_export.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/custom_translator_import.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/custom_translator_import.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/get_started_pages_loaded.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/get_started_pages_loaded.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/get_started_select_custom_style.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/get_started_select_custom_style.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/get_started_solution_explorer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/get_started_solution_explorer.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/metadata_display_english_strings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/metadata_display_english_strings.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/metadata_display_japanese_strings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/metadata_display_japanese_strings.png
--------------------------------------------------------------------------------
/MetadataToolkit/Images/verify_toolkit_installed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/MetadataToolkit/Images/verify_toolkit_installed.png
--------------------------------------------------------------------------------
/MetadataToolkit/MetadataToolkit.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.27130.2027
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MetadataToolkit", "MetadataToolkit.csproj", "{E0AD09F3-DD5D-42E2-BD24-946CD7415C84}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {E0AD09F3-DD5D-42E2-BD24-946CD7415C84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {E0AD09F3-DD5D-42E2-BD24-946CD7415C84}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {E0AD09F3-DD5D-42E2-BD24-946CD7415C84}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {E0AD09F3-DD5D-42E2-BD24-946CD7415C84}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {BBD67BEA-3B56-4CE5-B603-D37604C09C89}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/MetadataToolkit/MetadataToolkitModule.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System;
15 | using System.Collections.Generic;
16 | using System.Linq;
17 | using System.Text;
18 | using System.Windows.Input;
19 | using ArcGIS.Desktop.Framework;
20 | using ArcGIS.Desktop.Framework.Contracts;
21 | using System.Threading.Tasks;
22 |
23 | namespace Host
24 | {
25 | internal class MetadataToolkitModule : Module
26 | {
27 | private static MetadataToolkitModule _this = null;
28 |
29 | ///
30 | /// Retrieve the singleton instance to this module here
31 | ///
32 | public static MetadataToolkitModule Current
33 | {
34 | get
35 | {
36 | return _this ?? (_this = (MetadataToolkitModule)FrameworkApplication.FindModule("MD_Toolkit_Module"));
37 | }
38 | }
39 |
40 | #region Overrides
41 | ///
42 | /// Called by Framework when ArcGIS Pro is closing
43 | ///
44 | /// False to prevent Pro from closing, otherwise True
45 | protected override bool CanUnload()
46 | {
47 | //TODO - add your business logic
48 | //return false to ~cancel~ Application close
49 | return true;
50 | }
51 |
52 | #endregion Overrides
53 |
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/BooleanValueSync.xaml:
--------------------------------------------------------------------------------
1 |
2 |
14 |
15 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/CI_Contact.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Collections.Generic;
15 | using System.Xml;
16 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
17 |
18 | namespace MetadataToolkit.Pages
19 | {
20 | ///
21 | /// Interaction logic for MTK_CI_Contact.xaml
22 | ///
23 | internal partial class MTK_CI_Contact : EditorPage
24 | {
25 | public MTK_CI_Contact()
26 | {
27 | InitializeComponent();
28 | }
29 |
30 | public override string DefaultValue
31 | {
32 | get
33 | {
34 | IEnumerable data = GetXmlDataContext();
35 | if (null == data)
36 | return null;
37 |
38 | foreach (XmlNode root in data)
39 | {
40 | // URL
41 | //XmlNode node = root.SelectSingleNode("cntOnlineRes/linkage");
42 | //if (null != node && 0 < node.InnerText.Length)
43 | //{
44 | // return node.InnerText;
45 | //}
46 |
47 | // EMAIL
48 | XmlNode node = root.SelectSingleNode("cntAddress/eMailAdd");
49 | if (null != node && 0 < node.InnerText.Length)
50 | {
51 | return node.InnerText;
52 | }
53 |
54 | // ADDRESS
55 | string address = "";
56 | node = root.SelectSingleNode("cntAddress/delPoint");
57 | if (null != node && 0 < node.InnerText.Length)
58 | {
59 | address += node.InnerText;
60 | address += " ";
61 | }
62 | node = root.SelectSingleNode("cntAddress/city");
63 | if (null != node && 0 < node.InnerText.Length)
64 | {
65 | address += node.InnerText;
66 | address += ", ";
67 | }
68 | node = root.SelectSingleNode("cntAddress/adminArea");
69 | if (null != node && 0 < node.InnerText.Length)
70 | {
71 | address += node.InnerText;
72 | //address += " ";
73 | }
74 |
75 | if (0 < address.Length)
76 | return address;
77 |
78 | break;
79 | }
80 |
81 | return null;
82 | }
83 | set
84 | {
85 | // DO NOTHING
86 | }
87 | }
88 | }
89 | }
90 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/CI_OnlineResource.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Collections.Generic;
15 | using System.Windows;
16 | using System.Linq;
17 | using System.Xml;
18 |
19 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
20 |
21 | namespace MetadataToolkit.Pages
22 | {
23 | ///
24 | /// Interaction logic for MTK_CI_OnlineResource.xaml
25 | ///
26 | internal partial class MTK_CI_OnlineResource : EditorPage
27 | {
28 | public MTK_CI_OnlineResource()
29 | {
30 | InitializeComponent();
31 | Loaded += CI_OnlineResource_Loaded;
32 | }
33 |
34 | private void CI_OnlineResource_Loaded(object sender, RoutedEventArgs e)
35 | {
36 | SetDefaults();
37 | }
38 |
39 | private void SetDefaults()
40 | {
41 | object context = Utils.Utils.GetDataContext(this);
42 | IEnumerable nodes = Utils.Utils.GetXmlDataContext(context);
43 | if (null != nodes)
44 | {
45 | var node = nodes.First();
46 | XmlNode linkageNode = node.SelectSingleNode("linkage");
47 | if (linkageNode != null && !string.IsNullOrWhiteSpace(DefaultLinkage) && string.IsNullOrWhiteSpace(linkageNode.InnerText))
48 | {
49 | linkageNode.InnerText = DefaultLinkage;
50 | }
51 | }
52 | }
53 |
54 | public static readonly DependencyProperty DefaultLinkageProperty = DependencyProperty.Register(
55 | "DefaultLinkage",
56 | typeof(string),
57 | typeof(MTK_CI_OnlineResource));
58 |
59 | public string DefaultLinkage
60 | {
61 | get { return (string)this.GetValue(DefaultLinkageProperty); }
62 | set { this.SetValue(DefaultLinkageProperty, value); }
63 | }
64 | }
65 | }
66 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/CI_PresentationForm.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_CI_PresentationForm.xaml
21 | ///
22 | internal partial class MTK_CI_PresentationForm : EditorPage
23 | {
24 | public MTK_CI_PresentationForm()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/CI_PresentationFormCode.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
25 |
26 |
27 |
28 |
29 |
30 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/CI_PresentationFormCode.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_CI_PresentationFormCode.xaml
21 | ///
22 | internal partial class MTK_CI_PresentationFormCode : EditorPage
23 | {
24 | public MTK_CI_PresentationFormCode()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/CI_ResponsibleParty.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
15 |
16 | namespace MetadataToolkit.Pages
17 | {
18 | ///
19 | /// Interaction logic for CI_ResponsibleParty.xaml
20 | ///
21 | internal partial class MTK_CI_ResponsibleParty : EditorPage
22 | {
23 | public MTK_CI_ResponsibleParty()
24 | {
25 | InitializeComponent();
26 | }
27 |
28 | public override string DefaultValue
29 | {
30 | get
31 | {
32 | return Utils.Utils.ExtractResponsiblePartyLabel(this, Utils.Utils.LBL_CI_PARTY_FORMAT);
33 | }
34 |
35 | set
36 | {
37 | // NOOP
38 | }
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/CI_ResponsiblePartyReadOnly.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_CI_ResponsiblePartyReadOnly.xaml
21 | ///
22 | internal partial class MTK_CI_ResponsiblePartyReadOnly : EditorPage
23 | {
24 | public MTK_CI_ResponsiblePartyReadOnly()
25 | {
26 | InitializeComponent();
27 | }
28 |
29 | public override string DefaultValue
30 | {
31 | get
32 | {
33 | return Utils.Utils.ExtractResponsiblePartyLabel(this, Utils.Utils.LBL_CI_PARTY_READONLY_FORMAT);
34 | }
35 |
36 | set
37 | {
38 | // NOOP
39 | }
40 | }
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/CharacterString.xaml:
--------------------------------------------------------------------------------
1 |
2 |
14 |
15 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
36 |
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/CharacterString.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_CharacterString.xaml
21 | ///
22 | internal partial class MTK_CharacterString : EditorPage
23 | {
24 | public MTK_CharacterString()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/ConstraintTypes.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_ConstraintTypes.xaml
21 | ///
22 | internal partial class MTK_ConstraintTypes : EditorPage
23 | {
24 | public MTK_ConstraintTypes()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/ContentInformation.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class ContentInformationSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return ContentInformationSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_CONTENTINFORMATION; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_ContentInformation.xaml
33 | ///
34 | internal partial class MTK_ContentInformation : EditorPage
35 | {
36 | public MTK_ContentInformation()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return ContentInformationSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/CountryCode.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/CountryCode.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
15 |
16 | namespace MetadataToolkit.Pages
17 | {
18 | ///
19 | /// Interaction logic for MTK_CountryCode.xaml
20 | ///
21 | internal partial class MTK_CountryCode : EditorPage
22 | {
23 | public MTK_CountryCode()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/CustomPage.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
39 |
40 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/CustomPage.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System;
15 | using System.Collections.Generic;
16 | using System.Linq;
17 | using System.Text;
18 | using System.Threading.Tasks;
19 | using System.Windows;
20 | using System.Windows.Controls;
21 | using System.Windows.Data;
22 | using System.Windows.Documents;
23 | using System.Windows.Input;
24 | using System.Windows.Media;
25 | using System.Windows.Media.Imaging;
26 | using System.Windows.Navigation;
27 | using System.Windows.Shapes;
28 |
29 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
30 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
31 |
32 | namespace MetadataToolkit.Pages
33 | {
34 | internal class CustomPageLabel : ISidebarLabel
35 | {
36 | string ISidebarLabel.SidebarLabel
37 | {
38 | get { return CustomPageLabel.SidebarLabel; }
39 | }
40 |
41 | public static string SidebarLabel
42 | {
43 | get { return "Custom Page"; }
44 | }
45 | }
46 |
47 | ///
48 | /// Interaction logic for CustomPage.xaml
49 | ///
50 | public partial class CustomPage : EditorPage
51 | {
52 | public CustomPage()
53 | {
54 | InitializeComponent();
55 |
56 | }
57 |
58 | public override string SidebarLabel
59 | {
60 | get { return CustomPageLabel.SidebarLabel; }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/DQ_ConformanceResult.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_DQ_ConformanceResult.xaml
21 | ///
22 | internal partial class MTK_DQ_ConformanceResult : EditorPage
23 | {
24 | public MTK_DQ_ConformanceResult()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/DQ_DataQuality.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_DQ_DataQuality.xaml
21 | ///
22 | internal partial class MTK_DQ_DataQuality : EditorPage
23 | {
24 | public MTK_DQ_DataQuality()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/DQ_Element.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Collections.Generic;
15 | using System.Windows.Controls;
16 | using System.Xml;
17 |
18 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
19 |
20 | namespace MetadataToolkit.Pages
21 | {
22 | ///
23 | /// Interaction logic for MTK_DQ_Element.xaml
24 | ///
25 | internal partial class MTK_DQ_Element : EditorPage
26 | {
27 | public MTK_DQ_Element()
28 | {
29 | InitializeComponent();
30 | }
31 |
32 | public override string DefaultValue
33 | {
34 | get
35 | {
36 | IEnumerable data = GetXmlDataContext();
37 | if (null == data)
38 | return null;
39 |
40 | foreach (XmlNode root in data)
41 | {
42 | // MEASURE NAME
43 | XmlNode node = root.SelectSingleNode("*/measName");
44 | if (null != node && 0 < node.InnerText.Length)
45 | {
46 | return node.InnerText;
47 | }
48 |
49 | break;
50 | }
51 |
52 | return null;
53 | }
54 | set
55 | {
56 | // DO NOTHING
57 | }
58 |
59 | }
60 | }
61 | }
62 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/DQ_QuantitativeResult.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_DQ_QuantitativeResult.xaml
21 | ///
22 | internal partial class MTK_DQ_QuantitativeResult : EditorPage
23 | {
24 | public MTK_DQ_QuantitativeResult()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/DS_AssociationTypeCode.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
24 |
25 |
36 |
37 |
38 |
39 |
40 |
41 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/DS_AssociationTypeCode.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_DS_AssociationTypeCode.xaml
21 | ///
22 | internal partial class MTK_DS_AssociationTypeCode : EditorPage
23 | {
24 | public MTK_DS_AssociationTypeCode()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/DS_InitiativeTypeCode.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
24 |
25 |
35 |
36 |
37 |
38 |
39 |
40 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/DS_InitiativeTypeCode.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_DS_InitiativeTypeCode.xaml
21 | ///
22 | internal partial class MTK_DS_InitiativeTypeCode : EditorPage
23 | {
24 | public MTK_DS_InitiativeTypeCode()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/DataQuality.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class DataQualitySidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return DataQualitySidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_DATAQUALITY; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_DataQuality.xaml
33 | ///
34 | internal partial class MTK_DataQuality : EditorPage
35 | {
36 | public MTK_DataQuality()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return DataQualitySidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/DatasetCitation.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class DatasetCitationSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return DatasetCitationSidebarLabel.SidebarLabel; }
24 | }
25 | public static string SidebarLabel
26 | {
27 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_DATASETCITATION; }
28 | }}
29 | ///
30 | /// Interaction logic for MTK_DatasetCitation.xaml
31 | ///
32 | internal partial class MTK_DatasetCitation : EditorPage
33 | {
34 | public MTK_DatasetCitation()
35 | {
36 | InitializeComponent();
37 | }
38 |
39 | public override string SidebarLabel
40 | {
41 | get { return DatasetCitationSidebarLabel.SidebarLabel; }
42 | }
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/DistributionInfo.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class DistributionInfoSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return DistributionInfoSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_DISTRIBUTIONINFO; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_DistributionInfo.xaml
33 | ///
34 | internal partial class MTK_DistributionInfo : EditorPage
35 | {
36 | public MTK_DistributionInfo()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return DistributionInfoSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/EX_Extent.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_EX_Extent.xaml
21 | ///
22 | internal partial class MTK_EX_Extent : EditorPage
23 | {
24 | public MTK_EX_Extent()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/EX_GeographicBoundingBox.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System;
15 | using System.Collections.Generic;
16 | using System.Text;
17 | using System.Xml;
18 |
19 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
20 |
21 | namespace MetadataToolkit.Pages
22 | {
23 | ///
24 | /// Interaction logic for MTK_EX_GeographicBoundingBox.xaml
25 | ///
26 | internal partial class MTK_EX_GeographicBoundingBox : EditorPage
27 | {
28 | public MTK_EX_GeographicBoundingBox()
29 | {
30 | InitializeComponent();
31 | }
32 |
33 | public override string DefaultValue
34 | {
35 | get
36 | {
37 | IEnumerable data = GetXmlDataContext();
38 | if (null == data)
39 | return String.Empty;
40 |
41 | StringBuilder sb = new StringBuilder();
42 | foreach (XmlNode root in data)
43 | {
44 | // west
45 | XmlNode node = root.SelectSingleNode("GeoBndBox/westBL");
46 | if (null != node && 0 < node.InnerText.Length)
47 | {
48 | sb.Append(node.InnerText);
49 | sb.Append(", ");
50 | }
51 |
52 | // east
53 | node = root.SelectSingleNode("GeoBndBox/eastBL");
54 | if (null != node && 0 < node.InnerText.Length)
55 | {
56 | sb.Append(node.InnerText);
57 | sb.Append(", ");
58 | }
59 |
60 | // south
61 | node = root.SelectSingleNode("GeoBndBox/southBL");
62 | if (null != node && 0 < node.InnerText.Length)
63 | {
64 | sb.Append(node.InnerText);
65 | sb.Append(", ");
66 | }
67 |
68 | // north
69 | node = root.SelectSingleNode("GeoBndBox/northBL");
70 | if (null != node && 0 < node.InnerText.Length)
71 | {
72 | sb.Append(node.InnerText);
73 | sb.Append(", ");
74 | }
75 | break;
76 | }
77 |
78 | if (0 < sb.Length)
79 | return MetadataToolkit.Properties.Resources.LBL_EXTENTS_BBOX + sb.ToString().Substring(0, 30) + "...";
80 | else
81 | return String.Empty; // Properties.Resources.LBL_EXTENTS_BBOX_EMPTY;
82 | }
83 | set
84 | {
85 | // NOOP
86 | }
87 | }
88 | }
89 | }
90 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/EX_GeographicDescription.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System;
15 | using System.Collections.Generic;
16 | using System.Text;
17 | using System.Windows.Controls;
18 | using System.Xml;
19 |
20 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
21 |
22 | namespace MetadataToolkit.Pages
23 | {
24 | ///
25 | /// Interaction logic for MTK_EX_GeographicDescription.xaml
26 | ///
27 | internal partial class MTK_EX_GeographicDescription : EditorPage
28 | {
29 | public MTK_EX_GeographicDescription()
30 | {
31 | InitializeComponent();
32 | }
33 |
34 | public override string DefaultValue
35 | {
36 | get
37 | {
38 | IEnumerable data = GetXmlDataContext();
39 | if (null == data)
40 | return String.Empty;
41 |
42 | StringBuilder sb = new StringBuilder();
43 | foreach (XmlNode root in data)
44 | {
45 | // west
46 | XmlNode node = root.SelectSingleNode("GeoDesc/geoId/identCode");
47 | if (null != node && 0 < node.InnerText.Length)
48 | {
49 | sb.Append(node.InnerText);
50 | }
51 |
52 | break;
53 | }
54 |
55 | if (0 < sb.Length)
56 | return MetadataToolkit.Properties.Resources.LBL_EXTENTS_GEODESC + sb.ToString().Substring(0, 30) + "...";
57 | else
58 | return String.Empty; // Properties.Resources.LBL_EXTENTS_GEODESC_EMPTY;
59 | }
60 | set
61 | {
62 | // NOOP
63 | }
64 | }
65 | }
66 | }
67 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/EX_VerticalExtent.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_EX_VerticalExtent.xaml
21 | ///
22 | internal partial class MTK_EX_VerticalExtent : EditorPage
23 | {
24 | public MTK_EX_VerticalExtent()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/EntityAttribute.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_EntityAttribute.xaml
21 | ///
22 | internal partial class MTK_EntityAttribute : EditorPage
23 | {
24 | public MTK_EntityAttribute()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/EntityAttributeCodesetDomain.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_EntityAttributeCodesetDomain.xaml
21 | ///
22 | internal partial class MTK_EntityAttributeCodesetDomain : EditorPage
23 | {
24 | public MTK_EntityAttributeCodesetDomain()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/EntityAttributeDetails.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_EntityAttributeDetails.xaml
21 | ///
22 | internal partial class MTK_EntityAttributeDetails : EditorPage
23 | {
24 | public MTK_EntityAttributeDetails()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/EntityAttributeEnumDomValues.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_EntityAttributeEnumDomValues.xaml
21 | ///
22 | internal partial class MTK_EntityAttributeEnumDomValues : EditorPage
23 | {
24 | public MTK_EntityAttributeEnumDomValues()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/EntityAttributeInfo.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class EntityAttributeInfoSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return EntityAttributeInfoSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_ENTITYATTRIBUTEINFO; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_EntityAttributeInfo.xaml
33 | ///
34 | internal partial class MTK_EntityAttributeInfo : EditorPage
35 | {
36 | public MTK_EntityAttributeInfo()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return EntityAttributeInfoSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/EntityAttributeOverview.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_EntityAttributeOverview.xaml
21 | ///
22 | internal partial class MTK_EntityAttributeOverview : EditorPage
23 | {
24 | public MTK_EntityAttributeOverview()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/EntityAttributeRangeDomain.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for EntityAttributeRangeDomain.xaml
21 | ///
22 | internal partial class MTK_EntityAttributeRangeDomain : EditorPage
23 | {
24 | public MTK_EntityAttributeRangeDomain()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/GML_Point.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
15 |
16 | namespace MetadataToolkit.Pages
17 | {
18 | ///
19 | /// Interaction logic for MTK_GML_Point.xaml
20 | ///
21 | internal partial class MTK_GML_Point : EditorPage
22 | {
23 | public MTK_GML_Point()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/GPCustomTool.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
15 |
16 | namespace MetadataToolkit.Pages
17 | {
18 | ///
19 | /// Interaction logic for MTK_GPCustomTool.xaml
20 | ///
21 | internal partial class MTK_GPCustomTool : EditorPage
22 | {
23 | public MTK_GPCustomTool()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/GenericName.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_GenericName.xaml
21 | ///
22 | internal partial class MTK_GenericName : EditorPage
23 | {
24 | public MTK_GenericName()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/INSPIRE_AccessConstraint.xaml.cs:
--------------------------------------------------------------------------------
1 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
2 |
3 | namespace MetadataToolkit.Pages
4 | {
5 | ///
6 | /// Interaction logic for MTK_INSPIRE_AccessConstraint.xaml
7 | ///
8 | internal partial class MTK_INSPIRE_AccessConstraint : EditorPage
9 | {
10 | public MTK_INSPIRE_AccessConstraint()
11 | {
12 | InitializeComponent();
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/INSPIRE_LegalConstraints.xaml.cs:
--------------------------------------------------------------------------------
1 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Windows.Automation.Peers;
5 | using System.Windows.Data;
6 | using System.Xml;
7 |
8 | namespace MetadataToolkit.Pages
9 | {
10 | ///
11 | /// Interaction logic for MTK_INSPIRE_LegalConstraints.xaml
12 | ///
13 | internal partial class MTK_INSPIRE_LegalConstraints : EditorPage
14 | {
15 | public MTK_INSPIRE_LegalConstraints()
16 | {
17 | InitializeComponent();
18 | Loaded += INSPIRE_LegalConstraints_Loaded;
19 | }
20 |
21 | private void INSPIRE_LegalConstraints_Loaded(object sender, System.Windows.RoutedEventArgs e)
22 | {
23 | CreateLegalConstraints();
24 | }
25 |
26 | private void CreateLegalConstraints()
27 | {
28 | object context = Utils.Utils.GetDataContext(this);
29 | IEnumerable nodes = Utils.Utils.GetXmlDataContext(context);
30 | if (null != nodes)
31 | {
32 | var node = (XmlDocument) nodes.First();
33 | var parentNode = node.SelectSingleNode("/metadata/dataIdInfo");
34 | XmlNode useLimNode = node.SelectSingleNode("/metadata/dataIdInfo/resConst/LegConsts/inspireAccessUseConditions/ConditionsAccUseCd");
35 | XmlNode accessConstNode = node.SelectSingleNode("/metadata/dataIdInfo/resConst/LegConsts/inspirePublicAccessLimits/PublicAccessCd");
36 |
37 | if (useLimNode == null)
38 | {
39 | CreateInspireConstraint(parentNode, "InspireUseLim");
40 | }
41 | if (accessConstNode == null)
42 | {
43 | CreateInspireConstraint(parentNode, "InspireAccessConst");
44 | }
45 | }
46 | }
47 |
48 | private void CreateInspireConstraint(XmlNode node, string resourceName)
49 | {
50 | // get the skeleton XML, and replace the 'rel' attribute
51 | XmlDataProvider provider = Resources[resourceName] as XmlDataProvider;
52 | string xmlString = provider.Document.InnerXml;
53 | XmlDocument newDoc = new XmlDocument();
54 | newDoc.LoadXml(xmlString);
55 |
56 | // copy new XML into document
57 | Utils.Utils.CopyElements(node, newDoc.FirstChild, false, true);
58 | }
59 | }
60 | }
61 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/INSPIRE_UseLimitation.xaml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
16 |
17 |
18 |
19 | Empty
20 | no conditions to access and use
21 | conditions to access and use unknown
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/INSPIRE_UseLimitation.xaml.cs:
--------------------------------------------------------------------------------
1 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
2 |
3 | namespace MetadataToolkit.Pages
4 | {
5 | ///
6 | /// Interaction logic for MTK_INSPIRE_UseLimitation.xaml
7 | ///
8 | internal partial class MTK_INSPIRE_UseLimitation : EditorPage
9 | {
10 | public MTK_INSPIRE_UseLimitation()
11 | {
12 | InitializeComponent();
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/Keywords.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class KeywordsSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return KeywordsSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_KEYWORDS; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_Keywords.xaml
33 | ///
34 | internal partial class MTK_Keywords : EditorPage
35 | {
36 | public MTK_Keywords()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return KeywordsSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/LI_Lineage.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class LI_LineageSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return LI_LineageSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_LILINEAGE; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_LI_Lineage.xaml
33 | ///
34 | internal partial class MTK_LI_Lineage : EditorPage
35 | {
36 | public MTK_LI_Lineage()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return LI_LineageSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/LI_ProcessStep.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_LI_ProcessStep.xaml
21 | ///
22 | internal partial class MTK_LI_ProcessStep : EditorPage
23 | {
24 | public MTK_LI_ProcessStep()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/LI_Source.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_LI_Source.xaml
21 | ///
22 | internal partial class MTK_LI_Source : EditorPage
23 | {
24 | public MTK_LI_Source()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/LanguageCode.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Collections.Generic;
15 | using System.Windows;
16 | using System.Xml;
17 |
18 | using ArcGIS.Desktop.Framework;
19 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
20 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
21 |
22 | namespace MetadataToolkit.Pages
23 | {
24 | ///
25 | /// Interaction logic for MTK_LanguageCode.xaml
26 | ///
27 | internal partial class MTK_LanguageCode : EditorPage
28 | {
29 | public MTK_LanguageCode()
30 | {
31 | InitializeComponent();
32 | // Test
33 | }
34 |
35 | public void ValidateCode(object sender, RoutedEventArgs e)
36 | {
37 | object context = Utils.Utils.GetDataContext(sender);
38 | IEnumerable data = Utils.Utils.GetXmlDataContext(context);
39 | if (null != data)
40 | {
41 | foreach (XmlNode node in data)
42 | {
43 | XmlNode attr = node.SelectSingleNode("languageCode/@value");
44 | if (null != attr)
45 | {
46 | string code = attr.Value;
47 | if (2 == code.Length)
48 | {
49 | string threeLetter = Utils.LanguageConverter.GetThreeLetterCode(code);
50 | if (null != threeLetter)
51 | {
52 | attr.Value = threeLetter;
53 |
54 | var mdModule = FrameworkApplication.FindModule("esri_metadata_module") as IMetadataEditorHost;
55 | if (mdModule != null)
56 | mdModule.UpdateDataContext(this as DependencyObject);
57 | }
58 | }
59 | }
60 | break; // just one
61 | }
62 | }
63 | }
64 | }
65 | }
66 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/Locale.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_Locale.xaml
21 | ///
22 | internal partial class MTK_Locale : EditorPage
23 | {
24 | public MTK_Locale()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/Locales.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class LocalesSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return LocalesSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_LOCALES; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_Locales.xaml
33 | ///
34 | internal partial class MTK_Locales : EditorPage
35 | {
36 | public MTK_Locales()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return LocalesSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_AggregateInformation.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_AggregateInformation.xaml
21 | ///
22 | internal partial class MTK_MD_AggregateInformation : EditorPage
23 | {
24 | public MTK_MD_AggregateInformation()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_ApplicationSchemaInformation.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_ApplicationSchemaInformation.xaml
21 | ///
22 | internal partial class MTK_MD_ApplicationSchemaInformation : EditorPage
23 | {
24 | public MTK_MD_ApplicationSchemaInformation()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_Band.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_Band.xaml
21 | ///
22 | internal partial class MTK_MD_Band : EditorPage
23 | {
24 | public MTK_MD_Band()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_BrowseGraphic.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_BrowseGraphic.xaml
21 | ///
22 | internal partial class MTK_MD_BrowseGraphic : EditorPage
23 | {
24 | public MTK_MD_BrowseGraphic()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_CharacterSetCode.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_CharacterSetCode.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MD_CharacterSetCode.xaml
21 | ///
22 | internal partial class MTK_MD_CharacterSetCode : EditorPage
23 | {
24 | public MTK_MD_CharacterSetCode()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_ClassificationCode.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_ClassificationCode.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_ClassificationCode.xaml
21 | ///
22 | internal partial class MTK_MD_ClassificationCode : EditorPage
23 | {
24 | public MTK_MD_ClassificationCode()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_Constraints.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_Constraints.xaml
21 | ///
22 | internal partial class MTK_MD_Constraints : EditorPage
23 | {
24 | public MTK_MD_Constraints()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_CoverageDescription.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_CoverageDescription.xaml
21 | ///
22 | internal partial class MTK_MD_CoverageDescription : EditorPage
23 | {
24 | public MTK_MD_CoverageDescription()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_CoverageDescriptionBase.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_CoverageDescriptionBase.xaml
21 | ///
22 | internal partial class MTK_MD_CoverageDescriptionBase : EditorPage
23 | {
24 | public MTK_MD_CoverageDescriptionBase()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_DigitalTransferOptions.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_DigitalTransferOptions.xaml
21 | ///
22 | internal partial class MTK_MD_DigitalTransferOptions : EditorPage
23 | {
24 | public MTK_MD_DigitalTransferOptions()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_Dimension.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
15 |
16 | namespace MetadataToolkit.Pages
17 | {
18 | ///
19 | /// Interaction logic for MTK_MD_Dimension.xaml
20 | ///
21 | internal partial class MTK_MD_Dimension : EditorPage
22 | {
23 | public MTK_MD_Dimension()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_Distribution.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_Distribution.xaml
21 | ///
22 | internal partial class MTK_MD_Distribution : EditorPage
23 | {
24 | public MTK_MD_Distribution()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_Distributor.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_Distributor.xaml
21 | ///
22 | internal partial class MTK_MD_Distributor : EditorPage
23 | {
24 | public MTK_MD_Distributor()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_FeatureCatalogueDescription.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_FeatureCatalogueDescription.xaml
21 | ///
22 | internal partial class MTK_MD_FeatureCatalogueDescription : EditorPage
23 | {
24 | public MTK_MD_FeatureCatalogueDescription()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_FileIdentifier.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
40 |
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_FileIdentifier.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System;
15 | using System.Windows.Controls;
16 |
17 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
18 |
19 | namespace MetadataToolkit.Pages
20 | {
21 | ///
22 | /// Interaction logic for MTK_MD_FileIdentifier.xaml
23 | ///
24 | internal partial class MTK_MD_FileIdentifier : EditorPage
25 | {
26 | public MTK_MD_FileIdentifier()
27 | {
28 | InitializeComponent();
29 | }
30 | public void GenerateGuid(object sender, EventArgs e)
31 | {
32 | var guid = System.Guid.NewGuid().ToString().ToUpper();
33 | fileIDField.Text = guid;
34 | fileIDField.GetBindingExpression(TextBox.TextProperty).UpdateSource();
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_Format.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_Format.xaml
21 | ///
22 | internal partial class MTK_MD_Format : EditorPage
23 | {
24 | public MTK_MD_Format()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_Georectified.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
15 |
16 | namespace MetadataToolkit.Pages
17 | {
18 | ///
19 | /// Interaction logic for MTK_MD_Georectified.xaml
20 | ///
21 | internal partial class MTK_MD_Georectified : EditorPage
22 | {
23 | public MTK_MD_Georectified()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_Georeferenceable.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
15 |
16 | namespace MetadataToolkit.Pages
17 | {
18 | ///
19 | /// Interaction logic for MTK_MD_Georeferenceable.xaml
20 | ///
21 | internal partial class MTK_MD_Georeferenceable : EditorPage
22 | {
23 | public MTK_MD_Georeferenceable()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_GridSpatialRepresentation.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
15 |
16 | namespace MetadataToolkit.Pages
17 | {
18 | ///
19 | /// Interaction logic for MTK_MD_GridSpatialRepresentation.xaml
20 | ///
21 | internal partial class MTK_MD_GridSpatialRepresentation : EditorPage
22 | {
23 | public MTK_MD_GridSpatialRepresentation()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_GridSpatialRepresentationBase.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
15 |
16 | namespace MetadataToolkit.Pages
17 | {
18 | ///
19 | /// Interaction logic for MTK_MD_GridSpatialRepresentationBase.xaml
20 | ///
21 | internal partial class MTK_MD_GridSpatialRepresentationBase : EditorPage
22 | {
23 | public MTK_MD_GridSpatialRepresentationBase()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_Identifier.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System;
15 | using System.Collections.Generic;
16 | using System.Windows.Controls;
17 | using System.Xml;
18 |
19 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
20 |
21 | namespace MetadataToolkit.Pages
22 | {
23 | ///
24 | /// Interaction logic for MTK_MD_Identifier.xaml
25 | ///
26 | internal partial class MTK_MD_Identifier : EditorPage
27 | {
28 | public MTK_MD_Identifier()
29 | {
30 | InitializeComponent();
31 | }
32 |
33 | public override string DefaultValue
34 | {
35 | get
36 | {
37 | IEnumerable data = GetXmlDataContext();
38 | if (null == data)
39 | return String.Empty;
40 |
41 | foreach (XmlNode root in data)
42 | {
43 | // Person
44 | XmlNode node = root.SelectSingleNode("identCode");
45 | if (null != node && 0 < node.InnerText.Length)
46 | {
47 | return node.InnerText;
48 | }
49 |
50 | break;
51 | }
52 |
53 | return String.Empty; // Properties.Resources.LBL_IDENTIFIER_EMPTY;
54 | }
55 | set
56 | {
57 | // NOOP
58 | }
59 | }
60 |
61 | }
62 | }
63 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_ImageDescription.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_ImageDescription.xaml
21 | ///
22 | internal partial class MTK_MD_ImageDescription : EditorPage
23 | {
24 | public MTK_MD_ImageDescription()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_LegalConstraints.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MD_LegalConstraints.xaml
21 | ///
22 | internal partial class MTK_MD_LegalConstraints : EditorPage
23 | {
24 | public MTK_MD_LegalConstraints()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_MaintenanceInformation.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_MaintenanceInformation.xaml
21 | ///
22 | internal partial class MTK_MD_MaintenanceInformation : EditorPage
23 | {
24 | public MTK_MD_MaintenanceInformation()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_Medium.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_Medium.xaml
21 | ///
22 | internal partial class MTK_MD_Medium : EditorPage
23 | {
24 | public MTK_MD_Medium()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_MediumFormatCode.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_MediumFormatCode.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_MediumFormatCode.xaml
21 | ///
22 | internal partial class MTK_MD_MediumFormatCode : EditorPage
23 | {
24 | public MTK_MD_MediumFormatCode()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_ProgressCode.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_ProgressCode.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_ProgressCode.xaml
21 | ///
22 | internal partial class MTK_MD_ProgressCode : EditorPage
23 | {
24 | public MTK_MD_ProgressCode()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_RangeDimension.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MD_RangeDimension.xaml
21 | ///
22 | internal partial class MTK_MD_RangeDimension : EditorPage
23 | {
24 | public MTK_MD_RangeDimension()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_ReferenceSystem.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_ReferenceSystem.xaml
21 | ///
22 | internal partial class MTK_MD_ReferenceSystem : EditorPage
23 | {
24 | public MTK_MD_ReferenceSystem()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_Resolution.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_Resolution.xaml
21 | ///
22 | internal partial class MTK_MD_Resolution : EditorPage
23 | {
24 | public MTK_MD_Resolution()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_RestrictionCode.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_RestrictionCode.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_RestrictionCode.xaml
21 | ///
22 | internal partial class MTK_MD_RestrictionCode : EditorPage
23 | {
24 | public MTK_MD_RestrictionCode()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_ScopeCode.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_ScopeCode.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_ScopeCode.xaml
21 | ///
22 | internal partial class MTK_MD_ScopeCode : EditorPage
23 | {
24 | public MTK_MD_ScopeCode()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_ScopeCode_MD_Metadata.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_ScopeCode_MD_Metadata.xaml
21 | ///
22 | internal partial class MTK_MD_ScopeCode_MD_Metadata : EditorPage
23 | {
24 | public MTK_MD_ScopeCode_MD_Metadata()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_ScopeDescription.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_ScopeDescription.xaml
21 | ///
22 | internal partial class MTK_MD_ScopeDescription : EditorPage
23 | {
24 | public MTK_MD_ScopeDescription()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_SecurityConstraints.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_SecurityConstraints.xaml
21 | ///
22 | internal partial class MTK_MD_SecurityConstraints : EditorPage
23 | {
24 | public MTK_MD_SecurityConstraints()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_StandardOrderProcess.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_MD_StandardOrderProcess.xaml
21 | ///
22 | internal partial class MTK_MD_StandardOrderProcess : EditorPage
23 | {
24 | public MTK_MD_StandardOrderProcess()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_Usage.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
15 |
16 | namespace MetadataToolkit.Pages
17 | {
18 | ///
19 | /// Interaction logic for MTK_MD_Usage.xaml
20 | ///
21 | internal partial class MTK_MD_Usage : EditorPage
22 | {
23 | public MTK_MD_Usage()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MD_VectorSpatialRepresentation.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
15 |
16 | namespace MetadataToolkit.Pages
17 | {
18 | ///
19 | /// Interaction logic for MTK_MD_VectorSpatialRepresentation.xaml
20 | ///
21 | internal partial class MTK_MD_VectorSpatialRepresentation : EditorPage
22 | {
23 | public MTK_MD_VectorSpatialRepresentation()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MetadataConstraints.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class MetadataConstraintsSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return MetadataConstraintsSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_METADATACONSTRAINTS; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_MetadataConstraints.xaml
33 | ///
34 | internal partial class MTK_MetadataConstraints : EditorPage
35 | {
36 | public MTK_MetadataConstraints()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return MetadataConstraintsSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MetadataContacts.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class MetadataContactsSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return MetadataContactsSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_METADATACONTACTS; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_MetadataContacts.xaml
33 | ///
34 | internal partial class MTK_MetadataContacts : EditorPage
35 | {
36 | public MTK_MetadataContacts()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return MetadataContactsSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MetadataDetails.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class MetadataDetailsSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return MetadataDetailsSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_METADATADETAILS; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_MetadataDetails.xaml
33 | ///
34 | internal partial class MTK_MetadataDetails : EditorPage
35 | {
36 | public MTK_MetadataDetails()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return MetadataDetailsSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/MetadataMaintenance.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class MetadataMaintenanceSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return MetadataMaintenanceSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_METADATAMAINTENANCE; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_MetadataMaintenance.xaml
33 | ///
34 | internal partial class MTK_MetadataMaintenance : EditorPage
35 | {
36 | public MTK_MetadataMaintenance()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return MetadataMaintenanceSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/PartyPickerControl.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
44 |
45 |
46 |
47 |
51 |
52 |
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/RS_Identifier.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
15 |
16 | namespace MetadataToolkit.Pages
17 | {
18 | ///
19 | /// Interaction logic for MTK_RS_Identifier.xaml
20 | ///
21 | internal partial class MTK_RS_Identifier : EditorPage
22 | {
23 | public MTK_RS_Identifier()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/ReferenceSystem.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class ReferenceSystemSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return ReferenceSystemSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_REFERENCESYSTEM; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_ReferenceSystem.xaml
33 | ///
34 | internal partial class MTK_ReferenceSystem : EditorPage
35 | {
36 | public MTK_ReferenceSystem()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return ReferenceSystemSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/References.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class ReferencesSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return ReferencesSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_RES_REF; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_References.xaml
33 | ///
34 | internal partial class MTK_References : EditorPage
35 | {
36 | public MTK_References()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return ReferencesSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/ResourceCitationContacts.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class ResourceCitationContactsSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return ResourceCitationContactsSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_RESOURCECITATIONCONTACTS; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_ResourceCitationContacts.xaml
33 | ///
34 | internal partial class MTK_ResourceCitationContacts : EditorPage
35 | {
36 | public MTK_ResourceCitationContacts()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return ResourceCitationContactsSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/ResourceConstraints.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
16 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
17 |
18 | namespace MetadataToolkit.Pages
19 | {
20 | internal class ResourceConstraintsSidebarLabel : ISidebarLabel
21 | {
22 | string ISidebarLabel.SidebarLabel
23 | {
24 | get { return ResourceConstraintsSidebarLabel.SidebarLabel; }
25 | }
26 |
27 | public static string SidebarLabel
28 | {
29 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_RESOURCECONSTRAINTS; }
30 | }
31 | }
32 | ///
33 | /// Interaction logic for MTK_ResourceConstraints.xaml
34 | ///
35 | internal partial class MTK_ResourceConstraints : EditorPage
36 | {
37 | public MTK_ResourceConstraints()
38 | {
39 | InitializeComponent();
40 | }
41 |
42 | public override string SidebarLabel
43 | {
44 | get { return ResourceConstraintsSidebarLabel.SidebarLabel; }
45 | }
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/ResourceDetails.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class ResourceDetailsSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return ResourceDetailsSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_RESOUCEDETAILS; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_ResourceDetails.xaml
33 | ///
34 | internal partial class MTK_ResourceDetails : EditorPage
35 | {
36 | public MTK_ResourceDetails()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return ResourceDetailsSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/ResourceExtent.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class ResourceExtentSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return ResourceExtentSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_RESOURCEEXTENT; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_ResourceExtent.xaml
33 | ///
34 | internal partial class MTK_ResourceExtent : EditorPage
35 | {
36 | public MTK_ResourceExtent()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return ResourceExtentSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/ResourceMaintenance.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class ResourceMaintenanceSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return ResourceMaintenanceSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_RESOURCEMAINTENANCE; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_ResourceMaintenance.xaml
33 | ///
34 | internal partial class MTK_ResourceMaintenance : EditorPage
35 | {
36 | public MTK_ResourceMaintenance()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return ResourceMaintenanceSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/ResourcePoc.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class ResourcePocSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return ResourcePocSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_RESOURCEPOC; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_ResourcePoc.xaml
33 | ///
34 | internal partial class MTK_ResourcePoc : EditorPage
35 | {
36 | public MTK_ResourcePoc()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return ResourcePocSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/SV_CoupledResource.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
15 |
16 | namespace MetadataToolkit.Pages
17 | {
18 | ///
19 | /// Interaction logic for MTK_SV_CoupledResource.xaml
20 | ///
21 | internal partial class MTK_SV_CoupledResource : EditorPage
22 | {
23 | public MTK_SV_CoupledResource()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/Services.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class ServicesSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return ServicesSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_SERVICES; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_Services.xaml
33 | ///
34 | internal partial class MTK_Services : EditorPage
35 | {
36 | public MTK_Services()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return ServicesSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/SpatialRepresentation.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | internal class SpatialRepresentationSidebarLabel : ISidebarLabel
20 | {
21 | string ISidebarLabel.SidebarLabel
22 | {
23 | get { return SpatialRepresentationSidebarLabel.SidebarLabel; }
24 | }
25 |
26 | public static string SidebarLabel
27 | {
28 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_SPATIALREPRESENTATION; }
29 | }
30 | }
31 | ///
32 | /// Interaction logic for MTK_SpatialRepresentation.xaml
33 | ///
34 | internal partial class MTK_SpatialRepresentation : EditorPage
35 | {
36 | public MTK_SpatialRepresentation()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | public override string SidebarLabel
42 | {
43 | get { return SpatialRepresentationSidebarLabel.SidebarLabel; }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/TM_Period.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
15 |
16 | namespace MetadataToolkit.Pages
17 | {
18 | ///
19 | /// Interaction logic for MTK_TM_Period.xaml
20 | ///
21 | internal partial class MTK_TM_Period : EditorPage
22 | {
23 | public MTK_TM_Period()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/UCUM.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/UCUM.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
15 |
16 | namespace MetadataToolkit.Pages
17 | {
18 | ///
19 | /// Interaction logic for MTK_UCUM.xaml
20 | ///
21 | internal partial class MTK_UCUM : EditorPage
22 | {
23 | public MTK_UCUM()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/UCUM_Length.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/UCUM_Length.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Windows.Controls;
15 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
16 |
17 | namespace MetadataToolkit.Pages
18 | {
19 | ///
20 | /// Interaction logic for MTK_UCUM_Length.xaml
21 | ///
22 | internal partial class MTK_UCUM_Length : EditorPage
23 | {
24 | public MTK_UCUM_Length()
25 | {
26 | InitializeComponent();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/MetadataToolkit/Pages/ValueUoM.xaml.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor.Pages;
15 |
16 | namespace MetadataToolkit.Pages
17 | {
18 | ///
19 | /// Interaction logic for MTK_ValueUoM.xaml
20 | ///
21 | internal partial class MTK_ValueUoM : EditorPage
22 | {
23 | public MTK_ValueUoM()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/MetadataToolkit/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System.Reflection;
15 | using System.Runtime.CompilerServices;
16 | using System.Runtime.InteropServices;
17 |
18 | // General Information about an assembly is controlled through the following
19 | // set of attributes. Change these attribute values to modify the information
20 | // associated with an assembly.
21 | [assembly: AssemblyTitle("Metadata Toolkit")]
22 | [assembly: AssemblyDescription("")]
23 | [assembly: AssemblyConfiguration("")]
24 | [assembly: AssemblyCompany("Esri")]
25 | [assembly: AssemblyProduct("MetadataToolkit")]
26 | [assembly: AssemblyCopyright("Copyright © Esri 2017")]
27 | [assembly: AssemblyTrademark("")]
28 | [assembly: AssemblyCulture("")]
29 |
30 | // Setting ComVisible to false makes the types in this assembly not visible
31 | // to COM components. If you need to access a type in this assembly from
32 | // COM, set the ComVisible attribute to true on that type.
33 | [assembly: ComVisible(false)]
34 |
35 | // The following GUID is for the ID of the typelib if this project is exposed to COM
36 | [assembly: Guid("e0ad09f3-dd5d-42e2-bd24-946cd7415c84")]
37 |
38 | // Version information for an assembly consists of the following four values:
39 | //
40 | // Major Version
41 | // Minor Version
42 | // Build Number
43 | // Revision
44 | //
45 | // You can specify all the values or you can default the Build and Revision Numbers
46 | // by using the '*' as shown below:
47 | // [assembly: AssemblyVersion("1.0.*")]
48 | [assembly: AssemblyVersion("1.0.0.0")]
49 | [assembly: AssemblyFileVersion("1.0.0.0")]
50 |
--------------------------------------------------------------------------------
/MetadataToolkit/Sections/EditorSection.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System;
15 | using System.Collections.Generic;
16 | using System.Linq;
17 | using System.Text;
18 |
19 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
20 |
21 | namespace MetadataToolkit.Sections
22 | {
23 | abstract class EditorSection : ISidebarLabel
24 | {
25 | private string _sidebarLabel = null;
26 |
27 | protected abstract string ResourceID
28 | {
29 | get;
30 | }
31 |
32 | public string SidebarLabel
33 | {
34 | get {
35 | if (null == _sidebarLabel)
36 | {
37 | _sidebarLabel = Utils.Utils.GetResString(this.ResourceID);
38 | }
39 | return _sidebarLabel;
40 | }
41 | }
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/MetadataToolkit/Sections/Metadata.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System;
15 | using System.Collections.Generic;
16 | using System.Linq;
17 | using System.Text;
18 |
19 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
20 |
21 | namespace MetadataToolkit.Sections
22 | {
23 | internal class Metadata : ISidebarLabel
24 | {
25 | public string SidebarLabel
26 | {
27 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_METADATA; }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/MetadataToolkit/Sections/Overview.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System;
15 | using System.Collections.Generic;
16 | using System.Linq;
17 | using System.Text;
18 |
19 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
20 |
21 | namespace MetadataToolkit.Sections
22 | {
23 | internal class Overview : ISidebarLabel
24 | {
25 | public string SidebarLabel
26 | {
27 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_OVERVIEW; }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/MetadataToolkit/Sections/Resource.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System;
15 | using System.Collections.Generic;
16 | using System.Linq;
17 | using System.Text;
18 |
19 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
20 |
21 | namespace MetadataToolkit.Sections
22 | {
23 | internal class Resource : ISidebarLabel
24 | {
25 | public string SidebarLabel
26 | {
27 | get { return MetadataToolkit.Properties.Resources.CFG_LBL_RESOURCE; }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/MetadataToolkit/ToolkitMetadataEditor.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System;
15 | using System.Collections.Generic;
16 | using System.Linq;
17 | using System.Text;
18 | using System.Windows.Input;
19 | using System.Threading.Tasks;
20 |
21 | using ArcGIS.Desktop.Framework;
22 | using ArcGIS.Desktop.Framework.Contracts;
23 | using ArcGIS.Desktop.Metadata.Editors.ClassicEditor;
24 |
25 | namespace MetadataToolkit
26 | {
27 | public class ToolkitMetadataEditor : MetadataEditorBase
28 | {
29 |
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/MetadataToolkit/Utils/MetadataException.cs:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2019 Esri
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 | http://www.apache.org/licenses/LICENSE-2.0
7 | Unless required by applicable law or agreed to in writing, software
8 | distributed under the License is distributed on an "AS IS" BASIS,
9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 | See the License for the specific language governing permissions and
11 | limitations under the License.
12 | */
13 |
14 | using System;
15 | using System.Collections.Generic;
16 | using System.Linq;
17 | using System.Text;
18 | using System.Threading.Tasks;
19 |
20 | namespace MetadataToolkit.Utils
21 | {
22 | internal class MetadataException : Exception
23 | {
24 | public MetadataException(string message) : base(message)
25 | {
26 | }
27 |
28 | public MetadataException(string message, Exception innerException)
29 | : base(message, innerException)
30 | {
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/MetadataToolkit/Xslt/MyArcGISProFull.xsl:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 | My ArcGIS Pro Style
35 |
36 | direction:rtl;
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/arcgis-pro-sdk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/arcgis-pro-sdk.png
--------------------------------------------------------------------------------
/resources/ArcGIS Metadata Details 20200729.xlsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/resources/ArcGIS Metadata Details 20200729.xlsx
--------------------------------------------------------------------------------
/resources/ArcGIS Metadata Details 20211130.xlsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/resources/ArcGIS Metadata Details 20211130.xlsx
--------------------------------------------------------------------------------
/resources/default editor configurations/Item_Description.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | ArcGIS_2ISO19139gml321.xslt
6 | Metadata\Stylesheets\ArcGISPro.xsl
7 |
8 |
9 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/resources/metadata-toolkit-template-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Esri/arcgis-pro-metadata-toolkit/6b8ecb1aa676f4ebaa486706379dc4ee3a62a20c/resources/metadata-toolkit-template-icon.png
--------------------------------------------------------------------------------
/resources/readme:
--------------------------------------------------------------------------------
1 | Several resources are provided with the ArcGIS Pro Metadata Toolkit to help you build add-ins that work with the ArcGIS platform.
2 |
--------------------------------------------------------------------------------