code: protected void update()
  	{
  		IAction action = getAction();
  		if (action != null)
  		{
  			ObjectResolver or = new ObjectResolver(getPart());
  			setSelectedObject(or.resolveSelectedObject());
  		}
  	}
docs: Other stuff