323802: [General] Papyrus shall provide a read only mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802

Implement a custom TransactionChangeRecorder that aborting the transaction if a read-only object is modified.

Add a new extension point oep.infra.gmfdiag.commands.historyListeners for registration of listeners to be added to the Papyrus operation history.  Implement a listener that detects operations that failed because of rollback and presents a status dialog explaining the rollback.

Add a new label provider for EMF Resources to support presentation of the rollback dialog when an affected object is a resource.
323802: [General] Papyrus shall provide a read only mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802

Junit tests for roll-back of commands/operations that modify read-only objects.
323802: [General] Papyrus shall provide a read only mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802

Implement edit advice to protect read-only objects.
323802: [General] Papyrus shall provide a read only mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802

JUnit tests for read-only object advice.
323802: [General] Papyrus shall provide a read only mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802

Integrate new JUnit tests into the build.
Update older tests to account for new transactional editing domain checks for modifications to read-only resources.
323802: [General] Papyrus shall provide a read only mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802

Merely disapproving the edit in an advice is not enough because in the diagram editor, the GEF EditPolicy can produce a command that is used instead of the "semantic" command produced (and null if disapproved) by the edit-helper.  So, we must actually return an unelectable command in order to block the execution of this fall-back command.
323802: [General] Papyrus shall provide a read only mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802

Bind the read-only object edit advice to the diagrams' respective client contexts.
323802: [General] Papyrus shall provide a read only mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802

Fix rollback error dialog not appearing when an edit command in the Advanced tab of the Properties view is rolled back.
323802: [General] Papyrus shall provide a read only mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802

Add support to the read-only handler framework for determining whether it should be possible to make a read-only resource/object writable.
323802: [General] Papyrus shall provide a read only mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802

Let unprotected transactions make changes in read-only resources (useful for testing, but makes sense anyways).
323802: [General] Papyrus shall provide a read only mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802

Update the read-only advice to delegate to the read-only handler framework to determine whether it would be possible to make a read-only resource writable.

Consequently, update read-only advice tests to use our actual Papyrus editing domain (with its read-only handler) and to remove the local file cases because the read-only handler framework doesn't support them.
323802: [General] Papyrus shall provide a read only mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802

Support editing of read-only resources (with the approver's prompt to make resources writable) in the Model Explorer and other contexts than diagrams.

This involves being more aggressive in trying to extract the "affected files" from IUndoableOperations in the approver, because drag-and-drop operations (for example) in the Model Explorer are not GMF commands, but rather include GMF commands nested within wrappers and composites.
[Tests] Add missing test features to the test build
[Tests] Fix erroneous plug-in names in test features
Merge branch 'refs/heads/master' into bugs/323802-readonly
323802: [General] Papyrus shall provide a read only mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802

Disable widgets in the Properties View that edit read-only model elements.
Bug 425884 - [All Diagrams] External model elements have no visial
indicator to say they are imported
https://bugs.eclipse.org/bugs/show_bug.cgi?id=425884
Bug 425884 - [All Diagrams] External model elements have no visial
indicator to say they are imported
https://bugs.eclipse.org/bugs/show_bug.cgi?id=425884

- Disable the navigation decorator rules to avoid conflicts with the
decoration service (overlapping icons)
323802: [General] Papyrus shall provide a read only mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802

Make presentation of gradient style properties sensitive to read-only state of the notation view.
323802: [General] Papyrus shall provide a read only mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802

Make stereotype decorator properties sensitive to read-only state of the notation view.