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