开发者

Access org.eclipse.swt.widgets.Text from Overridden createWindowContents

I have overridden the method createWindowContents in my ApplicationWorkbenchWindowAdvisor class.

I put a Text box at the banner I created s开发者_开发知识库o that user could insert an URL that would be readed in an Action.

My problem is that I don't know how to access this field from another View or another Action. Can I access it via PlatformUI object or something similar?


You can just store it in a static variable (don't forget to check if it is disposed before accessing it).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜