[ba5942]: actions.xml Maximize Restore History

Download this file

actions.xml    69 lines (58 with data), 1.6 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0"?>
<!DOCTYPE ACTIONS SYSTEM "actions.dtd">
<ACTIONS>
<ACTION NAME="projectviewer_edit_project">
<CODE>
projectviewer.PVActions.editProject(view);
</CODE>
</ACTION>
<ACTION NAME="projectviewer_create_project">
<CODE>
projectviewer.PVActions.createProject(view);
</CODE>
</ACTION>
<ACTION NAME="projectviewer_open_all_files">
<CODE>
projectviewer.PVActions.openAllProjectFiles(view);
</CODE>
</ACTION>
<ACTION NAME="projectviewer_close_all_files">
<CODE>
projectviewer.PVActions.closeAllProjectFiles(view);
</CODE>
</ACTION>
<ACTION NAME="projectviewer_remove_all_files">
<CODE>
projectviewer.PVActions.removeAllProjectFiles(view);
</CODE>
</ACTION>
<ACTION NAME="projectviewer_launch_current_buffer">
<CODE>
projectviewer.PVActions.launchCurrentBuffer(view);
</CODE>
</ACTION>
<ACTION NAME="projectviewer_jarmaker_dialog">
<CODE>
new projectviewer.persist.ProjectZipper(view);
</CODE>
</ACTION>
<ACTION NAME="selectedfiles-viewer-menu-item">
<CODE>
pv = view.getDockableWindowManager().getDockable("projectviewer");
if (pv == null) {
JOptionPane.showMessageDialog(view, "cannot get ProjectViewer");
} else {
// JOptionPane.showMessageDialog(view, "Got Project Viewer");
String s = "";
List list = pv.getSelectedFilePaths();
if (list !=null) {
ListIterator iter = list.listIterator();
while ( iter.hasNext() ) {
s += iter.next() + "\n";
}
textArea.setSelectedText(s);
}
}
</CODE>
</ACTION>
</ACTIONS>