[c61f0c]: actions.xml Maximize Restore History

Download this file

actions.xml    33 lines (28 with data), 774 Bytes

 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
<?xml version="1.0"?>
<!DOCTYPE ACTIONS SYSTEM "actions.dtd">
<ACTIONS>
<ACTION NAME="projectviewer_edit_project">
<CODE>
projectviewer.PVActions.editProject(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>