equal
deleted
inserted
replaced
3 import org.eclipse.equinox.p2.ui.Policy; |
3 import org.eclipse.equinox.p2.ui.Policy; |
4 |
4 |
5 public class CarbideP2Policy extends Policy { |
5 public class CarbideP2Policy extends Policy { |
6 |
6 |
7 public CarbideP2Policy() { |
7 public CarbideP2Policy() { |
|
8 // restart policy after install |
8 setRestartPolicy(RESTART_POLICY_PROMPT); |
9 setRestartPolicy(RESTART_POLICY_PROMPT); |
9 System.setProperty("eclipse.p2.unsignedPolicy", "allow"); |
10 // policy about install wizard |
|
11 setGroupByCategory(false); |
|
12 setShowLatestVersionsOnly(false); |
10 } |
13 } |
11 |
14 |
12 } |
15 } |