[Spedit-commits] CVS: prototype/Sources/net/sourceforge/spedit/spml AuthorDisplay.java,NONE,1.1 Data
Status: Planning
Brought to you by:
krunte
|
From: S?bastien P. <kaz...@us...> - 2001-11-28 13:14:41
|
Update of /cvsroot/spedit/prototype/Sources/net/sourceforge/spedit/spml In directory usw-pr-cvs1:/tmp/cvs-serv1688/net/sourceforge/spedit/spml Added Files: AuthorDisplay.java DataBaseDisplay.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. --- NEW FILE: AuthorDisplay.java --- // ---------------------------------------------------@RisingSun//Java//1.0//EN // Project : SPEdit-SPML // ClassName : AuthorDisplay // Version : 0.20 // Type : SPEdit view extension // ThreadSafe : Yep // Description : Displays the authors in an SPML document // URL : <http://spedit.sf.net> // ---------------------------------------------------------------------------- // Authors : Sbastien Pierre <sp...@is...> // ---------------------------------------------------------------------------- // Creation date : 26-Nov-2001 // Last mod. : 26-Nov-2001 // History : // 26-Nov-2001 First implementation.(sp) // // Bugs : // - // // To do : // package net.sourceforge.spedit.spml; import java.awt.*; import java.awt.event.*; import java.util.Vector; import javax.swing.*; import javax.swing.tree.*; import javax.swing.event.*; import net.sourceforge.spedit.core.*; import net.sourceforge.spedit.ui.*; public class AuthorDisplay extends AttributesDisplay { public AuthorDisplay(XMLElementWrapper element, WrapperView view) { super(element,view); } protected void init() { setLayout(new FlowLayout()); add(new JLabel("name")); add(new JLabel("surname")); } } // EOF-Linux/ISO-8859-1-------------------------------@RisingSun//Java//1.0//EN --- NEW FILE: DataBaseDisplay.java --- // ---------------------------------------------------@RisingSun//Java//1.0//EN // Project : SPEdit-SPML // ClassName : DataBaseDisplay // Version : 0.20 // Type : SPEdit view extension // ThreadSafe : Yep // Description : Displays the database entry in an SPML document // URL : <http://spedit.sf.net> // ---------------------------------------------------------------------------- // Authors : Sbastien Pierre <sp...@is...> // ---------------------------------------------------------------------------- // Creation date : 26-Nov-2001 // Last mod. : 26-Nov-2001 // History : // 26-Nov-2001 First implementation.(sp) // // Bugs : // - // // To do : // package net.sourceforge.spedit.spml; import java.awt.*; import java.awt.event.*; import java.util.Vector; import javax.swing.*; import javax.swing.tree.*; import javax.swing.event.*; import net.sourceforge.spedit.core.*; import net.sourceforge.spedit.ui.*; public class DataBaseDisplay extends AttributesDisplay { public DataBaseDisplay(XMLElementWrapper element, WrapperView view) { super(element,view); } protected void init() { setLayout(new FlowLayout()); add(new JLabel("DATABASE")); add(new JLabel("PRIMARY")); add(new JLabel("SECONDARY")); add(new JLabel("STATUS")); } } // EOF-Linux/ISO-8859-1-------------------------------@RisingSun//Java//1.0//EN |