1 / 7

CSU 670 Project Help

CSU 670 Project Help. Fall 2005. Thoughts on highlighting. Cdn (cd normalized) Cdh (cd highlighted) First find an Eclipse independent solution, then specialize for Eclipse. Cleaner thinking More reusable. Turn the two cds into one new cd: integrated cd.

ovidio
Download Presentation

CSU 670 Project Help

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSU 670 Project Help Fall 2005

  2. Thoughts on highlighting • Cdn (cd normalized) • Cdh (cd highlighted) • First find an Eclipse independent solution, then specialize for Eclipse. • Cleaner thinking • More reusable

  3. Turn the two cds into one new cd: integrated cd • *h* A = <b> B *h* <c> C <d> D *h* <e> E. • *h* C : G | *h* H | *h* I | J. • *h* E ~ { *h* S }. • A = <b> B <c> C <d> D <e> E. • C : G | H | I | J. • E ~ { S }.

  4. Four questions to second cd • A ? • ->A,b,* ? • =>A,B • ~>R,S

  5. Three questions to second cd • A ? • aplib.cd.ClassGraph.definesClass • ->A,b,* ? • aplib.cd.ClassGraph.getOutgoingEdges(v) • aplib.EdgeI.getSource() • aplib.EdgeI.isConstructionEdge() • =>A,B • aplib.EdgeI.isAlternationEdge()

  6. Can we avoid constructing integrated cd explicitly? YES. • Traverse cdn and ask questions about cdh. • Need to do the work of the Printvisitor but in two colors. • Use e.g. aplib.cd.ClassDef. • isAlternationClass() • isConstructionClass() • isRepetitionClass()

  7. Now become Eclipse specific • Use StyledText • Need to create pair coordinates to do the highlighting

More Related