5

谁能告诉我如何在修改父页面时刷新子页面?

...在子偏好页面的 createContents() 中,我正在监听对父级的更改:

ParentPlugin.getDefault()
    .getPreferenceStore()
    .addPropertyChangeListener(new IPropertyChangeListener()
    {
        public void propertyChange(PropertyChangeEvent event)
        {
            //REFRESH CHILD PLUGIN
        };
    });
4

0 回答 0