| /******************************************************************************* |
| * Copyright (c) 2010 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.e4.core.services.injector; |
| |
| // TBD this is really a "feedback" object. |
| /** |
| * @noimplement This interface is not intended to be implemented by clients. |
| * @noextend This interface is not intended to be extended by clients. |
| */ |
| public interface IRequestor { |
| |
| /** |
| * The injected object that initiated this request |
| */ |
| public Object getRequestingObject(); |
| |
| /** |
| * Determines if the requestor wants to be called whenever one of the dependent object changes. |
| */ |
| public boolean shouldTrack(); |
| |
| public boolean shouldGroupUpdates(); |
| |
| } |