Changeset 68 in default for v2


Ignore:
Timestamp:
05/21/14 10:20:09 (10 years ago)
Author:
hkaulbersch
Message:

1.)Changed the outline
2.)Added a PopupButton? for codegeneration(not running yet)

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  
    248248        </extension> 
    249249 
    250 <!----> 
     250<!-- 
    251251   <extension 
    252252         point="org.eclipse.xtext.builder.participant"> 
     
    255255      </participant> 
    256256   </extension> 
     257   --> 
    257258    
    258     
    259    <!--this is for using a button for generation 
     259   <!--this is for using a button for generation--> 
    260260   <extension 
    261261        point="org.eclipse.ui.handlers"> 
     
    291291    </menuContribution> 
    292292    </extension> 
    293  --> 
     293 <!----> 
    294294    
    295295    
  • v2/trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/labeling/EbnfLabelProvider.xtend

    r67 r68  
    88import de.ugoe.cs.swe.bnftools.ebnf.Rule 
    99import de.ugoe.cs.swe.bnftools.ebnf.BnfEntry 
     10import de.ugoe.cs.swe.bnftools.ebnf.DefinitionList 
     11import de.ugoe.cs.swe.bnftools.ebnf.SingleDefinition 
     12import de.ugoe.cs.swe.bnftools.ebnf.Term 
     13import de.ugoe.cs.swe.bnftools.ebnf.Atom 
     14import de.ugoe.cs.swe.bnftools.ebnf.StringRule 
    1015 
    1116/** 
     
    2631         
    2732        def text(BnfEntry entry){ 
    28                 'Rule' 
     33                'BnfEntry' 
    2934        } 
     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         
    3056} 
  • v2/trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/outline/EbnfOutlineTreeProvider.xtend

    r67 r68  
    2323        } 
    2424 
    25         def boolean _isLeaf(Rule rule) { 
    26                 return true; 
    27         } 
     25 
    2826 
    2927} 
Note: See TracChangeset for help on using the changeset viewer.