Ejemplo n.º 1
0
 @Override
 protected void postRun(CDOView view, CDOObject parent) {
   if (newObject != null) {
     EObject object = view.getObject(newObject);
     if (object != null) {
       CDOCheckoutContentProvider contentProvider = getContentProvider();
       if (contentProvider != null) {
         contentProvider.selectObjects(object);
       }
     }
   }
 }
Ejemplo n.º 2
0
  private CDOCheckoutContentProvider getContentProvider() {
    if (contentProvider == null) {
      String viewerID = extensionSite.getContentService().getViewerId();
      contentProvider = CDOCheckoutContentProvider.getInstance(viewerID);
    }

    return contentProvider;
  }
Ejemplo n.º 3
0
 private ComposedAdapterFactory getAdapterFactory(CDOCheckout checkout) {
   CDOCheckoutContentProvider contentProvider = getContentProvider();
   return contentProvider.getStateManager().getState(checkout).getAdapterFactory();
 }