-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Editor] Show a warning when editing a file that is not part of the e…
…nvironment (#175) A quick fix allows to automatically add the file to the environment. Signed-off-by: Emmanuel Chebbi <[email protected]>
- Loading branch information
Showing
5 changed files
with
129 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...e.emf.ecoretools.ale.xtext/src/org/eclipse/emf/ecoretools/validation/AleMarkerTypes.xtend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.eclipse.emf.ecoretools.validation | ||
|
||
/** | ||
* IDs of ALE markers. | ||
*/ | ||
class AleMarkerTypes { | ||
|
||
/** | ||
* Default marker ID. | ||
*/ | ||
public static val String DEFAULT = "org.eclipse.emf.ecoretools.ale.xtext.AleMarker" | ||
|
||
/** | ||
* Marker indicating that the source file is not in the project's ALE environment. | ||
*/ | ||
public static val String SOURCE_FILE_NOT_IN_ENV = "org.eclipse.emf.ecoretools.ale.xtext.SourceFileNotInEnvironmentMarker" | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters