public void createTypeEditorByFilename(String file)
{
EntityEditorView tev = new EntityEditorView(this,getCurrentEditor().instance.getInstancePtr() , 0, file, EntityEditTargetType.TARGET_TYPE);
for (int i = 0; i < componentInfoManager.count(); ++i)
tev.addComponentClassNameToList(componentInfoManager.getComponentInfoByIndex(i));
dockPanel.Invoke((MethodInvoker)(() => tev.Show(dockPanel, DockState.Float)));
entityEditorInstanceList.Add(new EntityEditorInstance(getCurrentEditor().instance.getInstancePtr() , tev, file));
}