Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Prompt for Unlock When Editing Diagrams in Subversion Repository #1217
This is in related to and is in addition to #1132. IWorkspace.validateEdit needs to be called before making changes to diagram files. This should prompt the user to unlock the file. If validation fails, the change should not be made.
Ensure that the user is not prompted multiple times when making changes that affect multiple diagram files such as refactoring.
There are two SVN clients for Eclipse: subclipse and subversive. Subversive seems to have more problems than subclipse. When using subversive, an NPE occured when renaming via LTK from the grpahical editor under certain circumstances. This issue is not resolvable without changes to Xtext or Subversive. For graphical editor usages, the behavior is more reliable when using subclipse.
Prompting to unlock AADL source files and diagrams when appropriate when editing in the graphical editor is needed. However, subclipse may automatically attempt to lock files in some cases such as when refactoring elements using LTK. Unfortunately, this operation may fail if one of the files is already locked. In such cases an error is printed by subclipse to the console describing the problem.