Skip to content
Success

Changes

Summary

  1. [321775] Allow parsing Dot Html-Like-Label comments in Html tags. (details)
  2. [321775] Improve Dot Html-Label attribute value validation support. (details)
  3. [321775] Improve Dot Html-Like-Label folding support. (details)
  4. [321775] Improve Dot Html-Like-Label outline view support. (details)
  5. [461506] Improve the Dot Color sub-grammar validation/content assistant. (details)
  6. [461506] Add colorList Dot Attribute type (bgcolor, color, fillcolor). (details)
  7. [461506] Edge fillcolor DOT attribute proposal provider improvement. (details)
  8. [NONE] dot.tests.DotTestGraphs: improve copyright and documentation. (details)
  9. [520598] Use extension point for DOT sub-grammar package registration. (details)
  10. [518893] Prevent processing of non-viewer-related events. (details)
Commit 38e5955bbf5a41139c745a387db54e58222f2ac2 by Tamas Miklossy
[321775] Allow parsing Dot Html-Like-Label comments in Html tags.

- Modify the DotHtmlLabel grammar to send the HTML_COMMENT elements
nested in a HtmlTag to the hidden channel.
- Implement corresponding DotHtmlLabelTests parser/validation test
cases.
The file was modified org.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/DotTestHtmlLabels.xtend (diff)
The file was modified org.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/DotHtmlLabelTests.java (diff)
The file was modified org.eclipse.gef.dot/src/org/eclipse/gef/dot/internal/language/DotHtmlLabel.xtext (diff)
Commit e9a4ce7bd23b1bc15fce31332b3e9eb86436717a by Tamas Miklossy
[321775] Improve Dot Html-Label attribute value validation support.

- Extend the DotHtmlLabelJavaValidator by attribute value validation
rules.
- Implement corresponding validation test cases.
The file was modified org.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/DotHtmlLabelTests.java (diff)
The file was modified org.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/DotValidatorTests.java (diff)
The file was modified org.eclipse.gef.dot/src/org/eclipse/gef/dot/internal/language/validation/DotHtmlLabelJavaValidator.java (diff)
Commit 993ea6e1b4d8bccb972c8bd2654dcfdee0768b4c by Tamas Miklossy
[321775] Improve Dot Html-Like-Label folding support.

- Provide a custom DotFoldingRegionProvider where the folding regions
for the dot HTML-Like-Label attribute value are computed as well.
- Modify the Dot HTML-Like_Label folding not to calculate the folding
regions for html content elements containing only whitespaces.
- Implement corresponding DotFoldingTests test cases.
The file was addedorg.eclipse.gef.dot.ui/src/org/eclipse/gef/dot/internal/ui/language/folding/DotFoldingRegionProvider.java
The file was addedorg.eclipse.gef.dot.ui/src/org/eclipse/gef/dot/internal/ui/language/folding/DotHtmlLabelTerminalsTokenTypeToPartitionMapper.java
The file was modified org.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/AllUiTests.java (diff)
The file was addedorg.eclipse.gef.dot.ui/src/org/eclipse/gef/dot/internal/ui/language/folding/DotHtmlLabelFoldingRegionProvider.java
The file was modified org.eclipse.gef.dot.ui/src/org/eclipse/gef/dot/internal/ui/language/DotUiModule.java (diff)
The file was addedorg.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/DotFoldingTests.java
The file was modified org.eclipse.gef.dot.ui/src/org/eclipse/gef/dot/internal/ui/language/DotHtmlLabelUiModule.java (diff)
Commit 9f229013c744e1bc56562198d0e9692ca86420a7 by Tamas Miklossy
[321775] Improve Dot Html-Like-Label outline view support.

- Extend the GenerateDot.mwe2 workflow to generate labeling/outline API
for the DotHtmlLabel.xtext sub-grammar.
- Provide implementation for the DotHtmlLabelLabelProvider and
DotHtmlLabelOutlineTreeProvider classes.
- Provide html_tag.png and html_text.png icons used by the outline view.
- Modify the DotLabelProvider and the DotOutlineTreeProvider to consider
the DotHtmlLabelLabelProvider and the DotthmlLabeloutlineTreeProvider
implementations when creating the outline view.
- Implement corresponding DotOutlineViewTests test cases.
The file was addedorg.eclipse.gef.dot.ui/icons/html_text.png
The file was addedorg.eclipse.gef.dot.ui/src/org/eclipse/gef/dot/internal/ui/language/labeling/DotHtmlLabelLabelProvider.java
The file was modified org.eclipse.gef.dot.ui/src/org/eclipse/gef/dot/internal/ui/language/outline/DotOutlineTreeProvider.java (diff)
The file was addedorg.eclipse.gef.dot.ui/icons/html_tag.png
The file was modified org.eclipse.gef.dot.ui/src/org/eclipse/gef/dot/internal/ui/language/labeling/DotLabelProvider.java (diff)
The file was modified org.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/DotOutlineViewTests.xtend (diff)
The file was addedorg.eclipse.gef.dot.ui/src/org/eclipse/gef/dot/internal/ui/language/labeling/DotHtmlLabelDescriptionLabelProvider.java
The file was modified org.eclipse.gef.dot/src/org/eclipse/gef/dot/internal/language/GenerateDot.mwe2 (diff)
The file was addedorg.eclipse.gef.dot.ui/src/org/eclipse/gef/dot/internal/ui/language/outline/DotHtmlLabelOutlineTreeProvider.java
Commit db353bd81d66a33243fb57e703782aba755e258e by Tamas Miklossy
[461506] Improve the Dot Color sub-grammar validation/content assistant.

- Modify the DotColorJavaValidator and the DotColorProposalProvider to
consider the globally set colorscheme attribute value.
- Modify the DotColorJavaValidator and the DotColorProposalProvider to
treat the colorscheme attribute value case insensitively.
- Move the Dot ast walking logic from the DotProposalProvider class into
the DotAstHelper class.
- Implement corresponding validation and content assistant test cases.
The file was addedorg.eclipse.gef.dot.tests/resources/colorscheme.dot
The file was modified org.eclipse.gef.dot.ui/src/org/eclipse/gef/dot/internal/ui/language/contentassist/DotProposalProvider.java (diff)
The file was modified org.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/DotContentAssistTests.java (diff)
The file was modified org.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/DotParserTests.java (diff)
The file was modified org.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/DotValidatorTests.java (diff)
The file was modified org.eclipse.gef.dot/src/org/eclipse/gef/dot/internal/language/DotAstHelper.xtend (diff)
The file was modified org.eclipse.gef.dot/src/org/eclipse/gef/dot/internal/language/validation/DotJavaValidator.java (diff)
The file was modified org.eclipse.gef.dot.ui/src/org/eclipse/gef/dot/internal/ui/language/contentassist/DotColorProposalProvider.java (diff)
The file was modified org.eclipse.gef.dot/src/org/eclipse/gef/dot/internal/language/validation/DotColorJavaValidator.java (diff)
Commit 56784f9b5a540ce6b4c5119a15a7710d1e20ef81 by Tamas Miklossy
[461506] Add colorList Dot Attribute type (bgcolor, color, fillcolor).

- Define colorList sub-grammar: DotColorList.xtext.
- Change the Dot Attribute type from color to colorList where necessary:
bgcolor   G colorList
bgcolor   C colorList
color     E colorList
color     C color
color     N color
fillcolor E color
fillcolor N colorList
fillcolor C colorList
- Adapt/Implement DoAttributesTests, DotContentAssistTests,
DotParserTests and DotValidatorTests test cases.
The file was addedorg.eclipse.gef.dot.tests/resources/switch.dot
The file was addedorg.eclipse.gef.dot.ui/src/org/eclipse/gef/dot/internal/ui/language/DotColorListUiModule.java
The file was modified org.eclipse.gef.dot.ui/src/org/eclipse/gef/dot/internal/ui/language/contentassist/DotProposalProvider.java (diff)
The file was addedorg.eclipse.gef.dot/src/org/eclipse/gef/dot/internal/language/DotColorList.xtext
The file was addedorg.eclipse.gef.dot/src/org/eclipse/gef/dot/internal/language/parser/antlr/lexer/CustomInternalDotColorListLexer.g
The file was addedorg.eclipse.gef.dot/src/org/eclipse/gef/dot/internal/language/validation/DotColorListJavaValidator.java
The file was modified org.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/DotValidatorTests.java (diff)
The file was addedorg.eclipse.gef.dot.tests/resources/grdcolors.dot
The file was addedorg.eclipse.gef.dot.ui/src/org/eclipse/gef/dot/internal/ui/language/contentassist/DotColorListProposalProvider.java
The file was addedorg.eclipse.gef.dot.tests/resources/color.dot
The file was addedorg.eclipse.gef.dot/src/org/eclipse/gef/dot/internal/language/formatting/DotColorListFormatter.java
The file was addedorg.eclipse.gef.dot.tests/resources/grdradial_angle.dot
The file was addedorg.eclipse.gef.dot.tests/resources/grdcluster.dot
The file was addedorg.eclipse.gef.dot.tests/resources/grdlinear_node.dot
The file was addedorg.eclipse.gef.dot/src/org/eclipse/gef/dot/internal/language/DotColorListStandaloneSetup.java
The file was addedorg.eclipse.gef.dot.tests/resources/grdlinear.dot
The file was addedorg.eclipse.gef.dot.tests/resources/grdshapes.dot
The file was addedorg.eclipse.gef.dot/src/org/eclipse/gef/dot/internal/language/DotColorListRuntimeModule.java
The file was addedorg.eclipse.gef.dot.tests/resources/grdlinear_angle.dot
The file was modified org.eclipse.gef.dot/src/org/eclipse/gef/dot/internal/language/GenerateDot.mwe2 (diff)
The file was modified org.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/DotTestGraphs.xtend (diff)
The file was addedorg.eclipse.gef.dot.tests/resources/grdradial_node.dot
The file was addedorg.eclipse.gef.dot.tests/resources/grdfillcolor.dot
The file was addedorg.eclipse.gef.dot.tests/resources/grdradial.dot
The file was modified org.eclipse.gef.dot.ui/src/org/eclipse/gef/dot/internal/ui/Dot2ZestAttributesConverter.java (diff)
The file was modified org.eclipse.gef.dot/META-INF/MANIFEST.MF (diff)
The file was addedorg.eclipse.gef.dot.tests/resources/grdangles.dot
The file was modified org.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/DotContentAssistTests.java (diff)
The file was modified org.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/DotAttributesTests.java (diff)
The file was modified org.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/DotParserTests.java (diff)
The file was modified org.eclipse.gef.dot/src/org/eclipse/gef/dot/internal/DotAttributes.xtend (diff)
Commit 5d3c5fdf6206dc33825119f0ce6c31be8a5fcb8a by Tamas Miklossy
[461506] Edge fillcolor DOT attribute proposal provider improvement.

- The edge fillcolor attribute accepts only a color (and not a
colorList) as a valid value. Adapt the DOT Editor proposal provider
to offer only color value. So this behaviour is consistent to the DOT
attribute validator.
- Improve DotAttributes documentation.
- Adapt the corresponding DotContentAssistTests test cases.
The file was modified org.eclipse.gef.dot.ui/src/org/eclipse/gef/dot/internal/ui/language/contentassist/DotProposalProvider.java (diff)
The file was modified org.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/DotContentAssistTests.java (diff)
The file was modified org.eclipse.gef.dot/src/org/eclipse/gef/dot/internal/DotAttributes.xtend (diff)
Commit 2ae83bcc1a0f3131de5ebb96543b88da93274834 by Tamas Miklossy
[NONE] dot.tests.DotTestGraphs: improve copyright and documentation.
The file was modified org.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/DotTestGraphs.xtend (diff)
Commit b0f273344b55f8e78f9789ffe5c1758d6b701376 by Tamas Miklossy
[520598] Use extension point for DOT sub-grammar package registration.

- Merge the org.eclipse.gef.dot/plugin.xml_gen (generated by the Xtext
framework) into the org.eclipse.gef.dot/plugin.xml file to properly
register the generated DOT sub-grammar Ecore packages via the
"org.eclipse.emf.ecore.generated_package" extension point. This makes
the Dot test cases more stable and robust.
- Eliminate the programmatic EPackage registrations from the
DotValidatorTests.java file, since this is not necessary any more.
The file was modified org.eclipse.gef.dot.tests/src/org/eclipse/gef/dot/tests/DotValidatorTests.java (diff)
The file was modified org.eclipse.gef.dot/plugin.xml (diff)
Commit 43b89ad2e76f08dc8f61e3d9b41ee29317d218ae by Matthias Wienand
[518893] Prevent processing of non-viewer-related events.

- Prevent TypeStrokeGesture from passing a null IViewer to
   the IHandlerResolver.
- The IViewer for an event can only be null, if the event was
   fired for a JavaFX node that is not part of the viewer.
The file was modified org.eclipse.gef.mvc.fx/src/org/eclipse/gef/mvc/fx/gestures/TypeStrokeGesture.java (diff)