/[fenfire]/fenfire/org/fenfire/loom/Loom.java
ViewVC logotype

Diff of /fenfire/org/fenfire/loom/Loom.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.43 by benja, Sat Mar 22 20:27:13 2003 UTC revision 1.44 by benja, Sat Mar 22 21:04:43 2003 UTC
# Line 25  Loom.java Line 25  Loom.java
25   * Written by Benja Fallenstein   * Written by Benja Fallenstein
26   */   */
27  package org.fenfire.loom;  package org.fenfire.loom;
28    import org.fenfire.util.*;
29    
30  import org.nongnu.libvob.*;  import org.nongnu.libvob.*;
31  import org.nongnu.libvob.impl.DefaultVobMatcher;  import org.nongnu.libvob.impl.DefaultVobMatcher;
32  import org.nongnu.libvob.vobs.*;  import org.nongnu.libvob.vobs.*;
# Line 44  import com.hp.hpl.mesa.rdf.jena.mem.*; Line 46  import com.hp.hpl.mesa.rdf.jena.mem.*;
46  public class Loom {  public class Loom {
47    
48      protected ViewSettings view;      protected ViewSettings view;
49        protected DefaultNodeView nodeView;
50    
51      protected ColorScheme colors;      protected ColorScheme colors;
52    
# Line 103  public class Loom { Line 106  public class Loom {
106          goTo.setVisible(true);          goTo.setVisible(true);
107      }      }
108    
109        protected void copyToClipboard() {
110            PUIClipboard.puiCopy(nodeView.getText(cursor.focus, false));
111        }
112    
113      public static void main(String[] args) throws RDFException, IOException,      public static void main(String[] args) throws RDFException, IOException,
114                                                    org.xml.sax.SAXException {                                                    org.xml.sax.SAXException {
115          String file = null;          String file = null;
# Line 150  public class Loom { Line 157  public class Loom {
157    
158          final GraphicsAPI api = GraphicsAPI.getInstance();          final GraphicsAPI api = GraphicsAPI.getInstance();
159    
160          view = new ViewSettings(new DefaultNodeView(this));          nodeView = new DefaultNodeView(this);
161            view = new ViewSettings(nodeView);
162          final Shower s = new Shower() {          final Shower s = new Shower() {
163                  Screen screen;                  Screen screen;
164                  public void setScreen(Screen s) {                  public void setScreen(Screen s) {

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26