看板 java 關於我們 聯絡資訊
請問JFace中的 IContributionManager介面中的update()是幹嘛的呢? update void update(boolean force)Updates this manager's underlying widget(s) with any changes which have been made to it or its items. Normally changes to a contribution manager merely mark it as dirty, without updating the underlying widgets. This brings the underlying widgets up to date with any changes. Parameters: force - true means update even if not dirty, and false for normal incremental updating -------------------------------------------------------------------------------- document上寫的我不太懂 何謂mark it as dirty?? 什麼情況下會他的widgets會被change呢? 感恩 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.119.41.122