Changeset 35 in default


Ignore:
Timestamp:
11/03/10 16:08:54 (14 years ago)
Author:
zeiss
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/formatter/HtmlFormatterHandler.java

    r34 r35  
    3535 
    3636                XtextDocument doc = (XtextDocument) editor.getDocument(); 
    37  
    3837                IContainer parent = editor.getResource().getParent(); 
    3938 
     
    4443                EbnfHtmlFormatterVisitor visitor = new EbnfHtmlFormatterVisitor( 
    4544                                rootNode.getParserNode().getElement(), config); 
    46                 // visitor.accept(rootNode.getElement()); 
    4745 
    4846                visitor.accept(); 
    4947 
    50                 // System.out.println(visitor.getBuf()); 
    51                 IWorkspace workspace = ResourcesPlugin.getWorkspace(); 
    52                 IWorkspaceRoot workspaceRoot = workspace.getRoot(); 
    53                 IPath location = workspaceRoot.getLocation(); 
    54  
    55                 System.out.println(parent.getLocationURI().getPath()); 
    56 //              File f = new File("."); 
    5748                writeFile(visitor.getBuf().toString(), parent.getLocationURI().getPath() + "/" + editor.getResource().getName() + ".html"); 
    58  
     49                System.out.println(visitor.getBuf()); 
     50                 
    5951                return null; 
    6052        } 
Note: See TracChangeset for help on using the changeset viewer.