Search in sources :

Example 1 with AddNewHDInsightReaderClusterForm

use of com.microsoft.azure.hdinsight.serverexplore.ui.AddNewHDInsightReaderClusterForm in project azure-tools-for-java by Microsoft.

the class HDInsightHelperImpl method createAddNewHDInsightReaderClusterAction.

@NotNull
@Override
public NodeActionListener createAddNewHDInsightReaderClusterAction(@NotNull final HDInsightRootModule module, @NotNull final ClusterDetail clusterDetail) {
    return new NodeActionListener() {

        @Override
        protected void actionPerformed(final NodeActionEvent nodeActionEvent) {
            final AddNewHDInsightReaderClusterForm linkClusterForm = new AddNewHDInsightReaderClusterForm((Project) module.getProject(), module, clusterDetail);
            linkClusterForm.show();
        }
    };
}
Also used : NodeActionListener(com.microsoft.tooling.msservices.serviceexplorer.NodeActionListener) NodeActionEvent(com.microsoft.tooling.msservices.serviceexplorer.NodeActionEvent) AddNewHDInsightReaderClusterForm(com.microsoft.azure.hdinsight.serverexplore.ui.AddNewHDInsightReaderClusterForm) NotNull(com.microsoft.azuretools.azurecommons.helpers.NotNull)

Aggregations

AddNewHDInsightReaderClusterForm (com.microsoft.azure.hdinsight.serverexplore.ui.AddNewHDInsightReaderClusterForm)1 NotNull (com.microsoft.azuretools.azurecommons.helpers.NotNull)1 NodeActionEvent (com.microsoft.tooling.msservices.serviceexplorer.NodeActionEvent)1 NodeActionListener (com.microsoft.tooling.msservices.serviceexplorer.NodeActionListener)1