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.*; |
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 |
|
|
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; |
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) { |