Feature featureScript = t.getFeatureByBaseName(CreatedByVisitor.FEATURE_SCRIPT);
int id = fs.getIntValue(featureId);
String script = fs.getStringValue(featureScript);
IEditorInput editorInput = editor.getEditorInput();
if (editorInput instanceof FileEditorInput) {
FileEditorInput fei = (FileEditorInput) editorInput;
IPath path = fei.getPath();
IWorkspace workspace = ResourcesPlugin.getWorkspace();
IWorkspaceRoot workspaceRoot = workspace.getRoot();
IFile iFile = workspaceRoot.getFileForLocation(path);
IProject project = iFile.getProject();
if (iFile != null) {