- Timestamp:
- 05/21/14 10:20:09 (11 years ago)
- Location:
- v2/trunk/de.ugoe.cs.swe.bnftools.ebnf.ui
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/plugin.xml
r67 r68 248 248 </extension> 249 249 250 <!-- -->250 <!-- 251 251 <extension 252 252 point="org.eclipse.xtext.builder.participant"> … … 255 255 </participant> 256 256 </extension> 257 --> 257 258 258 259 <!--this is for using a button for generation 259 <!--this is for using a button for generation--> 260 260 <extension 261 261 point="org.eclipse.ui.handlers"> … … 291 291 </menuContribution> 292 292 </extension> 293 -->293 <!----> 294 294 295 295 -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/labeling/EbnfLabelProvider.xtend
r67 r68 8 8 import de.ugoe.cs.swe.bnftools.ebnf.Rule 9 9 import de.ugoe.cs.swe.bnftools.ebnf.BnfEntry 10 import de.ugoe.cs.swe.bnftools.ebnf.DefinitionList 11 import de.ugoe.cs.swe.bnftools.ebnf.SingleDefinition 12 import de.ugoe.cs.swe.bnftools.ebnf.Term 13 import de.ugoe.cs.swe.bnftools.ebnf.Atom 14 import de.ugoe.cs.swe.bnftools.ebnf.StringRule 10 15 11 16 /** … … 26 31 27 32 def text(BnfEntry entry){ 28 ' Rule'33 'BnfEntry' 29 34 } 35 36 def text(Rule rule){ 37 'Rule: '+rule.name 38 } 39 40 def text(DefinitionList dlist){ 41 'Definition List' 42 } 43 44 def text(SingleDefinition sdef){ 45 'Single Definition' 46 } 47 48 def text(Term term){ 49 'Term' 50 } 51 52 def text(Atom atom){ 53 'Atom' 54 } 55 30 56 } -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/outline/EbnfOutlineTreeProvider.xtend
r67 r68 23 23 } 24 24 25 def boolean _isLeaf(Rule rule) { 26 return true; 27 } 25 28 26 29 27 }
Note: See TracChangeset
for help on using the changeset viewer.