public RefactoringStatus checkInitialConditions(IProgressMonitor pm)
throws CoreException, OperationCanceledException
{
String pack = getTargetPackage();
// check if file is from haxe lib
HaxeLibProject project = Activator.getProjectManager().getHaxeLib();
CodeFile file = project.getFile(pack);
if (file != null)
{
return RefactoringStatus.createErrorStatus("Can't edit library file");
}
// available for editing