1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Removed hardcoded bundle names.

This commit is contained in:
Sergey Prigogin 2010-06-21 00:45:18 +00:00
parent 1ddf51d577
commit 58771470a3
16 changed files with 22 additions and 38 deletions

View file

@ -16,8 +16,6 @@ import org.eclipse.osgi.util.NLS;
* Preference strings.
*/
class MessagesForPreferences extends NLS {
private static final String BUNDLE_NAME= "org.eclipse.cdt.dsf.gdb.internal.ui.preferences.messages"; //$NON-NLS-1$
public static String GdbDebugPreferencePage_description;
public static String GdbDebugPreferencePage_traces_label;
public static String GdbDebugPreferencePage_enableTraces_label;
@ -28,7 +26,7 @@ class MessagesForPreferences extends NLS {
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, MessagesForPreferences.class);
NLS.initializeMessages(MessagesForPreferences.class.getName(), MessagesForPreferences.class);
}
private MessagesForPreferences() {

View file

@ -16,8 +16,6 @@ import org.eclipse.osgi.util.NLS;
* Preference strings.
*/
class MessagesForPreferences extends NLS {
private static final String BUNDLE_NAME= "org.eclipse.cdt.dsf.debug.internal.ui.preferences.messages"; //$NON-NLS-1$
public static String DsfDebugPreferencePage_description;
public static String DsfDebugPreferencePage_limitStackFrames_label;
@ -25,10 +23,10 @@ class MessagesForPreferences extends NLS {
public static String DsfDebugPreferencePage_performanceGroup_label;
public static String DsfDebugPreferencePage_waitForViewUpdate_label;
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, MessagesForPreferences.class);
NLS.initializeMessages(MessagesForPreferences.class.getName(), MessagesForPreferences.class);
}
private MessagesForPreferences() {

View file

@ -17,9 +17,6 @@ import org.eclipse.osgi.util.NLS;
* @noinstantiate This class is not intended to be instantiated by clients.
*/
public class MessagesForNumberFormatDetailPane extends NLS {
private static final String BUNDLE_NAME = "org.eclipse.cdt.dsf.debug.internal.ui.viewmodel.numberformat.detail.messages"; //$NON-NLS-1$
public static String NumberFormatDetailPane_format_separator__label;
public static String NumberFormatDetailPane_Name_label;
public static String NumberFormatDetailPane_Spaces_label;
@ -28,8 +25,9 @@ public class MessagesForNumberFormatDetailPane extends NLS {
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, MessagesForNumberFormatDetailPane.class);
NLS.initializeMessages(MessagesForNumberFormatDetailPane.class.getName(), MessagesForNumberFormatDetailPane.class);
}
private MessagesForNumberFormatDetailPane() {}
private MessagesForNumberFormatDetailPane() {
}
}

View file

@ -17,16 +17,6 @@ import org.eclipse.osgi.util.NLS;
* @noinstantiate This class is not intended to be instantiated by clients.
*/
public class MessagesForLaunchVM extends NLS {
private static final String BUNDLE_NAME = "org.eclipse.cdt.dsf.debug.ui.viewmodel.launch.messages"; //$NON-NLS-1$
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, MessagesForLaunchVM.class);
}
private MessagesForLaunchVM() {
}
public static String StackFramesVMNode_No_columns__Incomplete_stack_marker__text_format;
public static String StackFramesVMNode_No_columns__text_format;
public static String StackFramesVMNode_No_columns__No_line__text_format;
@ -52,4 +42,12 @@ public class MessagesForLaunchVM extends NLS {
public static String State_change_reason__Error__label;
public static String State_change_reason__Evaluation__label;
public static String State_change_reason__EventBreakpoint__label;
static {
// initialize resource bundle
NLS.initializeMessages(MessagesForLaunchVM.class.getName(), MessagesForLaunchVM.class);
}
private MessagesForLaunchVM() {
}
}

View file

@ -17,15 +17,13 @@ import org.eclipse.osgi.util.NLS;
* @noinstantiate This class is not intended to be instantiated by clients.
*/
public class MessagesForModulesVM extends NLS {
private static final String BUNDLE_NAME = "org.eclipse.cdt.dsf.debug.ui.viewmodel.modules.messages"; //$NON-NLS-1$
public static String ModulesVMNode_No_columns__text_format;
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, MessagesForModulesVM.class);
NLS.initializeMessages(MessagesForModulesVM.class.getName(), MessagesForModulesVM.class);
}
private MessagesForModulesVM() {
}
public static String ModulesVMNode_No_columns__text_format;
}

View file

@ -17,9 +17,6 @@ import org.eclipse.osgi.util.NLS;
* @noinstantiate This class is not intended to be instantiated by clients.
*/
public class MessagesForNumberFormat extends NLS {
private static final String BUNDLE_NAME = "org.eclipse.cdt.dsf.debug.ui.viewmodel.numberformat.messages"; //$NON-NLS-1$
public static String FormattedValueVMUtil_Natural_format__label;
public static String FormattedValueVMUtil_Decimal_format__label;
public static String FormattedValueVMUtil_Hex_format__label;
@ -32,11 +29,12 @@ public class MessagesForNumberFormat extends NLS {
public static String FormattedValueLabelText__Value__text_format;
public static String FormattedValueLabelText__text_format;
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, MessagesForNumberFormat.class);
NLS.initializeMessages(MessagesForNumberFormat.class.getName(), MessagesForNumberFormat.class);
}
private MessagesForNumberFormat() {}
private MessagesForNumberFormat() {
}
}

View file

@ -16,8 +16,6 @@ import org.eclipse.osgi.util.NLS;
* @noinstantiate This class is not intended to be instantiated by clients.
*/
public class MessagesForRegisterVM extends NLS {
private static final String BUNDLE_NAME = "org.eclipse.cdt.dsf.debug.ui.viewmodel.register.messages"; //$NON-NLS-1$
public static String RegisterColumnPresentation_description;
public static String RegisterColumnPresentation_name;
public static String RegisterColumnPresentation_type;
@ -50,7 +48,7 @@ public class MessagesForRegisterVM extends NLS {
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, MessagesForRegisterVM.class);
NLS.initializeMessages(MessagesForRegisterVM.class.getName(), MessagesForRegisterVM.class);
}
private MessagesForRegisterVM() {

View file

@ -16,13 +16,11 @@ import org.eclipse.osgi.util.NLS;
* @noinstantiate This class is not intended to be instantiated by clients.
*/
class MessagesForProperties extends NLS {
private static final String BUNDLE_NAME = "org.eclipse.cdt.dsf.ui.viewmodel.properties.messages"; //$NON-NLS-1$
public static String DefaultLabelMessage_label;
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, MessagesForProperties.class);
NLS.initializeMessages(MessagesForProperties.class.getName(), MessagesForProperties.class);
}
private MessagesForProperties() {