public Object getAdapter(Class adapter) {
if (OfflineActionTarget.class.equals(adapter)) {
if (fOfflineActionTarget == null) {
IStatusLineManager manager = getStatusLineManager();
if (manager != null)
fOfflineActionTarget = (getSourceViewer() == null ? null : new OfflineActionTarget(
getSourceViewer(), manager, this));
}
return fOfflineActionTarget;
}