This commit is contained in:
Eugene Kudelevsky
2012-06-09 19:06:05 +04:00
parent e5d1fec8f7
commit fab8a8f998
3 changed files with 10 additions and 10 deletions
@@ -210,7 +210,7 @@ public class CreateResourceFileAction extends CreateElementActionBase {
return AndroidBundle.message("new.resource.action.name", directory.getName() + File.separator + newName);
}
private static class MyDialog extends CreateResourceDialog {
private static class MyDialog extends CreateResourceFileDialog {
private final CreateResourceFileAction myAction;
protected MyDialog(@NotNull AndroidFacet facet,
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="org.jetbrains.android.actions.CreateResourceDialog">
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="org.jetbrains.android.actions.CreateResourceFileDialog">
<grid id="27dc6" binding="myPanel" layout-manager="GridLayoutManager" row-count="7" column-count="4" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>
@@ -53,7 +53,7 @@ import java.util.List;
* Time: 7:47:01 PM
* To change this template use File | Settings | File Templates.
*/
public class CreateResourceDialog extends DialogWrapper {
public class CreateResourceFileDialog extends DialogWrapper {
private JTextField myFileNameField;
private TemplateKindCombo myResourceTypeCombo;
private JPanel myPanel;
@@ -75,13 +75,13 @@ public class CreateResourceDialog extends DialogWrapper {
private final AndroidFacet myFacet;
private final ResourceType myPredefinedResourceType;
public CreateResourceDialog(@NotNull AndroidFacet facet,
Collection<CreateTypedResourceFileAction> actions,
@Nullable ResourceType predefinedResourceType,
@Nullable String predefinedFileName,
boolean chooseFileName,
@NotNull Module module,
boolean chooseModule) {
public CreateResourceFileDialog(@NotNull AndroidFacet facet,
Collection<CreateTypedResourceFileAction> actions,
@Nullable ResourceType predefinedResourceType,
@Nullable String predefinedFileName,
boolean chooseFileName,
@NotNull Module module,
boolean chooseModule) {
super(facet.getModule().getProject());
myFacet = facet;
myPredefinedResourceType = predefinedResourceType;