예제 #1
0
 @Override
 public void runWithException() throws OseeCoreException {
   if (AtsClientService.get().getVersionService().hasTargetedVersion(sma)) {
     RendererManager.open(
         AtsClientService.get()
             .getConfigArtifact(
                 AtsClientService.get().getVersionService().getTargetedVersion(sma)),
         PresentationType.DEFAULT_OPEN);
   }
 }
 @Override
 public Object executeWithException(ExecutionEvent event, IStructuredSelection selection) {
   RendererManager.openInJob(
       artifacts, PresentationType.GENERALIZED_EDIT, IRenderer.OPEN_IN_GRAPH, Boolean.TRUE);
   return null;
 }
 @Override
 public void runWithException() throws OseeCoreException {
   for (Artifact art : selectedAtsArtifacts.getSelectedSMAArtifacts()) {
     RendererManager.open(art, PresentationType.GENERALIZED_EDIT);
   }
 }
예제 #4
0
 @Override
 public Object executeWithException(ExecutionEvent event, IStructuredSelection selection) {
   Artifact artifact = artifacts.iterator().next();
   RendererManager.openInJob(artifacts, ArtifactDoubleClick.getPresentationType(artifact));
   return null;
 }