Difference between revisions of "WorkspaceHandlerExtension"
From OpenKM Documentation
(Created page with 'Any extension that implements WorkspaceHandlerExtension will be watching all events fired from workspace tab panel == Method == onChange(WorkspaceEventConstant event) == onCha…') |
|||
Line 15: | Line 15: | ||
@Override | @Override | ||
public void onChange(WorkspaceEventConstant event) { | public void onChange(WorkspaceEventConstant event) { | ||
− | Window.alert(" | + | Window.alert("workspace event fired"); |
} | } | ||
} | } |
Revision as of 15:38, 14 June 2010
Any extension that implements WorkspaceHandlerExtension will be watching all events fired from workspace tab panel
Method
onChange(WorkspaceEventConstant event)
onChange(WorkspaceEventConstant event)
Each time it'll be some new tab panel event the method onChange it'll be fired by OpenKM
Example
public class HandlersTest implements WorkspaceHandlerExtension {
@Override
public void onChange(WorkspaceEventConstant event) {
Window.alert("workspace event fired");
}
}