use of com.microsoft.azuretools.azureexplorer.editors.container.ContainerRegistryExplorerEditorInput in project azure-tools-for-java by Microsoft.
the class UIHelperImpl method openContainerRegistryPropertyView.
@Override
public void openContainerRegistryPropertyView(@NotNull ContainerRegistryNode node) {
String sid = node.getSubscriptionId();
String resId = node.getResourceId();
if (Utils.isEmptyString(sid) || Utils.isEmptyString(resId)) {
return;
}
IWorkbench workbench = PlatformUI.getWorkbench();
ContainerRegistryExplorerEditorInput input = new ContainerRegistryExplorerEditorInput(sid, resId, node.getName());
IEditorDescriptor descriptor = workbench.getEditorRegistry().findEditor(ContainerRegistryExplorerEditor.ID);
openEditor(EditorType.CONTAINER_EXPLORER, input, descriptor);
}
Aggregations