--- src/org/openide/actions/SaveAllAction.java +++ src/org/openide/actions/SaveAllAction.java @@ -42,6 +42,7 @@ package org.openide.actions; +import javax.swing.Action; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; import org.openide.LifecycleManager; @@ -77,6 +78,9 @@ super.initialize (); // false by default putProperty (PROP_ENABLED, Boolean.FALSE); + // default tooltip warning about CoS feature #148977 + putValue(Action.SHORT_DESCRIPTION, NbBundle.getMessage( + org.openide.loaders.DataObject.class, "HINT_SaveAll")); // listen to the changes chl = new ModifiedListL(); DataObject.getRegistry().addChangeListener( --- src/org/openide/loaders/Bundle.properties +++ src/org/openide/loaders/Bundle.properties @@ -266,6 +266,7 @@ CTL_SaveAsTemplate=&Select the category in which the new template will appear: CTL_SaveAsTemplate_TemplatesRoot=Templates SaveAll=Save &All +HINT_SaveAll=Save all files (if the Compile on Save feature is on, this will also compile/build your files) # FileSystemRefreshAction LAB_Refresh=Refresh Folder # NewTemplateAction