Last active
May 31, 2017 08:40
-
-
Save nbhusare/178ed98339f8a389c96572220a88a9e3 to your computer and use it in GitHub Desktop.
Getting handle of ResourceDescriptionsData for indexed access to the resource descriptions
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
final XtextResourceSet xtextResourceSet = ... | |
final ResourceDescriptionsData resourceDescriptionsData = ResourceDescriptionsData.ResourceSetAdapter.findResourceDescriptionsData(xtextResourceSet); | |
if (resourceDescriptionsData != null) { | |
//resourceDescriptionsData.getAllResourceDescriptions() | |
//resourceDescriptionsData.getResourceDescription(uri) | |
//resourceDescriptionsData.getExportedObjectsByType(type) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment