[Spedit-commits] CVS: prototype/Sources/net/sourceforge/spedit/app Application.java,1.5,1.6
Status: Planning
Brought to you by:
krunte
|
From: S?bastien P. <kaz...@us...> - 2001-11-28 13:14:40
|
Update of /cvsroot/spedit/prototype/Sources/net/sourceforge/spedit/app
In directory usw-pr-cvs1:/tmp/cvs-serv1688/net/sourceforge/spedit/app
Modified Files:
Application.java
Log Message:
New feature in XMLViewFactory is ancestor checking for XMLInformation.
Views have been slightly modified, mainly JavaDoc. Styleable is more robust
and provides support for the new view layout mechanism.
Index: Application.java
===================================================================
RCS file: /cvsroot/spedit/prototype/Sources/net/sourceforge/spedit/app/Application.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Application.java 2001/11/27 10:31:41 1.5
--- Application.java 2001/11/28 13:14:37 1.6
***************
*** 146,152 ****
editorPane = new JEditorPane();
navigator = new NavigationTree(this);
! //editorKit = new XMLEditorKit("../Support/Configuration.xml");
! //editorKit = new XMLEditorKit("../Support/SP-Configuration.xml");
! editorKit = new XMLEditorKit("../Support/ON-Configuration.xml");
editorPane.setEditorKit(editorKit);
factory = (XMLViewFactory)editorKit.getViewFactory();
--- 146,151 ----
editorPane = new JEditorPane();
navigator = new NavigationTree(this);
! editorKit = new XMLEditorKit("../Support/SP-Configuration.xml");
! //editorKit = new XMLEditorKit("../Support/ON-Configuration.xml");
editorPane.setEditorKit(editorKit);
factory = (XMLViewFactory)editorKit.getViewFactory();
***************
*** 158,163 ****
{
//We load the custom file
! //File ff = new File("../Support/SP-P11388.xml");
! File ff = new File("../Support/ON-Document.xml");
document = XMLDocument.loadFromFile(ff, factory);
document.filter(factory);
--- 157,162 ----
{
//We load the custom file
! File ff = new File("../Support/SP-P11388.xml");
! //File ff = new File("../Support/ON-Document.xml");
document = XMLDocument.loadFromFile(ff, factory);
document.filter(factory);
|