aboutsummaryrefslogtreecommitdiff
path: root/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/OpenCreateAssetSetWizardAction.java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-05-08 18:17:45 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-05-08 18:17:45 +0000
commit18c1c14ad4d869c627655cf2204b70d440b7692b (patch)
treec4efb96abd28c58f6dc220fdcc8ee8ab69f7ca38 /eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/OpenCreateAssetSetWizardAction.java
parentf1a59c98333d28b04b74772f204bcc1df6e83634 (diff)
parentccad5384d77328ff1843f4d9296f36a0c3f60343 (diff)
downloadsdk-18c1c14ad4d869c627655cf2204b70d440b7692b.tar.gz
Merge "Remove all non-Apache2 licensed files from sdk" am: 106d12a4f8 am: 7cb6fc634a am: ccad5384d7
Change-Id: Iaaff1e1152ae574f85e78797ecb849e29c805ef8
Diffstat (limited to 'eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/OpenCreateAssetSetWizardAction.java')
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/OpenCreateAssetSetWizardAction.java58
1 files changed, 0 insertions, 58 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/OpenCreateAssetSetWizardAction.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/OpenCreateAssetSetWizardAction.java
deleted file mode 100644
index 09cc32512..000000000
--- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/OpenCreateAssetSetWizardAction.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Copyright (C) 2011 The Android Open Source Project
- *
- * Licensed under the Eclipse Public License, Version 1.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.eclipse.org/org/documents/epl-v10.php
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.android.ide.eclipse.adt.internal.assetstudio;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.jdt.ui.actions.AbstractOpenWizardAction;
-import org.eclipse.ui.INewWizard;
-
-import java.util.List;
-
-/** An action for opening the Create Icon Set wizard */
-public class OpenCreateAssetSetWizardAction extends AbstractOpenWizardAction {
- private IProject mProject;
- private CreateAssetSetWizard mWizard;
-
- /**
- * Creates a new {@link #OpenCreateAssetSetWizardAction} instance
- *
- * @param project the initial project to associate with the wizard
- */
- public OpenCreateAssetSetWizardAction(IProject project) {
- mProject = project;
- }
-
-
- @Override
- protected INewWizard createWizard() throws CoreException {
- mWizard = new CreateAssetSetWizard();
- mWizard.setProject(mProject);
- return mWizard;
- }
-
- /**
- * Returns the list of files created by the wizard. Must only be called
- * after this action's {@link #run()} method has been called. May return
- * null if the user cancels out of the wizard.
- *
- * @return a list of files created by the wizard, or null
- */
- public List<IResource> getCreatedFiles() {
- return mWizard.getCreatedFiles();
- }
-}