Author: scabanovich
Date: 2007-10-30 11:21:26 -0400 (Tue, 30 Oct 2007)
New Revision: 4581
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/AbstractSelectionProvider.java
Log:
JBIDE-1184
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/AbstractSelectionProvider.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/AbstractSelectionProvider.java 2007-10-30
15:08:44 UTC (rev 4580)
+++
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/AbstractSelectionProvider.java 2007-10-30
15:21:26 UTC (rev 4581)
@@ -15,7 +15,7 @@
import org.jboss.tools.common.model.XModelObject;
-public abstract class AbstractSelectionProvider implements ISelectionProvider {
+public abstract class AbstractSelectionProvider implements ISelectionProvider,
IPostSelectionProvider {
private ArrayList<ISelectionChangedListener> listeners = new
ArrayList<ISelectionChangedListener>();
public void addSelectionChangedListener(ISelectionChangedListener listener) {
@@ -51,4 +51,14 @@
protected abstract XModelObject getSelectedModelObject();
protected abstract void setSelectedModelObject(XModelObject object);
+ public void addPostSelectionChangedListener(
+ ISelectionChangedListener listener) {
+ // do nothing - workaround for dali
+ }
+
+ public void removePostSelectionChangedListener(
+ ISelectionChangedListener listener) {
+ // do nothing - workaround for dali
+ }
+
}
Show replies by date