Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
240 | swalkenh | 1 | PK |
327 | swalkenh | 2 | |
3 | |||
240 | swalkenh | 4 | Comment: you can set named regions on pictures |
5 | Transform-To-File: src/plugins/regionEditorPlugin/RegionEditorPluginTr |
||
6 | ansform.xsl |
||
7 | Created-By: 1.4.0 (Sun Microsystems Inc.) |
||
8 | Description: ...(todo) |
||
9 | XMLEditor-Plugin-Name: RegionEditor |
||
10 | Class-Path: ImagePlugin.jar |
||
11 | Transform-Fro-File: src/plugins/regionEditorPlugin/RegionEditorPluginT |
||
260 | swalkenh | 12 | ransformBack.xsl |
240 | swalkenh | 13 | Main-Class: src.plugins.regionEditorPlugin.RegionEditorPlugin |
14 | |||
15 | Name: src/plugins/regionEditorPlugin |
||
16 | Specification-Version: 0.4 (05/07/03) |
||
17 | Specification-Title: plugin for XMLEditor |
||
18 | Implementation-Version: 0.1 (05/07/03) |
||
19 | Implementation-Title: src.plugins.regionEditorPlugin |
||
20 | Implementation-Vendor: group5, software practice SS_2003, University B |
||
21 | ielefeld, Germany |
||
22 | Specification-Vendor: group5, software practice SS_2003, University Bi |
||
23 | elefeld, Germany |
||
24 | |||
25 | PK |
||
327 | swalkenh | 26 | |
27 | |||
28 | |||
29 | |||
30 | |||
31 | |||
32 | |||
33 | setVisible (Z)V * + |
||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | SourceFile RegionEditorPlugin.java ! |
||
44 | |||
45 | |||
46 | |||
47 | |||
48 | |||
49 | |||
50 | |||
51 | |||
260 | swalkenh | 52 | |
53 | package src.plugins.regionEditorPlugin; |
||
54 | |||
55 | import java.awt.*; |
||
56 | import javax.swing.*; |
||
57 | |||
58 | import org.w3c.dom.Document; |
||
59 | |||
327 | swalkenh | 60 | |
61 | import src.gui.*; |
||
260 | swalkenh | 62 | |
327 | swalkenh | 63 | |
64 | /** |
||
65 | |||
66 | */ |
||
67 | |||
68 | |||
260 | swalkenh | 69 | |
70 | private GuiInterface gui; |
||
71 | private JLabel label = new JLabel("dummy RegionEditorPlugin"); |
||
327 | swalkenh | 72 | |
73 | |||
260 | swalkenh | 74 | |
327 | swalkenh | 75 | setLayout(new BorderLayout()); |
76 | add(label, BorderLayout.CENTER); |
||
77 | |||
78 | |||
79 | System.out.println("I'm a new instance of the dummy RegionEditorPlugin!"); |
||
80 | } |
||
81 | |||
82 | |||
83 | |||
84 | * @see src.gui.PluginInterface#init(src.gui.GuiInterface) |
||
260 | swalkenh | 85 | */ |
327 | swalkenh | 86 | |
260 | swalkenh | 87 | |
327 | swalkenh | 88 | gui.setPluginPanel(this); |
89 | |||
90 | System.out.println("dummy RegionEditorPlugin initialized"); |
||
91 | } |
||
92 | |||
93 | |||
94 | |||
95 | * @see src.gui.PluginInterface#start(org.w3c.dom.Element, org.w3c.dom.Document) |
||
96 | */ |
||
97 | |||
98 | |||
99 | setVisible(true); |
||
100 | } |
||
101 | |||
102 | |||
103 | /* (non-Javadoc) |
||
104 | * @see src.gui.PluginInterface#stop() |
||
105 | */ |
||
106 | |||
107 | |||
108 | } |
||
109 | |||
110 | |||
111 | /* (non-Javadoc) |
||
112 | * @see src.gui.PluginInterface#forceStatusReport() |
||
113 | */ |
||
114 | |||
115 | |||
116 | } |
||
117 | |||
118 | }PK |
||
119 |