Revision 45707
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/extension/dispose/DisposablesDoListLayout.java | ||
---|---|---|
1 | 1 |
package org.gvsig.app.extension.dispose; |
2 | 2 |
|
3 |
import com.jeta.open.i18n.I18NUtils; |
|
4 |
import com.jgoodies.forms.layout.CellConstraints; |
|
5 |
import com.jgoodies.forms.layout.FormLayout; |
|
3 | 6 |
import java.awt.BorderLayout; |
4 | 7 |
import java.awt.ComponentOrientation; |
5 | 8 |
import java.awt.Container; |
6 | 9 |
import java.awt.Dimension; |
7 |
|
|
8 | 10 |
import javax.swing.Box; |
9 | 11 |
import javax.swing.ImageIcon; |
10 | 12 |
import javax.swing.JButton; |
13 |
import javax.swing.JFrame; |
|
11 | 14 |
import javax.swing.JLabel; |
12 | 15 |
import javax.swing.JPanel; |
13 | 16 |
import javax.swing.JSplitPane; |
14 | 17 |
|
15 |
import com.jgoodies.forms.layout.CellConstraints; |
|
16 |
import com.jgoodies.forms.layout.FormLayout; |
|
17 | 18 |
|
18 |
|
|
19 | 19 |
public class DisposablesDoListLayout extends JPanel |
20 | 20 |
{ |
21 | 21 |
JButton disposeButton = new JButton(); |
... | ... | |
24 | 24 |
JLabel messageLabel = new JLabel(); |
25 | 25 |
JButton refreshButton = new JButton(); |
26 | 26 |
JSplitPane splitPanel = new JSplitPane(); |
27 |
JLabel lblTotalMemory = new JLabel(); |
|
28 |
JLabel lblFreeMemory = new JLabel(); |
|
29 |
JLabel lblMaxMemory = new JLabel(); |
|
30 |
JLabel lblActiveThreads = new JLabel(); |
|
31 |
JLabel lblObjectPendingFinalization = new JLabel(); |
|
27 | 32 |
|
28 | 33 |
/** |
29 | 34 |
* Default constructor |
... | ... | |
115 | 120 |
public JPanel createPanel() |
116 | 121 |
{ |
117 | 122 |
JPanel jpanel1 = new JPanel(); |
118 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE");
|
|
123 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,CENTER:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE");
|
|
119 | 124 |
CellConstraints cc = new CellConstraints(); |
120 | 125 |
jpanel1.setLayout(formlayout1); |
121 | 126 |
|
... | ... | |
140 | 145 |
jpanel1.add(disposeAllButton,cc.xy(5,6)); |
141 | 146 |
|
142 | 147 |
messageLabel.setName("messageLabel"); |
143 |
jpanel1.add(messageLabel,cc.xy(2,6)); |
|
148 |
messageLabel.setText("Pending ?"); |
|
149 |
messageLabel.setHorizontalAlignment(JLabel.TRAILING); |
|
150 |
jpanel1.add(messageLabel,new CellConstraints(2,6,1,1,CellConstraints.LEFT,CellConstraints.DEFAULT)); |
|
144 | 151 |
|
145 | 152 |
refreshButton.setActionCommand("Refresh"); |
146 | 153 |
refreshButton.setName("refreshButton"); |
147 | 154 |
refreshButton.setText("Refresh"); |
148 | 155 |
jpanel1.add(refreshButton,cc.xy(3,6)); |
149 | 156 |
|
150 |
splitPanel.setDividerLocation(120);
|
|
157 |
splitPanel.setDividerLocation(40);
|
|
151 | 158 |
splitPanel.setLastDividerLocation(-1); |
152 | 159 |
splitPanel.setName("splitPanel"); |
153 | 160 |
splitPanel.setOneTouchExpandable(true); |
154 | 161 |
splitPanel.setOrientation(0); |
155 | 162 |
jpanel1.add(splitPanel,cc.xywh(2,4,8,1)); |
156 | 163 |
|
157 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7,8,9,10 },new int[]{ 1,2,3,4,5,6,7 }); |
|
164 |
jpanel1.add(createPanel1(),cc.xywh(2,8,8,1)); |
|
165 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7,8,9,10 },new int[]{ 1,2,3,4,5,6,7,8,9 }); |
|
158 | 166 |
return jpanel1; |
159 | 167 |
} |
160 | 168 |
|
169 |
public JPanel createPanel1() |
|
170 |
{ |
|
171 |
JPanel jpanel1 = new JPanel(); |
|
172 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE"); |
|
173 |
CellConstraints cc = new CellConstraints(); |
|
174 |
jpanel1.setLayout(formlayout1); |
|
175 |
|
|
176 |
JLabel jlabel1 = new JLabel(); |
|
177 |
jlabel1.setText("Total mem."); |
|
178 |
jlabel1.setToolTipText("Total memory in Kb"); |
|
179 |
jpanel1.add(jlabel1,cc.xy(1,1)); |
|
180 |
|
|
181 |
JLabel jlabel2 = new JLabel(); |
|
182 |
jlabel2.setText("Free mem."); |
|
183 |
jpanel1.add(jlabel2,cc.xy(5,1)); |
|
184 |
|
|
185 |
JLabel jlabel3 = new JLabel(); |
|
186 |
jlabel3.setText("Max mem."); |
|
187 |
jpanel1.add(jlabel3,cc.xy(9,1)); |
|
188 |
|
|
189 |
lblTotalMemory.setName("lblTotalMemory"); |
|
190 |
lblTotalMemory.setText("0"); |
|
191 |
lblTotalMemory.setToolTipText("Total memory in Kb"); |
|
192 |
jpanel1.add(lblTotalMemory,cc.xy(3,1)); |
|
193 |
|
|
194 |
lblFreeMemory.setName("lblFreeMemory"); |
|
195 |
lblFreeMemory.setText("0"); |
|
196 |
lblFreeMemory.setToolTipText("Free memory in Kb"); |
|
197 |
jpanel1.add(lblFreeMemory,cc.xy(7,1)); |
|
198 |
|
|
199 |
lblMaxMemory.setName("lblMaxMemory"); |
|
200 |
lblMaxMemory.setText("0"); |
|
201 |
lblMaxMemory.setToolTipText("Max memory in kb"); |
|
202 |
jpanel1.add(lblMaxMemory,cc.xy(11,1)); |
|
203 |
|
|
204 |
JLabel jlabel4 = new JLabel(); |
|
205 |
jlabel4.setText("Threads"); |
|
206 |
jlabel4.setToolTipText("Active threads"); |
|
207 |
jpanel1.add(jlabel4,cc.xy(13,1)); |
|
208 |
|
|
209 |
lblActiveThreads.setName("lblActiveThreads"); |
|
210 |
lblActiveThreads.setText("0"); |
|
211 |
lblActiveThreads.setToolTipText("Active threads"); |
|
212 |
jpanel1.add(lblActiveThreads,cc.xy(15,1)); |
|
213 |
|
|
214 |
JLabel jlabel5 = new JLabel(); |
|
215 |
jlabel5.setText("O.P.F"); |
|
216 |
jlabel5.setToolTipText("Objects pending finalization count."); |
|
217 |
jpanel1.add(jlabel5,cc.xy(17,1)); |
|
218 |
|
|
219 |
lblObjectPendingFinalization.setName("lblObjectPendingFinalization"); |
|
220 |
lblObjectPendingFinalization.setText("0"); |
|
221 |
lblObjectPendingFinalization.setToolTipText("Objects pending finalization count."); |
|
222 |
jpanel1.add(lblObjectPendingFinalization,cc.xy(19,1)); |
|
223 |
|
|
224 |
addFillComponents(jpanel1,new int[]{ 2,4,6,8,10,12,14,16,18 },new int[0]); |
|
225 |
return jpanel1; |
|
226 |
} |
|
227 |
|
|
161 | 228 |
/** |
162 | 229 |
* Initializer |
163 | 230 |
*/ |
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/extension/dispose/DisposableManagementExtension.java | ||
---|---|---|
28 | 28 |
|
29 | 29 |
import java.awt.Dimension; |
30 | 30 |
import java.awt.event.ActionEvent; |
31 |
import java.awt.event.ActionListener; |
|
32 |
import java.util.Iterator; |
|
31 |
import java.lang.management.ManagementFactory; |
|
32 |
import java.lang.management.MemoryMXBean; |
|
33 |
import java.util.ArrayList; |
|
34 |
import java.util.Collections; |
|
35 |
import java.util.List; |
|
33 | 36 |
import java.util.Set; |
34 | 37 |
|
35 |
import javax.swing.DefaultListModel; |
|
36 |
import javax.swing.JList; |
|
37 | 38 |
import javax.swing.JScrollPane; |
39 |
import javax.swing.JTable; |
|
38 | 40 |
import javax.swing.JTextPane; |
41 |
import javax.swing.ListSelectionModel; |
|
39 | 42 |
import javax.swing.SwingUtilities; |
40 | 43 |
import javax.swing.event.ListSelectionEvent; |
41 |
import javax.swing.event.ListSelectionListener; |
|
44 |
import javax.swing.table.AbstractTableModel; |
|
45 |
import javax.swing.table.DefaultTableColumnModel; |
|
46 |
import javax.swing.table.TableColumn; |
|
47 |
import javax.swing.table.TableColumnModel; |
|
42 | 48 |
|
43 | 49 |
import org.gvsig.andami.plugins.Extension; |
44 | 50 |
import org.gvsig.tools.ToolsLocator; |
... | ... | |
47 | 53 |
import org.gvsig.tools.dispose.DisposableManager; |
48 | 54 |
import org.gvsig.tools.exception.BaseException; |
49 | 55 |
import org.gvsig.tools.swing.api.ToolsSwingLocator; |
56 |
import org.gvsig.tools.swing.api.ToolsSwingUtils; |
|
50 | 57 |
import org.gvsig.tools.swing.api.windowmanager.WindowManager; |
51 | 58 |
import org.slf4j.Logger; |
52 | 59 |
import org.slf4j.LoggerFactory; |
... | ... | |
68 | 75 |
private static final Logger LOG |
69 | 76 |
= LoggerFactory.getLogger(DisposableManagementExtension.class); |
70 | 77 |
|
78 |
@Override |
|
71 | 79 |
public void initialize() { |
72 | 80 |
// Nothing to do |
73 | 81 |
} |
... | ... | |
77 | 85 |
super.postInitialize(); |
78 | 86 |
} |
79 | 87 |
|
88 |
@Override |
|
80 | 89 |
public void execute(String actionCommand) { |
81 | 90 |
|
82 | 91 |
if (DISPOSE_ALL_COMMAND.equals(actionCommand)) { |
... | ... | |
99 | 108 |
} |
100 | 109 |
} |
101 | 110 |
|
111 |
@Override |
|
102 | 112 |
public boolean isEnabled() { |
103 | 113 |
return true; |
104 | 114 |
} |
105 | 115 |
|
116 |
@Override |
|
106 | 117 |
public boolean isVisible() { |
107 | 118 |
return true; |
108 | 119 |
} |
... | ... | |
110 | 121 |
class DisposablesDoList extends DisposablesDoListLayout { |
111 | 122 |
|
112 | 123 |
private DisposableManager manager; |
113 |
private JList disposablesList = null;
|
|
124 |
private JTable disposablesTable = null;
|
|
114 | 125 |
private JTextPane infoTextArea = null; |
115 | 126 |
|
116 | 127 |
public DisposablesDoList() { |
117 | 128 |
manager = ToolsLocator.getDisposableManager(); |
118 | 129 |
initComponents(); |
119 |
SwingUtilities.invokeLater(new Runnable() { |
|
120 |
public void run() { |
|
121 |
fillList(); |
|
122 |
} |
|
130 |
SwingUtilities.invokeLater(() -> { |
|
131 |
refreshList(); |
|
132 |
updateMemoryUsage(); |
|
123 | 133 |
}); |
124 | 134 |
} |
125 | 135 |
|
126 | 136 |
private void initComponents() { |
127 | 137 |
this.setPreferredSize(new Dimension(600, 550)); |
128 |
this.disposablesList = new JList(); |
|
138 |
|
|
139 |
this.disposablesTable = new JTable(new DisposablesTableModel()); |
|
140 |
this.disposablesTable.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); |
|
141 |
|
|
142 |
// DefaultTableColumnModel columnModel = new DefaultTableColumnModel(); |
|
143 |
// columnModel.addColumn(new TableColumn(0, ToolsSwingUtils.cols2px(5))); |
|
144 |
// columnModel.addColumn(new TableColumn(1, ToolsSwingUtils.cols2px(12))); |
|
145 |
// columnModel.addColumn(new TableColumn(2, ToolsSwingUtils.cols2px(12))); |
|
146 |
// columnModel.addColumn(new TableColumn(3, ToolsSwingUtils.cols2px(25))); |
|
147 |
// this.disposablesTable.setColumnModel(columnModel); |
|
148 |
|
|
129 | 149 |
this.infoTextArea = new JTextPane(); |
130 | 150 |
this.infoTextArea.setContentType("text/html"); |
131 |
JScrollPane listScroller = new JScrollPane(this.disposablesList); |
|
151 |
|
|
152 |
JScrollPane listScroller = new JScrollPane(this.disposablesTable); |
|
132 | 153 |
JScrollPane infoScroller = new JScrollPane(this.infoTextArea); |
133 | 154 |
this.splitPanel.setLeftComponent(listScroller); |
134 | 155 |
this.splitPanel.setRightComponent(infoScroller); |
135 | 156 |
|
136 |
this.closeButton.addActionListener(new ActionListener() { |
|
137 |
public void actionPerformed(ActionEvent arg0) { |
|
138 |
closeWindow(); |
|
139 |
} |
|
157 |
// Dimension dim = this.splitPanel.getPreferredSize(); |
|
158 |
// dim.height = dim.height / 2; |
|
159 |
// this.disposablesTable.setPreferredSize(dim); |
|
160 |
// this.splitPanel.invalidate(); |
|
161 |
|
|
162 |
this.closeButton.addActionListener((ActionEvent arg0) -> { |
|
163 |
closeWindow(); |
|
140 | 164 |
}); |
141 | 165 |
this.closeButton.setEnabled(true); |
142 |
this.disposeAllButton.addActionListener(new ActionListener() { |
|
143 |
public void actionPerformed(ActionEvent e) { |
|
144 |
disposeAll(); |
|
145 |
refreshList(); |
|
146 |
} |
|
166 |
this.disposeAllButton.addActionListener((ActionEvent e) -> { |
|
167 |
disposeAll(); |
|
168 |
refreshList(); |
|
169 |
updateMemoryUsage(); |
|
147 | 170 |
}); |
148 | 171 |
this.disposeAllButton.setEnabled(true); |
149 |
this.disposeButton.addActionListener(new ActionListener() { |
|
150 |
public void actionPerformed(ActionEvent e) { |
|
151 |
disposeSelecteds(); |
|
152 |
refreshList(); |
|
153 |
} |
|
172 |
this.disposeButton.addActionListener((ActionEvent e) -> { |
|
173 |
disposeSelecteds(); |
|
174 |
refreshList(); |
|
175 |
updateMemoryUsage(); |
|
154 | 176 |
}); |
155 | 177 |
this.disposeButton.setEnabled(true); |
156 |
this.disposablesList.addListSelectionListener(new ListSelectionListener() { |
|
157 |
public void valueChanged(ListSelectionEvent arg0) { |
|
158 |
ListItemSelected(); |
|
159 |
} |
|
178 |
this.disposablesTable.getSelectionModel().addListSelectionListener((ListSelectionEvent arg0) -> { |
|
179 |
ListItemSelected(); |
|
180 |
updateMemoryUsage(); |
|
160 | 181 |
}); |
161 |
this.disposablesList.setEnabled(true); |
|
162 |
this.refreshButton.addActionListener(new ActionListener() { |
|
163 |
public void actionPerformed(ActionEvent arg0) { |
|
164 |
refreshList(); |
|
165 |
} |
|
182 |
this.disposablesTable.setEnabled(true); |
|
183 |
this.refreshButton.addActionListener((ActionEvent arg0) -> { |
|
184 |
refreshList(); |
|
185 |
updateMemoryUsage(); |
|
166 | 186 |
}); |
167 | 187 |
this.refreshButton.setEnabled(true); |
168 | 188 |
} |
169 | 189 |
|
170 | 190 |
private void refreshList() { |
171 |
fillList();
|
|
191 |
fillTable();
|
|
172 | 192 |
} |
173 | 193 |
|
174 | 194 |
private void ListItemSelected() { |
175 |
DisposableInfoItem item = (DisposableInfoItem) disposablesList.getSelectedValue(); |
|
176 |
if (item == null) { |
|
195 |
DisposablesTableModel model = (DisposablesTableModel) this.disposablesTable.getModel(); |
|
196 |
DisposableInfo info = model.get(this.disposablesTable.getSelectedRow()); |
|
197 |
if( info==null ) { |
|
177 | 198 |
this.infoTextArea.setText(""); |
178 | 199 |
} else { |
179 |
this.infoTextArea.setText(item.getAllInformation());
|
|
200 |
this.infoTextArea.setText(toHTML(info));
|
|
180 | 201 |
this.infoTextArea.setCaretPosition(0); |
181 | 202 |
} |
182 | 203 |
} |
183 | 204 |
|
184 |
private void fillList() {
|
|
185 |
Set<DisposableInfo> disposables |
|
186 |
= (Set<DisposableInfo>) manager.getBoundDisposables();
|
|
205 |
private void fillTable() {
|
|
206 |
Set<DisposableInfo> disposables = (Set<DisposableInfo>) manager.getBoundDisposables();
|
|
207 |
this.messageLabel.setText("Disposables " + disposables.size());
|
|
187 | 208 |
|
188 |
this.messageLabel.setText("Pending " + disposables.size()); |
|
189 |
DefaultListModel listmodel = new DefaultListModel(); |
|
190 |
for (Iterator<DisposableInfo> iterator = disposables.iterator(); iterator.hasNext();) { |
|
191 |
DisposableInfo disposableInfo = iterator.next(); |
|
192 |
listmodel.addElement(new DisposableInfoItem(disposableInfo)); |
|
193 |
} |
|
194 |
this.disposablesList.setModel(listmodel); |
|
209 |
this.disposablesTable.setModel(new DisposablesTableModel(new ArrayList<>(disposables))); this.messageLabel.setText("Pending " + disposables.size()); |
|
195 | 210 |
this.infoTextArea.setText(""); |
196 | 211 |
} |
212 |
|
|
213 |
private void updateMemoryUsage() { |
|
214 |
Runtime rt = Runtime.getRuntime(); |
|
215 |
this.lblTotalMemory.setText(String.valueOf(rt.totalMemory()/1024)); |
|
216 |
this.lblMaxMemory.setText(String.valueOf(rt.maxMemory()/1024)); |
|
217 |
this.lblFreeMemory.setText(String.valueOf(rt.freeMemory()/1024)); |
|
218 |
this.lblActiveThreads.setText(String.valueOf(Thread.activeCount())); |
|
219 |
|
|
220 |
int objectPendingFinalizationCount = -1; |
|
221 |
try { |
|
222 |
MemoryMXBean memBean = ManagementFactory.getMemoryMXBean() ; |
|
223 |
objectPendingFinalizationCount = memBean.getObjectPendingFinalizationCount(); |
|
224 |
} catch(ThreadDeath th) { |
|
225 |
|
|
226 |
} |
|
227 |
this.lblObjectPendingFinalization.setText(String.valueOf(objectPendingFinalizationCount)); |
|
228 |
} |
|
197 | 229 |
|
198 |
class DisposableInfoItem {
|
|
230 |
private class DisposablesTableModel extends AbstractTableModel {
|
|
199 | 231 |
|
200 |
DisposableInfo disposableInfo = null; |
|
232 |
private List<DisposableInfo> disposables; |
|
233 |
private final String[] columnNames; |
|
234 |
private final Class[] columnClass; |
|
235 |
|
|
236 |
public DisposablesTableModel() { |
|
237 |
this(Collections.EMPTY_LIST); |
|
238 |
} |
|
239 |
|
|
240 |
public DisposablesTableModel(List<DisposableInfo> disposables) { |
|
241 |
this.disposables = disposables; |
|
242 |
this.columnNames = new String[] {"Refs.", "Class", "Full class", "To str."}; |
|
243 |
this.columnClass = new Class[] {Integer.class, String.class, String.class, String.class}; |
|
244 |
} |
|
245 |
|
|
246 |
public DisposableInfo get(int rowIndex) { |
|
247 |
try { |
|
248 |
return this.disposables.get(rowIndex); |
|
249 |
} catch(Throwable th) { |
|
250 |
return null; |
|
251 |
} |
|
252 |
} |
|
253 |
|
|
254 |
@Override |
|
255 |
public int getRowCount() { |
|
256 |
return this.disposables.size(); |
|
257 |
} |
|
201 | 258 |
|
202 |
DisposableInfoItem(DisposableInfo disposableInfo) { |
|
203 |
this.disposableInfo = disposableInfo; |
|
259 |
@Override |
|
260 |
public int getColumnCount() { |
|
261 |
return this.columnNames.length; |
|
204 | 262 |
} |
205 | 263 |
|
206 |
public Disposable getDisposable() { |
|
207 |
return this.disposableInfo.getDisposable(); |
|
264 |
@Override |
|
265 |
public String getColumnName(int columnIndex) { |
|
266 |
return this.columnNames[columnIndex]; |
|
208 | 267 |
} |
209 | 268 |
|
210 |
public DisposableInfo getDisposableInfo() { |
|
211 |
return this.disposableInfo; |
|
269 |
@Override |
|
270 |
public Class<?> getColumnClass(int columnIndex) { |
|
271 |
return this.columnClass[columnIndex]; |
|
212 | 272 |
} |
213 | 273 |
|
214 |
public String toString() { |
|
215 |
if (this.disposableInfo == null) { |
|
216 |
return "(null)"; |
|
274 |
@Override |
|
275 |
public Object getValueAt(int rowIndex, int columnIndex) { |
|
276 |
DisposableInfo info = this.disposables.get(rowIndex); |
|
277 |
switch(columnIndex) { |
|
278 |
case 0: |
|
279 |
return info.getReferencesCount(); |
|
280 |
case 1: |
|
281 |
try { |
|
282 |
return info.getDisposable().getClass().getSimpleName(); |
|
283 |
} catch(Throwable th) { |
|
284 |
return "(unknown)"; |
|
285 |
} |
|
286 |
case 2: |
|
287 |
try { |
|
288 |
return info.getDisposable().getClass().getName(); |
|
289 |
} catch(Throwable th) { |
|
290 |
return "(unknown)"; |
|
291 |
} |
|
292 |
case 3: |
|
293 |
try { |
|
294 |
return info.getDisposable().toString(); |
|
295 |
} catch(Throwable th) { |
|
296 |
return "(unknown)"; |
|
297 |
} |
|
217 | 298 |
} |
218 |
Disposable d = this.disposableInfo.getDisposable(); |
|
219 |
if (d == null) { |
|
220 |
return "(null - disposable)"; |
|
221 |
} |
|
222 |
String msg = d.getClass().getName() + " - " + d.toString(); |
|
223 |
return msg; |
|
299 |
return null; |
|
224 | 300 |
} |
301 |
} |
|
225 | 302 |
|
226 |
public String getAllInformation() {
|
|
227 |
StringBuffer buffer = new StringBuffer();
|
|
228 |
Disposable disposable = this.disposableInfo.getDisposable();
|
|
303 |
public String toHTML(DisposableInfo disposableInfo) {
|
|
304 |
StringBuilder buffer = new StringBuilder();
|
|
305 |
Disposable disposable = disposableInfo.getDisposable();
|
|
229 | 306 |
|
230 |
buffer.append("<b>Class</b>: ").append(disposable.getClass().getName()).append("<br>\n"); |
|
231 |
buffer.append("<b>References</b>: ").append(this.disposableInfo.getReferencesCount()).append("<br>\n"); |
|
232 |
buffer.append("<b>toString</b>: ").append(disposable.toString()).append("<br>\n"); |
|
307 |
buffer.append("<b>Class</b>: ").append(disposable.getClass().getSimpleName()).append("<br>\n"); |
|
308 |
buffer.append("<b>Full class</b>: ").append(disposable.getClass().getName()).append("<br>\n"); |
|
309 |
buffer.append("<b>References</b>: ").append(disposableInfo.getReferencesCount()).append("<br>\n"); |
|
310 |
buffer.append("<b>toString</b>: ").append(disposable.toString()).append("<br>\n"); |
|
233 | 311 |
|
234 |
buffer.append("<b>Binded from (stack)</b>:<br>\n"); |
|
235 |
try { |
|
236 |
StackTraceElement[] stackTrace = disposableInfo |
|
237 |
.getBindDisposableStackTrace(); |
|
238 |
for (int i = 0; i < stackTrace.length; i++) { |
|
239 |
buffer.append(" ").append(stackTrace[i].toString().replaceAll("[<]", "<").replace("[>]", ">")).append("<br>\n"); |
|
240 |
} |
|
241 |
} catch (Exception ex) { |
|
242 |
buffer.append("<br>\n<br>\nError showing stack.<br>\n").append(ex.getMessage()); |
|
312 |
buffer.append("<b>Binded from (stack)</b>:<br>\n"); |
|
313 |
try { |
|
314 |
StackTraceElement[] stackTrace = disposableInfo |
|
315 |
.getBindDisposableStackTrace(); |
|
316 |
for (StackTraceElement stackTrace1 : stackTrace) { |
|
317 |
buffer.append(" ").append(stackTrace1.toString().replaceAll("[<]", "<").replace("[>]", ">")).append("<br>\n"); |
|
243 | 318 |
} |
244 |
return buffer.toString(); |
|
319 |
} catch (Exception ex) { |
|
320 |
buffer.append("<br>\n<br>\nError showing stack.<br>\n").append(ex.getMessage()); |
|
245 | 321 |
} |
322 |
return buffer.toString(); |
|
246 | 323 |
} |
247 | 324 |
|
248 | 325 |
public void closeWindow() { |
... | ... | |
258 | 335 |
} |
259 | 336 |
|
260 | 337 |
public void disposeSelecteds() { |
261 |
Object[] selection = this.disposablesList.getSelectedValues();
|
|
262 |
for (int i = 0; i < selection.length; i++) {
|
|
263 |
DisposableInfoItem item = (DisposableInfoItem) selection[i];
|
|
264 |
this.manager.release(item.getDisposable());
|
|
338 |
DisposablesTableModel model = (DisposablesTableModel) this.disposablesTable.getModel();
|
|
339 |
for (int row : this.disposablesTable.getSelectedRows()) {
|
|
340 |
DisposableInfo info = model.get(row);
|
|
341 |
this.manager.release(info.getDisposable());
|
|
265 | 342 |
} |
266 | 343 |
refreshList(); |
267 | 344 |
} |
... | ... | |
270 | 347 |
WindowManager wm = ToolsSwingLocator.getWindowManager(); |
271 | 348 |
wm.showWindow(this, "Disposable do list", WindowManager.MODE.WINDOW); |
272 | 349 |
} |
350 |
|
|
351 |
// private class ActionListenerImpl implements ActionListener { |
|
352 |
// |
|
353 |
// public ActionListenerImpl() { |
|
354 |
// } |
|
355 |
// |
|
356 |
// @Override |
|
357 |
// public void actionPerformed(ActionEvent e) { |
|
358 |
// disposeSelecteds(); |
|
359 |
// refreshList(); |
|
360 |
// updateMemoryUsage(); |
|
361 |
// } |
|
362 |
// } |
|
273 | 363 |
} |
274 | 364 |
|
275 | 365 |
} |
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/extension/dispose/DisposablesDoListLayout.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
|
|
3 |
<object classname="com.jeta.forms.store.memento.FormPackage"> |
|
4 |
<at name="fileversion"> |
|
5 |
<object classname="com.jeta.forms.store.memento.FormsVersion2"> |
|
6 |
<at name="major">2</at> |
|
7 |
<at name="minor">0</at> |
|
8 |
<at name="sub">0</at> |
|
9 |
</object> |
|
10 |
</at> |
|
11 |
<at name="form"> |
|
12 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
13 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
14 |
<at name="cellconstraints"> |
|
15 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
16 |
<at name="column">1</at> |
|
17 |
<at name="row">1</at> |
|
18 |
<at name="colspan">1</at> |
|
19 |
<at name="rowspan">1</at> |
|
20 |
<at name="halign">default</at> |
|
21 |
<at name="valign">default</at> |
|
22 |
<at name="insets" object="insets">0,0,0,0</at> |
|
23 |
</object> |
|
24 |
</at> |
|
25 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
26 |
</super> |
|
27 |
<at name="id">/home/jjdelcerro/datos/devel/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/extension/dispose/DisposablesDoListLayout.xml</at> |
|
28 |
<at name="path">datos/devel/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/extension/dispose/DisposablesDoListLayout.xml</at> |
|
29 |
<at name="rowspecs">CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE</at> |
|
30 |
<at name="colspecs">FILL:DEFAULT:NONE,CENTER:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE</at> |
|
31 |
<at name="components"> |
|
32 |
<object classname="java.util.LinkedList"> |
|
33 |
<item > |
|
34 |
<at name="value"> |
|
35 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
36 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
37 |
<at name="cellconstraints"> |
|
38 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
39 |
<at name="column">2</at> |
|
40 |
<at name="row">2</at> |
|
41 |
<at name="colspan">8</at> |
|
42 |
<at name="rowspan">1</at> |
|
43 |
<at name="halign">default</at> |
|
44 |
<at name="valign">default</at> |
|
45 |
<at name="insets" object="insets">0,0,0,0</at> |
|
46 |
</object> |
|
47 |
</at> |
|
48 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
49 |
</super> |
|
50 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
51 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
52 |
<at name="beanproperties"> |
|
53 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
54 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
55 |
<at name="properties"> |
|
56 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
57 |
<at name="border"> |
|
58 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
59 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
60 |
<at name="name">border</at> |
|
61 |
</super> |
|
62 |
<at name="borders"> |
|
63 |
<object classname="java.util.LinkedList"> |
|
64 |
<item > |
|
65 |
<at name="value"> |
|
66 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
67 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
68 |
<at name="name">border</at> |
|
69 |
</super> |
|
70 |
</object> |
|
71 |
</at> |
|
72 |
</item> |
|
73 |
</object> |
|
74 |
</at> |
|
75 |
</object> |
|
76 |
</at> |
|
77 |
<at name="name"></at> |
|
78 |
<at name="width">1370</at> |
|
79 |
<at name="text">Disposables do list</at> |
|
80 |
<at name="fill"> |
|
81 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
82 |
<at name="name">fill</at> |
|
83 |
</object> |
|
84 |
</at> |
|
85 |
<at name="height">26</at> |
|
86 |
</object> |
|
87 |
</at> |
|
88 |
</object> |
|
89 |
</at> |
|
90 |
</object> |
|
91 |
</at> |
|
92 |
</item> |
|
93 |
<item > |
|
94 |
<at name="value"> |
|
95 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
96 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
97 |
<at name="cellconstraints"> |
|
98 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
99 |
<at name="column">7</at> |
|
100 |
<at name="row">6</at> |
|
101 |
<at name="colspan">1</at> |
|
102 |
<at name="rowspan">1</at> |
|
103 |
<at name="halign">default</at> |
|
104 |
<at name="valign">default</at> |
|
105 |
<at name="insets" object="insets">0,0,0,0</at> |
|
106 |
</object> |
|
107 |
</at> |
|
108 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
109 |
</super> |
|
110 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
111 |
<at name="beanclass">javax.swing.JButton</at> |
|
112 |
<at name="beanproperties"> |
|
113 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
114 |
<at name="classname">javax.swing.JButton</at> |
|
115 |
<at name="properties"> |
|
116 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
117 |
<at name="border"> |
|
118 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
119 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
120 |
<at name="name">border</at> |
|
121 |
</super> |
|
122 |
<at name="borders"> |
|
123 |
<object classname="java.util.LinkedList"> |
|
124 |
<item > |
|
125 |
<at name="value"> |
|
126 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
127 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
128 |
<at name="name">border</at> |
|
129 |
</super> |
|
130 |
</object> |
|
131 |
</at> |
|
132 |
</item> |
|
133 |
</object> |
|
134 |
</at> |
|
135 |
</object> |
|
136 |
</at> |
|
137 |
<at name="actionCommand">Dispose</at> |
|
138 |
<at name="name">disposeButton</at> |
|
139 |
<at name="width">83</at> |
|
140 |
<at name="text">Dispose</at> |
|
141 |
<at name="enabled">false</at> |
|
142 |
<at name="height">40</at> |
|
143 |
</object> |
|
144 |
</at> |
|
145 |
</object> |
|
146 |
</at> |
|
147 |
</object> |
|
148 |
</at> |
|
149 |
</item> |
|
150 |
<item > |
|
151 |
<at name="value"> |
|
152 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
153 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
154 |
<at name="cellconstraints"> |
|
155 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
156 |
<at name="column">9</at> |
|
157 |
<at name="row">6</at> |
|
158 |
<at name="colspan">1</at> |
|
159 |
<at name="rowspan">1</at> |
|
160 |
<at name="halign">default</at> |
|
161 |
<at name="valign">default</at> |
|
162 |
<at name="insets" object="insets">0,0,0,0</at> |
|
163 |
</object> |
|
164 |
</at> |
|
165 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
166 |
</super> |
|
167 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
168 |
<at name="beanclass">javax.swing.JButton</at> |
|
169 |
<at name="beanproperties"> |
|
170 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
171 |
<at name="classname">javax.swing.JButton</at> |
|
172 |
<at name="properties"> |
|
173 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
174 |
<at name="border"> |
|
175 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
176 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
177 |
<at name="name">border</at> |
|
178 |
</super> |
|
179 |
<at name="borders"> |
|
180 |
<object classname="java.util.LinkedList"> |
|
181 |
<item > |
|
182 |
<at name="value"> |
|
183 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
184 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
185 |
<at name="name">border</at> |
|
186 |
</super> |
|
187 |
</object> |
|
188 |
</at> |
|
189 |
</item> |
|
190 |
</object> |
|
191 |
</at> |
|
192 |
</object> |
|
193 |
</at> |
|
194 |
<at name="actionCommand">Close</at> |
|
195 |
<at name="name">closeButton</at> |
|
196 |
<at name="width">60</at> |
|
197 |
<at name="text">Close</at> |
|
198 |
<at name="height">40</at> |
|
199 |
</object> |
|
200 |
</at> |
|
201 |
</object> |
|
202 |
</at> |
|
203 |
</object> |
|
204 |
</at> |
|
205 |
</item> |
|
206 |
<item > |
|
207 |
<at name="value"> |
|
208 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
209 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
210 |
<at name="cellconstraints"> |
|
211 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
212 |
<at name="column">5</at> |
|
213 |
<at name="row">6</at> |
|
214 |
<at name="colspan">1</at> |
|
215 |
<at name="rowspan">1</at> |
|
216 |
<at name="halign">default</at> |
|
217 |
<at name="valign">default</at> |
|
218 |
<at name="insets" object="insets">0,0,0,0</at> |
|
219 |
</object> |
|
220 |
</at> |
|
221 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
222 |
</super> |
|
223 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
224 |
<at name="beanclass">javax.swing.JButton</at> |
|
225 |
<at name="beanproperties"> |
|
226 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
227 |
<at name="classname">javax.swing.JButton</at> |
|
228 |
<at name="properties"> |
|
229 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
230 |
<at name="border"> |
|
231 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
232 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
233 |
<at name="name">border</at> |
|
234 |
</super> |
|
235 |
<at name="borders"> |
|
236 |
<object classname="java.util.LinkedList"> |
|
237 |
<item > |
|
238 |
<at name="value"> |
|
239 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
240 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
241 |
<at name="name">border</at> |
|
242 |
</super> |
|
243 |
</object> |
|
244 |
</at> |
|
245 |
</item> |
|
246 |
</object> |
|
247 |
</at> |
|
248 |
</object> |
|
249 |
</at> |
|
250 |
<at name="actionCommand">Dispose all</at> |
|
251 |
<at name="name">disposeAllButton</at> |
|
252 |
<at name="width">109</at> |
|
253 |
<at name="text">Dispose all</at> |
|
254 |
<at name="height">40</at> |
|
255 |
</object> |
|
256 |
</at> |
|
257 |
</object> |
|
258 |
</at> |
|
259 |
</object> |
|
260 |
</at> |
|
261 |
</item> |
|
262 |
<item > |
|
263 |
<at name="value"> |
|
264 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
265 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
266 |
<at name="cellconstraints"> |
|
267 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
268 |
<at name="column">2</at> |
|
269 |
<at name="row">6</at> |
|
270 |
<at name="colspan">1</at> |
|
271 |
<at name="rowspan">1</at> |
|
272 |
<at name="halign">left</at> |
|
273 |
<at name="valign">default</at> |
|
274 |
<at name="insets" object="insets">0,0,0,0</at> |
|
275 |
</object> |
|
276 |
</at> |
|
277 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
278 |
</super> |
|
279 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
280 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
281 |
<at name="beanproperties"> |
|
282 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
283 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
284 |
<at name="properties"> |
|
285 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
286 |
<at name="border"> |
|
287 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
288 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
289 |
<at name="name">border</at> |
|
290 |
</super> |
|
291 |
<at name="borders"> |
|
292 |
<object classname="java.util.LinkedList"> |
|
293 |
<item > |
|
294 |
<at name="value"> |
|
295 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
296 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
297 |
<at name="name">border</at> |
|
298 |
</super> |
|
299 |
</object> |
|
300 |
</at> |
|
301 |
</item> |
|
302 |
</object> |
|
303 |
</at> |
|
304 |
</object> |
|
305 |
</at> |
|
306 |
<at name="horizontalAlignment">11</at> |
|
307 |
<at name="name">messageLabel</at> |
|
308 |
<at name="width">88</at> |
|
309 |
<at name="text">Pending ?</at> |
|
310 |
<at name="fill"> |
|
311 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
312 |
<at name="name">fill</at> |
|
313 |
</object> |
|
314 |
</at> |
|
315 |
<at name="height">26</at> |
|
316 |
</object> |
|
317 |
</at> |
|
318 |
</object> |
|
319 |
</at> |
|
320 |
</object> |
|
321 |
</at> |
|
322 |
</item> |
|
323 |
<item > |
|
324 |
<at name="value"> |
|
325 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
326 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
327 |
<at name="cellconstraints"> |
|
328 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
329 |
<at name="column">3</at> |
|
330 |
<at name="row">6</at> |
|
331 |
<at name="colspan">1</at> |
|
332 |
<at name="rowspan">1</at> |
|
333 |
<at name="halign">default</at> |
|
334 |
<at name="valign">default</at> |
|
335 |
<at name="insets" object="insets">0,0,0,0</at> |
|
336 |
</object> |
|
337 |
</at> |
|
338 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
339 |
</super> |
|
340 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
341 |
<at name="beanclass">javax.swing.JButton</at> |
|
342 |
<at name="beanproperties"> |
|
343 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
344 |
<at name="classname">javax.swing.JButton</at> |
|
345 |
<at name="properties"> |
|
346 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
347 |
<at name="border"> |
|
348 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
349 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
350 |
<at name="name">border</at> |
|
351 |
</super> |
|
352 |
<at name="borders"> |
|
353 |
<object classname="java.util.LinkedList"> |
|
354 |
<item > |
|
355 |
<at name="value"> |
|
356 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
357 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
358 |
<at name="name">border</at> |
|
359 |
</super> |
|
360 |
</object> |
|
361 |
</at> |
|
362 |
</item> |
|
363 |
</object> |
|
364 |
</at> |
|
365 |
</object> |
|
366 |
</at> |
|
367 |
<at name="actionCommand">Refresh</at> |
|
368 |
<at name="name">refreshButton</at> |
|
369 |
<at name="width">81</at> |
|
370 |
<at name="text">Refresh</at> |
|
371 |
<at name="height">40</at> |
|
372 |
</object> |
|
373 |
</at> |
|
374 |
</object> |
|
375 |
</at> |
|
376 |
</object> |
|
377 |
</at> |
|
378 |
</item> |
|
379 |
<item > |
|
380 |
<at name="value"> |
|
381 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
382 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
383 |
<at name="cellconstraints"> |
|
384 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
385 |
<at name="column">2</at> |
|
386 |
<at name="row">4</at> |
|
387 |
<at name="colspan">8</at> |
|
388 |
<at name="rowspan">1</at> |
|
389 |
<at name="halign">default</at> |
|
390 |
<at name="valign">default</at> |
|
391 |
<at name="insets" object="insets">0,0,0,0</at> |
|
392 |
</object> |
|
393 |
</at> |
|
394 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
395 |
</super> |
|
396 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
397 |
<at name="beanclass">javax.swing.JSplitPane</at> |
|
398 |
<at name="beanproperties"> |
|
399 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
400 |
<at name="classname">javax.swing.JSplitPane</at> |
|
401 |
<at name="properties"> |
|
402 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
403 |
<at name="orientation">0</at> |
|
404 |
<at name="name">splitPanel</at> |
|
405 |
<at name="oneTouchExpandable">true</at> |
|
406 |
<at name="width">1370</at> |
|
407 |
<at name="minimumDividerLocation">40</at> |
|
408 |
<at name="lastDividerLocation">-1</at> |
|
409 |
<at name="maximumDividerLocation">597</at> |
|
410 |
<at name="dividerLocation">40</at> |
|
411 |
<at name="height">642</at> |
|
412 |
</object> |
|
413 |
</at> |
|
414 |
</object> |
|
415 |
</at> |
|
416 |
</object> |
|
417 |
</at> |
|
418 |
</item> |
|
419 |
<item > |
|
420 |
<at name="value"> |
|
421 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
422 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
423 |
<at name="cellconstraints"> |
|
424 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
425 |
<at name="column">2</at> |
|
426 |
<at name="row">8</at> |
|
427 |
<at name="colspan">8</at> |
|
428 |
<at name="rowspan">1</at> |
|
429 |
<at name="halign">default</at> |
|
430 |
<at name="valign">default</at> |
|
431 |
<at name="insets" object="insets">0,0,0,0</at> |
|
432 |
</object> |
|
433 |
</at> |
|
434 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
435 |
</super> |
|
436 |
<at name="id">embedded.1344228425</at> |
|
437 |
<at name="rowspecs">CENTER:DEFAULT:NONE</at> |
|
438 |
<at name="colspecs">FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE</at> |
|
439 |
<at name="components"> |
|
440 |
<object classname="java.util.LinkedList"> |
|
441 |
<item > |
|
442 |
<at name="value"> |
|
443 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
444 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
445 |
<at name="cellconstraints"> |
|
446 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
447 |
<at name="column">1</at> |
|
448 |
<at name="row">1</at> |
|
449 |
<at name="colspan">1</at> |
|
450 |
<at name="rowspan">1</at> |
|
451 |
<at name="halign">default</at> |
|
452 |
<at name="valign">default</at> |
|
453 |
<at name="insets" object="insets">0,0,0,0</at> |
|
454 |
</object> |
|
455 |
</at> |
|
456 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
457 |
</super> |
|
458 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
459 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
460 |
<at name="beanproperties"> |
|
461 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
462 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
463 |
<at name="properties"> |
|
464 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
465 |
<at name="border"> |
|
466 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
467 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
468 |
<at name="name">border</at> |
|
469 |
</super> |
|
470 |
<at name="borders"> |
|
471 |
<object classname="java.util.LinkedList"> |
|
472 |
<item > |
|
473 |
<at name="value"> |
|
474 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
475 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
476 |
<at name="name">border</at> |
|
477 |
</super> |
|
478 |
</object> |
|
479 |
</at> |
|
480 |
</item> |
|
481 |
</object> |
|
482 |
</at> |
|
483 |
</object> |
|
484 |
</at> |
|
485 |
<at name="name"></at> |
|
486 |
<at name="width">99</at> |
|
487 |
<at name="text">Total mem.</at> |
|
488 |
<at name="fill"> |
|
489 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
490 |
<at name="name">fill</at> |
|
491 |
</object> |
|
492 |
</at> |
|
493 |
<at name="toolTipText">Total memory in Kb</at> |
|
494 |
<at name="height">26</at> |
|
495 |
</object> |
|
496 |
</at> |
|
497 |
</object> |
|
498 |
</at> |
|
499 |
</object> |
|
500 |
</at> |
|
501 |
</item> |
|
502 |
<item > |
|
503 |
<at name="value"> |
|
504 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
505 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
506 |
<at name="cellconstraints"> |
|
507 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
508 |
<at name="column">5</at> |
|
509 |
<at name="row">1</at> |
|
510 |
<at name="colspan">1</at> |
|
511 |
<at name="rowspan">1</at> |
|
512 |
<at name="halign">default</at> |
|
513 |
<at name="valign">default</at> |
|
514 |
<at name="insets" object="insets">0,0,0,0</at> |
|
515 |
</object> |
|
516 |
</at> |
|
517 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
518 |
</super> |
|
519 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
520 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
521 |
<at name="beanproperties"> |
|
522 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
523 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
524 |
<at name="properties"> |
|
525 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
526 |
<at name="border"> |
|
527 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
528 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
529 |
<at name="name">border</at> |
|
530 |
</super> |
|
531 |
<at name="borders"> |
|
532 |
<object classname="java.util.LinkedList"> |
|
533 |
<item > |
|
534 |
<at name="value"> |
|
535 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
536 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
537 |
<at name="name">border</at> |
|
538 |
</super> |
|
539 |
</object> |
|
540 |
</at> |
|
541 |
</item> |
|
542 |
</object> |
|
543 |
</at> |
|
544 |
</object> |
|
545 |
</at> |
|
546 |
<at name="name"></at> |
|
547 |
<at name="width">95</at> |
|
548 |
<at name="text">Free mem.</at> |
|
549 |
<at name="fill"> |
|
550 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
551 |
<at name="name">fill</at> |
|
552 |
</object> |
|
553 |
</at> |
|
554 |
<at name="height">26</at> |
|
555 |
</object> |
|
556 |
</at> |
|
557 |
</object> |
|
558 |
</at> |
|
559 |
</object> |
|
560 |
</at> |
|
561 |
</item> |
|
562 |
<item > |
|
563 |
<at name="value"> |
|
564 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
565 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
566 |
<at name="cellconstraints"> |
|
567 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
568 |
<at name="column">9</at> |
|
569 |
<at name="row">1</at> |
|
570 |
<at name="colspan">1</at> |
|
571 |
<at name="rowspan">1</at> |
|
572 |
<at name="halign">default</at> |
|
573 |
<at name="valign">default</at> |
|
574 |
<at name="insets" object="insets">0,0,0,0</at> |
|
575 |
</object> |
|
576 |
</at> |
|
577 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
578 |
</super> |
|
579 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
580 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
581 |
<at name="beanproperties"> |
|
582 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
583 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
584 |
<at name="properties"> |
|
585 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
586 |
<at name="border"> |
|
587 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
588 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
589 |
<at name="name">border</at> |
|
590 |
</super> |
|
591 |
<at name="borders"> |
|
592 |
<object classname="java.util.LinkedList"> |
|
593 |
<item > |
|
594 |
<at name="value"> |
|
595 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
596 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
597 |
<at name="name">border</at> |
|
598 |
</super> |
|
599 |
</object> |
|
600 |
</at> |
|
601 |
</item> |
|
602 |
</object> |
|
603 |
</at> |
|
604 |
</object> |
|
605 |
</at> |
|
606 |
<at name="name"></at> |
|
607 |
<at name="width">93</at> |
|
608 |
<at name="text">Max mem.</at> |
|
609 |
<at name="fill"> |
|
610 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
611 |
<at name="name">fill</at> |
|
612 |
</object> |
|
613 |
</at> |
|
614 |
<at name="height">26</at> |
|
615 |
</object> |
|
616 |
</at> |
|
617 |
</object> |
|
618 |
</at> |
|
619 |
</object> |
|
620 |
</at> |
|
621 |
</item> |
|
622 |
<item > |
|
623 |
<at name="value"> |
|
624 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
625 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
626 |
<at name="cellconstraints"> |
|
627 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
628 |
<at name="column">3</at> |
|
629 |
<at name="row">1</at> |
|
630 |
<at name="colspan">1</at> |
|
631 |
<at name="rowspan">1</at> |
|
632 |
<at name="halign">default</at> |
|
633 |
<at name="valign">default</at> |
|
634 |
<at name="insets" object="insets">0,0,0,0</at> |
|
635 |
</object> |
|
636 |
</at> |
|
637 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
638 |
</super> |
|
639 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
640 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
641 |
<at name="beanproperties"> |
|
642 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
643 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
644 |
<at name="properties"> |
|
645 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
646 |
<at name="border"> |
|
647 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
648 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
649 |
<at name="name">border</at> |
|
650 |
</super> |
|
651 |
<at name="borders"> |
|
652 |
<object classname="java.util.LinkedList"> |
|
653 |
<item > |
|
654 |
<at name="value"> |
|
655 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
656 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
657 |
<at name="name">border</at> |
|
658 |
</super> |
|
659 |
</object> |
|
660 |
</at> |
|
661 |
</item> |
|
662 |
</object> |
|
663 |
</at> |
|
664 |
</object> |
|
665 |
</at> |
|
666 |
<at name="name">lblTotalMemory</at> |
|
667 |
<at name="width">12</at> |
|
668 |
<at name="text">0</at> |
|
669 |
<at name="fill"> |
|
670 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
671 |
<at name="name">fill</at> |
|
672 |
</object> |
|
673 |
</at> |
|
674 |
<at name="toolTipText">Total memory in Kb</at> |
|
675 |
<at name="height">26</at> |
|
676 |
</object> |
|
677 |
</at> |
|
678 |
</object> |
|
679 |
</at> |
|
680 |
</object> |
|
681 |
</at> |
|
682 |
</item> |
|
683 |
<item > |
|
684 |
<at name="value"> |
|
685 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
686 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
687 |
<at name="cellconstraints"> |
|
688 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
689 |
<at name="column">7</at> |
|
690 |
<at name="row">1</at> |
|
691 |
<at name="colspan">1</at> |
|
692 |
<at name="rowspan">1</at> |
|
693 |
<at name="halign">default</at> |
|
694 |
<at name="valign">default</at> |
|
695 |
<at name="insets" object="insets">0,0,0,0</at> |
|
696 |
</object> |
|
697 |
</at> |
|
698 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
699 |
</super> |
|
700 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
701 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
702 |
<at name="beanproperties"> |
|
703 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
704 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
705 |
<at name="properties"> |
|
706 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
707 |
<at name="border"> |
|
708 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
709 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
710 |
<at name="name">border</at> |
|
711 |
</super> |
|
712 |
<at name="borders"> |
|
713 |
<object classname="java.util.LinkedList"> |
|
714 |
<item > |
|
715 |
<at name="value"> |
|
716 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
717 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
718 |
<at name="name">border</at> |
|
719 |
</super> |
|
720 |
</object> |
|
721 |
</at> |
|
722 |
</item> |
|
723 |
</object> |
|
724 |
</at> |
|
725 |
</object> |
|
726 |
</at> |
|
727 |
<at name="name">lblFreeMemory</at> |
|
728 |
<at name="width">12</at> |
|
729 |
<at name="text">0</at> |
|
730 |
<at name="fill"> |
|
731 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
732 |
<at name="name">fill</at> |
|
733 |
</object> |
|
734 |
</at> |
|
735 |
<at name="toolTipText">Free memory in Kb</at> |
|
736 |
<at name="height">26</at> |
|
737 |
</object> |
|
738 |
</at> |
|
739 |
</object> |
|
740 |
</at> |
|
741 |
</object> |
|
742 |
</at> |
|
743 |
</item> |
|
744 |
<item > |
|
745 |
<at name="value"> |
|
746 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
747 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
748 |
<at name="cellconstraints"> |
|
749 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
750 |
<at name="column">11</at> |
|
751 |
<at name="row">1</at> |
|
752 |
<at name="colspan">1</at> |
|
753 |
<at name="rowspan">1</at> |
|
754 |
<at name="halign">default</at> |
|
755 |
<at name="valign">default</at> |
|
756 |
<at name="insets" object="insets">0,0,0,0</at> |
|
757 |
</object> |
|
758 |
</at> |
|
759 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
760 |
</super> |
|
761 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
762 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
763 |
<at name="beanproperties"> |
|
764 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
765 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
766 |
<at name="properties"> |
|
767 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
768 |
<at name="border"> |
|
769 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
770 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
771 |
<at name="name">border</at> |
|
772 |
</super> |
|
773 |
<at name="borders"> |
|
774 |
<object classname="java.util.LinkedList"> |
|
775 |
<item > |
|
776 |
<at name="value"> |
|
777 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
778 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
779 |
<at name="name">border</at> |
|
780 |
</super> |
|
781 |
</object> |
|
782 |
</at> |
|
783 |
</item> |
|
784 |
</object> |
|
785 |
</at> |
|
786 |
</object> |
|
787 |
</at> |
|
788 |
<at name="name">lblMaxMemory</at> |
|
789 |
<at name="width">12</at> |
|
790 |
<at name="text">0</at> |
|
791 |
<at name="fill"> |
|
792 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
793 |
<at name="name">fill</at> |
|
794 |
</object> |
|
795 |
</at> |
|
796 |
<at name="toolTipText">Max memory in kb</at> |
|
797 |
<at name="height">26</at> |
|
798 |
</object> |
|
799 |
</at> |
|
800 |
</object> |
|
801 |
</at> |
|
802 |
</object> |
|
803 |
</at> |
|
804 |
</item> |
|
805 |
<item > |
|
806 |
<at name="value"> |
|
807 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
808 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
809 |
<at name="cellconstraints"> |
|
810 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
811 |
<at name="column">13</at> |
|
812 |
<at name="row">1</at> |
|
813 |
<at name="colspan">1</at> |
|
814 |
<at name="rowspan">1</at> |
|
815 |
<at name="halign">default</at> |
|
816 |
<at name="valign">default</at> |
|
817 |
<at name="insets" object="insets">0,0,0,0</at> |
|
818 |
</object> |
|
819 |
</at> |
|
820 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
821 |
</super> |
|
822 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
823 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
824 |
<at name="beanproperties"> |
|
825 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
826 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
827 |
<at name="properties"> |
|
828 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
829 |
<at name="border"> |
|
830 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
831 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
832 |
<at name="name">border</at> |
|
833 |
</super> |
|
834 |
<at name="borders"> |
|
835 |
<object classname="java.util.LinkedList"> |
|
836 |
<item > |
|
837 |
<at name="value"> |
|
838 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
839 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
840 |
<at name="name">border</at> |
|
841 |
</super> |
|
842 |
</object> |
|
843 |
</at> |
|
844 |
</item> |
|
845 |
</object> |
|
846 |
</at> |
|
847 |
</object> |
|
848 |
</at> |
|
849 |
<at name="name"></at> |
|
850 |
<at name="width">73</at> |
|
851 |
<at name="text">Threads</at> |
|
852 |
<at name="fill"> |
|
853 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
854 |
<at name="name">fill</at> |
|
855 |
</object> |
|
856 |
</at> |
|
857 |
<at name="toolTipText">Active threads</at> |
|
858 |
<at name="height">26</at> |
|
859 |
</object> |
|
860 |
</at> |
|
861 |
</object> |
|
862 |
</at> |
|
863 |
</object> |
|
864 |
</at> |
|
865 |
</item> |
|
866 |
<item > |
|
867 |
<at name="value"> |
|
868 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
869 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
870 |
<at name="cellconstraints"> |
|
871 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
872 |
<at name="column">15</at> |
|
873 |
<at name="row">1</at> |
|
874 |
<at name="colspan">1</at> |
|
875 |
<at name="rowspan">1</at> |
|
876 |
<at name="halign">default</at> |
|
877 |
<at name="valign">default</at> |
|
878 |
<at name="insets" object="insets">0,0,0,0</at> |
|
879 |
</object> |
|
880 |
</at> |
|
881 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
882 |
</super> |
|
883 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
884 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
885 |
<at name="beanproperties"> |
|
886 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
887 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
888 |
<at name="properties"> |
|
889 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
890 |
<at name="border"> |
|
891 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
892 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
893 |
<at name="name">border</at> |
|
894 |
</super> |
|
895 |
<at name="borders"> |
|
896 |
<object classname="java.util.LinkedList"> |
|
897 |
<item > |
|
898 |
<at name="value"> |
|
899 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
900 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
901 |
<at name="name">border</at> |
|
902 |
</super> |
|
903 |
</object> |
|
904 |
</at> |
|
905 |
</item> |
|
906 |
</object> |
|
907 |
</at> |
|
908 |
</object> |
|
909 |
</at> |
|
910 |
<at name="name">lblActiveThreads</at> |
|
911 |
<at name="width">12</at> |
|
912 |
<at name="text">0</at> |
|
913 |
<at name="fill"> |
|
914 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
915 |
<at name="name">fill</at> |
|
916 |
</object> |
|
917 |
</at> |
|
918 |
<at name="toolTipText">Active threads</at> |
|
919 |
<at name="height">26</at> |
|
920 |
</object> |
|
921 |
</at> |
|
922 |
</object> |
|
923 |
</at> |
|
924 |
</object> |
|
925 |
</at> |
|
926 |
</item> |
|
927 |
<item > |
|
928 |
<at name="value"> |
|
929 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
930 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
931 |
<at name="cellconstraints"> |
|
932 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
933 |
<at name="column">17</at> |
|
934 |
<at name="row">1</at> |
|
935 |
<at name="colspan">1</at> |
|
936 |
<at name="rowspan">1</at> |
|
937 |
<at name="halign">default</at> |
|
938 |
<at name="valign">default</at> |
|
939 |
<at name="insets" object="insets">0,0,0,0</at> |
|
940 |
</object> |
|
941 |
</at> |
|
942 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
943 |
</super> |
|
944 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
945 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
946 |
<at name="beanproperties"> |
|
947 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
948 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
949 |
<at name="properties"> |
|
950 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
951 |
<at name="border"> |
|
952 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
953 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
954 |
<at name="name">border</at> |
|
955 |
</super> |
|
956 |
<at name="borders"> |
|
957 |
<object classname="java.util.LinkedList"> |
|
958 |
<item > |
|
959 |
<at name="value"> |
|
960 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
961 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
962 |
<at name="name">border</at> |
|
963 |
</super> |
Also available in: Unified diff