嗨,我正在使用eclipse RCP开发一个插件项目。
我正在设计RCP接口,我正在寻找相当于
<script type="text/javascript">
function myFunction() {
var d = new Date();
var links = new Array(7);
links[0] = "docs/sun.html"
links[1] = "docs/mon.html"
links[2] = "docs/tue.html"
links[3] = "docs/wed.html"
links[4] = "docs/thur.html"
links[5] = "docs/fri.html"
links[6] = "docs/sun.html"
var n = links[d.getDay()];
window.location=links[myFunction]
}
</script>
RCP接口基于jface / swt。 有人可以帮我吗?