Author: rob.stryker(a)jboss.com
Date: 2009-11-19 13:24:45 -0500 (Thu, 19 Nov 2009)
New Revision: 18754
Modified:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/ArchivesUIMessages.java
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/ArchivesUIMessages.properties
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java
Log:
JBIDE-5194
Modified:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/ArchivesUIMessages.java
===================================================================
---
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/ArchivesUIMessages.java 2009-11-19
17:44:48 UTC (rev 18753)
+++
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/ArchivesUIMessages.java 2009-11-19
18:24:45 UTC (rev 18754)
@@ -69,6 +69,7 @@
public static String ProjectPackagesView_newPackageMenu_label;
public static String ProjectPackagesView_editFolderAction_label;
public static String ProjectPackagesView_deleteFolderAction_label;
+ public static String ProjectPackagesView_createFolderDialog_blank;
public static String ProjectPackagesView_editFilesetAction_label;
public static String ProjectPackagesView_deleteFilesetAction_label;
public static String ProjectPackagesView_buildArchiveAction_label;
Modified:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/ArchivesUIMessages.properties
===================================================================
---
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/ArchivesUIMessages.properties 2009-11-19
17:44:48 UTC (rev 18753)
+++
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/ArchivesUIMessages.properties 2009-11-19
18:24:45 UTC (rev 18754)
@@ -41,6 +41,7 @@
ProjectPackagesView_createFolderDialog_title=Create a folder
ProjectPackagesView_createFolderDialog_message=Name of the folder to create
ProjectPackagesView_createFolderDialog_warnFolderExists=The folder "{0}"
already exists.
+ProjectPackagesView_createFolderDialog_blank=The folder name must not be empty.
FilesetInfoWizardPage_new_message=Create a new fileset consisting of one or more files
FilesetInfoWizardPage_new_title=New Fileset
Modified:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java
===================================================================
---
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java 2009-11-19
17:44:48 UTC (rev 18753)
+++
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java 2009-11-19
18:24:45 UTC (rev 18754)
@@ -271,6 +271,9 @@
ArchivesUIMessages.ProjectPackagesView_createFolderDialog_warnFolderExists,
newText);
}
+ if("".equals(newText)) { //$NON-NLS-1$
+ return ArchivesUIMessages.ProjectPackagesView_createFolderDialog_blank;
+ }
return null;
}
};
Show replies by date