protected void attachAction(Action action) { action.refreshState(); }
@Override public void itemChanged(Datasource.ItemChangeEvent e) { for (Action action : actionsHolder.getActions()) { action.refreshState(); } }
protected void attachAction(Action action) { if (action instanceof Action.HasTarget) { ((Action.HasTarget) action).setTarget(this); } action.refreshState(); }
@Override public void itemPropertyChanged(Datasource.ItemPropertyChangeEvent e) { for (Action action : actionsHolder.getActions()) { action.refreshState(); } }
protected void refreshActionsState() { for (Action action : getActions()) { action.refreshState(); } }
protected void attachAction(Action action) { if (action instanceof Action.HasTarget) { ((Action.HasTarget) action).setTarget(this); } action.refreshState(); }
@Override public void collectionChanged(CollectionDatasource.CollectionChangeEvent e) { for (Action action : actionsHolder.getActions()) { action.refreshState(); } }
protected void refreshActionsState() { for (Action action : getActions()) { action.refreshState(); } }
@Override public void stateChanged(Datasource.StateChangeEvent e) { for (Action action : actionsHolder.getActions()) { action.refreshState(); } }