Added calculator and fixed install/remove log
This commit is contained in:
parent
1ad97608ee
commit
b9f6cedace
11 changed files with 211 additions and 8 deletions
|
|
@ -19,13 +19,21 @@ public class HeWalletComponent {
|
|||
@Reference
|
||||
private VrGem4DeskAppService deskAppService;
|
||||
|
||||
private final DeskAppLauncher launcher;
|
||||
|
||||
public HeWalletComponent() {
|
||||
launcher = new DeskAppLauncher("Hebrew Wallet", () -> new HeWalletDeskApp());
|
||||
}
|
||||
|
||||
@Activate
|
||||
void open() {
|
||||
log.info(this, "Activated HeWalletComponent");
|
||||
deskAppService.registrateDeskApp(DeskAppMenuSection.INTERNET, new DeskAppLauncher("Hebrew Wallet", () -> new HeWalletDeskApp()));
|
||||
log.debug(this, SystemGdxLog.ACTIVATE);
|
||||
deskAppService.installDeskApp(DeskAppMenuSection.INTERNET, launcher);
|
||||
}
|
||||
|
||||
@Deactivate
|
||||
void close() {
|
||||
log.debug(this, SystemGdxLog.DEACTIVATE);
|
||||
deskAppService.installDeskApp(DeskAppMenuSection.INTERNET, launcher);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue