diff options
author | Uwe Stieber | 2012-11-15 16:46:17 +0000 |
---|---|---|
committer | Uwe Stieber | 2012-11-15 16:46:17 +0000 |
commit | 93adb1ae91e090945130d7106bc94af9d57d48e7 (patch) | |
tree | d48175286530f901c0c46bfe1ecc902b33ef00f4 /target_explorer/plugins/org.eclipse.tcf.te.runtime.services | |
parent | 5f52b2accf702ee87dd0c65247a49840d345a9d3 (diff) | |
download | org.eclipse.tcf-93adb1ae91e090945130d7106bc94af9d57d48e7.tar.gz org.eclipse.tcf-93adb1ae91e090945130d7106bc94af9d57d48e7.tar.xz org.eclipse.tcf-93adb1ae91e090945130d7106bc94af9d57d48e7.zip |
Target Explorer: Rework delete handler to work on tree path and introduce canDelete delegation via the IDeleteHandlerDelegate
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.runtime.services')
-rw-r--r-- | target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/IUIService.java | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/IUIService.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/IUIService.java new file mode 100644 index 000000000..f1dcdc067 --- /dev/null +++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/IUIService.java @@ -0,0 +1,29 @@ +/******************************************************************************* + * Copyright (c) 2012 Wind River Systems, Inc. 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: + * Wind River Systems - initial API and implementation + *******************************************************************************/ +package org.eclipse.tcf.te.runtime.services.interfaces; + +/** + * UI service. + * <p> + * Allows to provide customized implementations for UI related functionality which + * supports delegating parts of the logic to context specific delegates. + */ +public interface IUIService extends IService { + + /** + * Returns the delegate for the requested delegate class and context. + * + * @param context The context. Must not be <code>null</code>. + * @param clazz The delegate class. Must not be <code>null</code>. + * + * @return The delegate or <code>null</code>. + */ + public <V extends Object> V getDelegate(Object context, Class<? extends V> clazz); +} |