SDK 2:设置对话框示例 [英] SDK 2: Example of a settings dialog

查看:59
本文介绍了SDK 2:设置对话框示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您是否发布了一个示例SDK 2应用程序,该应用程序在其齿轮"菜单中添加了一个条目,并允许用户通过对话框窗口将设置保存到首选项对象中?

Do you have an example posted of a SDK 2 app that adds an entry to its "Gear" menu and allows the user to save settings to a preference object via a dialog window?

推荐答案

简短的答案是,现在这是不可能的.

The short answer is that right now that is not possible.

我们正在尝试找出允许用户从自定义应用程序内部与设置进行交互的最佳方法.由于每个应用都位于IFrame的内部,因此任何应用代码都无法与齿轮菜单进行交互(因为它位于框架之外).

We are trying to figure out the best way to allow users to interact with setting from inside of a custom App. Since each App is sandboxed inside of an IFrame no App code can interact with the gear menu (since it is outside of your frame).

将来,我们正在研究使自定义应用程序和Rally应用程序与设置"以统一方式进行交互的方法.

In the future we are looking into ways to make custom Apps and Rally Apps interact with Settings in a unified way.

如果您要存储设置,则可以查看

If you are looking to store settings you can check into the documentation for the App object. In the 2.0p2 version of the SDK we added some functionality to help you manage settings on your Apps. Right now all custom Apps will have to provide their own interface to access settings.

这篇关于SDK 2:设置对话框示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆