Skip to content

Commit e546c61

Browse files
committed
Move the UI settable interface out of IJ as common deps
Signed-off-by: Wei Zhang <[email protected]>
1 parent 733955b commit e546c61

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azure/hdinsight/serverexplore/ui/AddNewClusterFrom.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
import com.intellij.ide.BrowserUtil;
2626
import com.intellij.openapi.project.Project;
2727
import com.intellij.openapi.ui.DialogWrapper;
28+
import com.microsoft.azure.hdinsight.common.mvc.SettableControl;
2829
import com.microsoft.azure.hdinsight.serverexplore.AddNewClusterCtrlProvider;
2930
import com.microsoft.azure.hdinsight.serverexplore.AddNewClusterModel;
3031
import com.microsoft.azure.hdinsight.serverexplore.hdinsightnode.HDInsightRootModule;
31-
import com.microsoft.azure.hdinsight.spark.common.SettableControl;
3232
import com.microsoft.azuretools.telemetry.AppInsightsClient;
3333
import com.microsoft.intellij.hdinsight.messages.HDInsightBundle;
3434
import com.microsoft.intellij.rxjava.IdeaSchedulers;
@@ -44,7 +44,7 @@
4444
import java.util.stream.Collectors;
4545
import java.util.stream.IntStream;
4646

47-
public class AddNewClusterFrom extends DialogWrapper implements SettableControl<AddNewClusterModel>{
47+
public class AddNewClusterFrom extends DialogWrapper implements SettableControl<AddNewClusterModel> {
4848
@Nullable
4949
private Project project;
5050

PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azure/hdinsight/spark/ui/SparkBatchJobConfigurable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
package com.microsoft.azure.hdinsight.spark.ui;
2323

2424
import com.intellij.openapi.project.Project;
25-
import com.microsoft.azure.hdinsight.spark.common.SettableControl;
25+
import com.microsoft.azure.hdinsight.common.mvc.SettableControl;
2626
import com.microsoft.azure.hdinsight.spark.common.SparkBatchJobConfigurableModel;
2727
import org.jetbrains.annotations.NotNull;
2828

PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azure/hdinsight/spark/ui/SparkSubmissionAdvancedConfigDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
import com.microsoft.azure.hdinsight.common.CallBack;
3737
import com.microsoft.azure.hdinsight.common.ClusterManagerEx;
3838
import com.microsoft.azure.hdinsight.common.Docs;
39+
import com.microsoft.azure.hdinsight.common.mvc.SettableControl;
3940
import com.microsoft.azure.hdinsight.sdk.cluster.IClusterDetail;
4041
import com.microsoft.azure.hdinsight.sdk.common.HDIException;
41-
import com.microsoft.azure.hdinsight.spark.common.SettableControl;
4242
import com.microsoft.azure.hdinsight.spark.common.SparkBatchDebugSession;
4343
import com.microsoft.azure.hdinsight.spark.common.SparkSubmitAdvancedConfigModel;
4444
import com.microsoft.azure.hdinsight.spark.common.SparkSubmitModel;

PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azure/hdinsight/spark/ui/SparkSubmissionContentPanelConfigurable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
import com.intellij.packaging.impl.elements.ManifestFileUtil;
2929
import com.microsoft.azure.hdinsight.common.CallBack;
3030
import com.microsoft.azure.hdinsight.common.ClusterManagerEx;
31+
import com.microsoft.azure.hdinsight.common.mvc.SettableControl;
3132
import com.microsoft.azure.hdinsight.common.HDInsightUtil;
3233
import com.microsoft.azure.hdinsight.sdk.cluster.HDInsightAdditionalClusterDetail;
3334
import com.microsoft.azure.hdinsight.sdk.cluster.IClusterDetail;
34-
import com.microsoft.azure.hdinsight.spark.common.SettableControl;
3535
import com.microsoft.azure.hdinsight.spark.common.SparkSubmissionParameter;
3636
import com.microsoft.azure.hdinsight.spark.common.SparkSubmitModel;
3737
import com.microsoft.azuretools.authmanage.AuthMethodManager;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2020
*/
2121

22-
package com.microsoft.azure.hdinsight.spark.common;
22+
package com.microsoft.azure.hdinsight.common.mvc;
2323

24-
import org.jetbrains.annotations.NotNull;
24+
import com.microsoft.azuretools.azurecommons.helpers.NotNull;
2525

2626
public interface SettableControl<T> {
2727
// Data -> Component

0 commit comments

Comments
 (0)