Community
Participate
Working Groups
1. File > Open File..., choose an SML-IF file 2. Click on "validate" or "import" links on first page of editor You see an hourglass for a few seconds, and nothing happens. This works fine if the SML-IF file is already a workspace file. I suspect this is a case where we aren't handling a URI file since that is what Eclipse gives the editor. So we need to tease out the actual file name from that object just like we do in the init() method of the editor.
This has been partially fixed, but needs more work. The import link works from the editor, but the validator link does not show validation results at the end. ValidateResourceAction and its parent need to be redesigned because they currently depend on IResource, and this is not usable when the file to be validated is external. Also, I am not sure when validating a single SML-IF file why we need a repository just to get the operation; since this is a standalone file, there should not be a dependency on a repository. I checked in the code that makes this work better, but am leaving it open for another time to fix the validation piece.