Author: rob.stryker(a)jboss.com
Date: 2007-09-14 19:05:26 -0400 (Fri, 14 Sep 2007)
New Revision: 3644
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/JBossServerViewExtension.java
Log:
API added to tell contributer to forcefully refresh its model.
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/JBossServerViewExtension.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/JBossServerViewExtension.java 2007-09-14
22:14:46 UTC (rev 3643)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/JBossServerViewExtension.java 2007-09-14
23:05:26 UTC (rev 3644)
@@ -50,7 +50,6 @@
public void fillContextMenu(Shell shell, IMenuManager menu, Object selection) {
}
-
public ITreeContentProvider getContentProvider() {
return null;
@@ -71,6 +70,10 @@
return null;
}
+ public void refreshModel(Object object) {
+ // override me
+ }
+
protected void suppressingRefresh(Runnable runnable) {
JBossServerView.getDefault().getExtensionFrame().getViewer().suppressingRefresh(runnable);
}
Show replies by date