/*
 * Copyright 2000-2013 JetBrains s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.jetbrains.plugins.terminal.vfs;

import javax.annotation.Nonnull;

import com.intellij.openapi.fileTypes.ex.FakeFileType;
import com.intellij.openapi.vfs.VirtualFile;

/**
 * @author traff
 */
public class TerminalSessionFileType extends FakeFileType
{
	public final static TerminalSessionFileType INSTANCE = new TerminalSessionFileType();

	@Nonnull
	public String getName()
	{
		return "Terminal Session";
	}

	@Nonnull
	public String getDescription()
	{
		return getName() + " Fake File Type";
	}

	public boolean isMyFileType(VirtualFile file)
	{
		return file instanceof TerminalSessionVirtualFileImpl;
	}
}

@@ -643,42 +643,8 @@
 s;%0A%0A
-import javax.annotation.Nonnull;%0A%0A
 impo
@@ -738,16 +738,89 @@
 ualFile;
+%0Aimport consulo.localize.LocalizeValue;%0A%0Aimport javax.annotation.Nonnull;
 %0A%0A/**%0A *
@@ -1014,20 +1014,18 @@
 ring get
-Name
+Id
 ()%0A%09%7B%0A%09%09
@@ -1069,30 +1069,37 @@
 ull%0A%09public 
-String
+LocalizeValue
  getDescript
@@ -1120,21 +1120,52 @@
 urn 
-getName() + %22
+LocalizeValue.localizeTODO(%22Terminal Session
  Fak
@@ -1174,14 +1174,14 @@
 File
- 
 Type%22
+)
 ;%0A%09%7D

fix compilation