Skip to content

Commit be17ff4

Browse files
committed
ADAP-115: added Application.registerUser
1 parent 619c480 commit be17ff4

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

RELEASENOTES-ADAPTER.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Version 6.0.2.1-SNAPSHOT
2+
3+
## New Features
4+
* Added Application.registerUser.
5+
16
# Version 6.0.1.3
27

38
## New Features

src/main/java/com/openfin/desktop/demo/OpenFinDesktopDemo.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,22 @@ public void onSuccess(WindowOptions result) {
622622
}
623623

624624
private void testRoundedCorners() {
625+
ApplicationOptions opts = appOptionsList.get(0);
626+
OpenFinRuntime runtime = new OpenFinRuntime(this.desktopConnection);
627+
try {
628+
runtime.showDeveloperTools(opts.getUUID(), opts.getUUID(), null);
629+
630+
Window w = Window.wrap(opts.getUUID(), opts.getUUID(), this.desktopConnection);
631+
WindowOptions wopts = new WindowOptions();
632+
wopts.setAutoShow(true);
633+
wopts.setContextMenu(true);
634+
w.updateOptions(wopts, null);
635+
636+
} catch (DesktopException e) {
637+
e.printStackTrace();
638+
}
639+
}
640+
private void testRoundedCorners2() {
625641
this.selectedApplication.getWindow().getOptions(new AsyncCallback<WindowOptions>() {
626642
@Override
627643
public void onSuccess(WindowOptions result) {
@@ -685,6 +701,7 @@ private void setAppButtonsEnabled(boolean enabled) {
685701
}
686702

687703
private void createApplication(final ApplicationOptions options) {
704+
options.getMainWindowOptions().setContextMenu(false);
688705
Application app = new Application(options, desktopConnection, new AckListener() {
689706
@Override
690707
public void onSuccess(Ack ack) {

0 commit comments

Comments
 (0)