Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 212 Details for
Bug 2023
No banner graphics in Save As dialog (1GDKM9Y)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch file
2023.txt (text/plain), 4.85 KB, created by
Lynne Kues
on 2002-01-11 12:37:19 EST
(
hide
)
Description:
patch file
Filename:
MIME Type:
Creator:
Lynne Kues
Created:
2002-01-11 12:37:19 EST
Size:
4.85 KB
patch
obsolete
>Index: Eclipse UI/org/eclipse/ui/messages.properties >=================================================================== >RCS file: /home/eclipse//org.eclipse.ui/Eclipse UI/org/eclipse/ui/messages.properties,v >retrieving revision 1.62 >diff -u -r1.62 messages.properties >--- Eclipse UI/org/eclipse/ui/messages.properties 7 Jan 2002 20:01:42 -0000 1.62 >+++ Eclipse UI/org/eclipse/ui/messages.properties 11 Jan 2002 17:32:30 -0000 >@@ -27,8 +27,9 @@ > SaveAs.text = Save &As... > SaveAs.textOneArg = Save {0} &As... > SaveAs.toolTip = Save To Another Location >-SaveAsDialog.title = Save File As... >-SaveAsDialog.text = Save As... >+SaveAsDialog.title = Save As >+SaveAsDialog.message = Save file to another location. >+SaveAsDialog.text = Save File As > SaveAsDialog.fileLabel = &File name: > SaveAsDialog.file = file > SaveAsDialog.overwriteQuestion = The file {0} already exists. Do you want to replace the existing file? >Index: Eclipse UI/org/eclipse/ui/dialogs/SaveAsDialog.java >=================================================================== >RCS file: /home/eclipse//org.eclipse.ui/Eclipse UI/org/eclipse/ui/dialogs/SaveAsDialog.java,v >retrieving revision 1.5 >diff -u -r1.5 SaveAsDialog.java >--- Eclipse UI/org/eclipse/ui/dialogs/SaveAsDialog.java 6 Sep 2001 15:16:11 -0000 1.5 >+++ Eclipse UI/org/eclipse/ui/dialogs/SaveAsDialog.java 11 Jan 2002 17:32:31 -0000 >@@ -18,6 +18,7 @@ > import org.eclipse.swt.layout.GridData; > import org.eclipse.swt.layout.GridLayout; > import org.eclipse.swt.widgets.*; >+import org.eclipse.swt.graphics.Image; > import java.util.*; > > /** >@@ -42,6 +43,8 @@ > private ResourceAndContainerGroup resourceGroup; > private Button okButton; > private Button cancelButton; >+ >+ private Image dlgTitleImage = null; > /** > * Creates a new Save As dialog for no specific file. > * >@@ -65,6 +68,21 @@ > validatePage(); > resourceGroup.setFocus(); > setTitle(WorkbenchMessages.getString("SaveAsDialog.title")); //$NON-NLS-1$ >+ dlgTitleImage = WorkbenchImages.getImageDescriptor(IWorkbenchGraphicConstants.IMG_DLGBAN_SAVEAS_DLG).createImage(); >+ setTitleImage(dlgTitleImage); >+ setMessage(WorkbenchMessages.getString("SaveAsDialog.message")); >+} >+/** >+ * Dispose of the banner image when the dialog is closed. >+ * <p> >+ * >+ * @return <code>true</code> if the window is (or was already) closed, >+ * and <code>false</code> if it is still open >+ */ >+public boolean close() { >+ if (dlgTitleImage != null) dlgTitleImage.dispose(); >+ return super.close(); >+ > } > /* (non-Javadoc) > * Method declared on Dialog. >Index: Eclipse UI/org/eclipse/ui/internal/IWorkbenchGraphicConstants.java >=================================================================== >RCS file: /home/eclipse//org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/IWorkbenchGraphicConstants.java,v >retrieving revision 1.5 >diff -u -r1.5 IWorkbenchGraphicConstants.java >--- Eclipse UI/org/eclipse/ui/internal/IWorkbenchGraphicConstants.java 28 Sep 2001 21:09:38 -0000 1.5 >+++ Eclipse UI/org/eclipse/ui/internal/IWorkbenchGraphicConstants.java 11 Jan 2002 17:32:31 -0000 >@@ -156,8 +156,9 @@ > public final static String IMG_WIZBAN_EXPORTZIP_WIZ = "IMG_WIZBAN_EXPORTZIP_WIZ"; //$NON-NLS-1$ > > public final static String IMG_VIEW_DEFAULTVIEW_MISC = "IMG_VIEW_DEFAULTVIEW_MISC"; //$NON-NLS-1$ >- > >+ // dialog images >+ public final static String IMG_DLGBAN_SAVEAS_DLG = "IMG_DLGBAN_SAVEAS_DLG"; //$NON-NLS-1$ > > // task objects > public final static String IMG_OBJS_HPRIO_TSK = "IMG_OBJS_HPRIO_TSK"; //$NON-NLS-1$ >Index: Eclipse UI/org/eclipse/ui/internal/WorkbenchImages.java >=================================================================== >RCS file: /home/eclipse//org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/WorkbenchImages.java,v >retrieving revision 1.5 >diff -u -r1.5 WorkbenchImages.java >--- Eclipse UI/org/eclipse/ui/internal/WorkbenchImages.java 28 Sep 2001 21:09:38 -0000 1.5 >+++ Eclipse UI/org/eclipse/ui/internal/WorkbenchImages.java 11 Jan 2002 17:32:32 -0000 >@@ -242,6 +242,9 @@ > declareImage(IWorkbenchGraphicConstants.IMG_WIZBAN_EXPORTDIR_WIZ, PATH_WIZBAN+"exportdir_wiz.gif");//$NON-NLS-1$ > declareImage(IWorkbenchGraphicConstants.IMG_WIZBAN_EXPORTZIP_WIZ, PATH_WIZBAN+"exportzip_wiz.gif");//$NON-NLS-1$ > >+ // dialog images >+ declareImage(IWorkbenchGraphicConstants.IMG_DLGBAN_SAVEAS_DLG, PATH_WIZBAN+"saveas_dlg.gif");//$NON-NLS-1$ >+ > /* Cache the commonly used ones */ > > // object images -- these are also shared images. >Index: icons/basic/wizban/saveas_dlg.gif >=================================================================== >RCS file: icons/basic/wizban/saveas_dlg.gif >diff -N icons/basic/wizban/saveas_dlg.gif >Binary files /dev/null and saveas_dlg.gif differ >Index: icons/full/wizban/saveas_dlg.gif >=================================================================== >RCS file: icons/full/wizban/saveas_dlg.gif >diff -N icons/full/wizban/saveas_dlg.gif >Binary files /dev/null and saveas_dlg.gif differ
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2023
:
210
| 212 |
215
|
216