Changeset 1298
- Timestamp:
- 11/09/07 17:14:02 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
org.jalcedo.tools/trunk/org.jalcedo.tools.icon.manager.ui/src/org/jalcedo/tools/icon/manager/ui/internal/wizard/EditIconWizardPage.java
r1297 r1298 76 76 */ 77 77 public class EditIconWizardPage extends WizardPage { 78 private static String ICON_DIR_NAME = "icons/"; //$NON-NLS-1$ 78 79 private static String FILE_FILTER = ".svn"; //$NON-NLS-1$ 79 80 private int AREA_SIZE_HEIGHT = 300; … … 578 579 Icon icon = (Icon) element; 579 580 if(icon.getWidth()*icon.getHeight() != 0){ 580 return Messages.getString("EditIconWizardPage.path")+icon.getPath().substring( 0, icon.getPath().lastIndexOf(File.separator))+"\n" //$NON-NLS-1$581 return Messages.getString("EditIconWizardPage.path")+icon.getPath().substring(ICON_DIR_NAME.length(), icon.getPath().lastIndexOf("/"))+"\n" //$NON-NLS-1$ 581 582 + Messages.getString("EditIconWizardPage.size")+icon.getWidth()+"*"+icon.getHeight()+"\n" //$NON-NLS-1$ 582 583 + Messages.getString("EditIconWizardPage.type")+(icon.getName().substring(icon.getName().lastIndexOf('.')+1)).toUpperCase(); //$NON-NLS-1$
