}
public void initComponent()
{
// auto-associate .awl files as htm if not otherwise mapped
FileType awlType = FileTypeManager.getInstance().getFileTypeByExtension("awl");
if (awlType.getName().endsWith("UnknownFileType") || awlType.getName().equals("UNKNOWN")) {
FileType htmType = FileTypeManager.getInstance().getFileTypeByExtension("htm");
FileTypeManager.getInstance().registerFileType(htmType, new String[] {"awl"});
}
// auto-associate .oss files as text if not otherwise mapped
FileType ossType = FileTypeManager.getInstance().getFileTypeByExtension("oss");
if (ossType.getName().endsWith("UnknownFileType") || ossType.getName().equals("UNKNOWN")) {
FileType txtType = FileTypeManager.getInstance().getFileTypeByExtension("txt");
FileTypeManager.getInstance().registerFileType(txtType, new String[] {"oss"});
}
// Load our bundled live templates
InputStream is = getClass().getResourceAsStream("/ariba/ideplugin/idea/livetemplates.xml");