// Copyright (C) 2018-2022 Reece H. Dunn. SPDX-License-Identifier: Apache-2.0
package xqt.platform.intellij.xpath

import com.intellij.openapi.fileTypes.LanguageFileType
import xqt.platform.intellij.xpath.resources.XPathBundle
import xqt.platform.intellij.xpath.resources.XPathIcons
import javax.swing.Icon

object XPathFileType : LanguageFileType(XPath) {
    override fun getName(): String = "XPath"

    override fun getDescription(): String = XPathBundle.message("xpath.files.filetype.description")

    override fun getDefaultExtension(): String = "xpath"

    override fun getIcon(): Icon = XPathIcons.FileType
}
