Child: [r24] (diff)

Download this file

pluginRightClicks.java    52 lines (44 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
package basic;
import GUI.Actions;
import GUI.RightClicks;
import definitions.Messages;
import script.Plugin;
import script.log;
/**
*
* @author Nuno Brito, 25th of September 2013 in Darmstadt, Germany.
* nuno.brito@triplecheck.de | http://nunobrito.eu
*
*/
public class pluginRightClicks extends Plugin {
@Override
public void startup(){
// // trigger to delete a person from the SPDX documents
// log.hooks.addAction(Messages.ClickedOnTree, thisFile, "processClick");
//
// // trigger to add a component to a selected software product
// log.hooks.addAction(Messages.ClickedOnLibraryComponent, thisFile,
// "processClickOnLibraryComponent");
// log.hooks.addAction("Single-click at " + Actions.addComponentToProduct,
// thisFile, "addComponent");
//
// // trigger to create a new SPDX
// log.hooks.addAction("Single-click at New SPDX", thisFile, "newSPDX");
}
// void processClick(){
// // let's warn the end-user about what is going on here
// RightClicks.processClick();
// }
// void processClickOnLibraryComponent(){
// // let's warn the end-user about what is going on here
// RightClicks.processClickOnLibraryComponent();
// }
void addComponent(){
// let's warn the end-user about what is going on here
RightClicks.addComponent();
}
void newSPDX(){
// launch the dialog to create a new SPDX document
RightClicks.newSPDX();
}
}