use of com.microsoft.azuretools.azureexplorer.editors.webapp.DeploymentSlotPropertyEditorInput in project azure-tools-for-java by Microsoft.
the class UIHelperImpl method openDeploymentSlotPropertyView.
@Override
public void openDeploymentSlotPropertyView(final DeploymentSlotNode node) {
if (Utils.isEmptyString(node.getId())) {
return;
}
AzureTaskManager.getInstance().runLater(() -> {
IWorkbench workbench = PlatformUI.getWorkbench();
DeploymentSlotPropertyEditorInput input = new DeploymentSlotPropertyEditorInput(node.getId(), node.getSubscriptionId(), node.getWebAppId(), node.getName());
IEditorDescriptor descriptor = workbench.getEditorRegistry().findEditor(DeploymentSlotEditor.ID);
openEditor(EditorType.WEBAPP_EXPLORER, input, descriptor);
});
}
Aggregations