Index: src/org/eclipse/gmf/runtime/common/ui/action/ide/actions/global/GlobalBookmarkAction.java =================================================================== RCS file: /home/technology/org.eclipse.gmf/plugins/org.eclipse.gmf.runtime.common.ui.action.ide/src/org/eclipse/gmf/runtime/common/ui/action/ide/actions/global/GlobalBookmarkAction.java,v retrieving revision 1.3 diff -u -r1.3 GlobalBookmarkAction.java --- src/org/eclipse/gmf/runtime/common/ui/action/ide/actions/global/GlobalBookmarkAction.java 6 Oct 2005 20:26:06 -0000 1.3 +++ src/org/eclipse/gmf/runtime/common/ui/action/ide/actions/global/GlobalBookmarkAction.java 27 Oct 2005 16:12:02 -0000 @@ -18,7 +18,7 @@ import org.eclipse.gmf.runtime.common.ui.action.global.GlobalAction; import org.eclipse.gmf.runtime.common.ui.action.ide.global.IDEGlobalActionId; import org.eclipse.gmf.runtime.common.ui.action.ide.internal.IHelpContextIds; -import org.eclipse.gmf.runtime.common.ui.action.ide.internal.l10n.ResourceManager; +import org.eclipse.gmf.runtime.common.ui.action.ide.internal.l10n.CommonUiActionIdeMessages; /** Global Bookmark Action *

@@ -54,7 +54,7 @@ : getActionId()); /* Set the label */ - setText(ResourceManager.getI18NString("GlobalBookmarkAction.label")); //$NON-NLS-1$ + setText(CommonUiActionIdeMessages.GlobalBookmarkAction_label); /* Set the context sensitive help */ PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IHelpContextIds.PX_U_DEFAULT_CS_HELP); Index: src/org/eclipse/gmf/runtime/common/ui/action/ide/actions/global/GlobalCloseProjectAction.java =================================================================== RCS file: /home/technology/org.eclipse.gmf/plugins/org.eclipse.gmf.runtime.common.ui.action.ide/src/org/eclipse/gmf/runtime/common/ui/action/ide/actions/global/GlobalCloseProjectAction.java,v retrieving revision 1.3 diff -u -r1.3 GlobalCloseProjectAction.java --- src/org/eclipse/gmf/runtime/common/ui/action/ide/actions/global/GlobalCloseProjectAction.java 6 Oct 2005 20:26:06 -0000 1.3 +++ src/org/eclipse/gmf/runtime/common/ui/action/ide/actions/global/GlobalCloseProjectAction.java 27 Oct 2005 16:12:02 -0000 @@ -19,7 +19,7 @@ import org.eclipse.gmf.runtime.common.ui.action.global.GlobalAction; import org.eclipse.gmf.runtime.common.ui.action.ide.global.IDEGlobalActionId; import org.eclipse.gmf.runtime.common.ui.action.ide.internal.IHelpContextIds; -import org.eclipse.gmf.runtime.common.ui.action.ide.internal.l10n.ResourceManager; +import org.eclipse.gmf.runtime.common.ui.action.ide.internal.l10n.CommonUiActionIdeMessages; /** * Global action to close a project resource. @@ -58,7 +58,7 @@ setId(getWorkbenchActionConstant() != null ? getWorkbenchActionConstant() : getActionId()); - setText(ResourceManager.getI18NString("GlobalCloseProjectAction.label")); //$NON-NLS-1$ + setText(CommonUiActionIdeMessages.GlobalCloseProjectAction_label); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IHelpContextIds.PX_U_DEFAULT_CS_HELP); super.init(); Index: src/org/eclipse/gmf/runtime/common/ui/action/ide/actions/global/GlobalOpenProjectAction.java =================================================================== RCS file: /home/technology/org.eclipse.gmf/plugins/org.eclipse.gmf.runtime.common.ui.action.ide/src/org/eclipse/gmf/runtime/common/ui/action/ide/actions/global/GlobalOpenProjectAction.java,v retrieving revision 1.3 diff -u -r1.3 GlobalOpenProjectAction.java --- src/org/eclipse/gmf/runtime/common/ui/action/ide/actions/global/GlobalOpenProjectAction.java 6 Oct 2005 20:26:06 -0000 1.3 +++ src/org/eclipse/gmf/runtime/common/ui/action/ide/actions/global/GlobalOpenProjectAction.java 27 Oct 2005 16:12:02 -0000 @@ -19,7 +19,7 @@ import org.eclipse.gmf.runtime.common.ui.action.global.GlobalAction; import org.eclipse.gmf.runtime.common.ui.action.ide.global.IDEGlobalActionId; import org.eclipse.gmf.runtime.common.ui.action.ide.internal.IHelpContextIds; -import org.eclipse.gmf.runtime.common.ui.action.ide.internal.l10n.ResourceManager; +import org.eclipse.gmf.runtime.common.ui.action.ide.internal.l10n.CommonUiActionIdeMessages; /** * Global action to open a project resource. @@ -58,7 +58,7 @@ setId(getWorkbenchActionConstant() != null ? getWorkbenchActionConstant() : getActionId()); - setText(ResourceManager.getI18NString("GlobalOpenProjectAction.label")); //$NON-NLS-1$ + setText(CommonUiActionIdeMessages.GlobalOpenProjectAction_label); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IHelpContextIds.PX_U_DEFAULT_CS_HELP); super.init(); Index: src/org/eclipse/gmf/runtime/common/ui/action/ide/internal/l10n/messages.properties =================================================================== RCS file: src/org/eclipse/gmf/runtime/common/ui/action/ide/internal/l10n/messages.properties diff -N src/org/eclipse/gmf/runtime/common/ui/action/ide/internal/l10n/messages.properties --- src/org/eclipse/gmf/runtime/common/ui/action/ide/internal/l10n/messages.properties 12 Sep 2005 21:27:54 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,19 +0,0 @@ -# ============================================================================== -#*+------------------------------------------------------------------------+ -#*| Copyright (c) 2005 IBM Corporation and others. | -#*| All rights reserved. This program and the accompanying materials | -#*| are made available under the terms of the Eclipse Public License v1.0 | -#*| which accompanies this distribution, and is available at | -#*| http://www.eclipse.org/legal/epl-v10.html | -#*| | -#*| Contributors: | -#*| IBM Corporation - initial API and implementation | -#*+------------------------------------------------------------------------+ -# ============================================================================== - -# ============================================================================== -# Global Action Labels - Translation Instruction: section to be translated -# ============================================================================== -GlobalBookmarkAction.label=Add Bookmar&k... -GlobalCloseProjectAction.label=&Close Project -GlobalOpenProjectAction.label=&Open Project \ No newline at end of file Index: src/org/eclipse/gmf/runtime/common/ui/action/ide/internal/l10n/CommonUiActionIdeMessages.java =================================================================== RCS file: src/org/eclipse/gmf/runtime/common/ui/action/ide/internal/l10n/CommonUiActionIdeMessages.java diff -N src/org/eclipse/gmf/runtime/common/ui/action/ide/internal/l10n/CommonUiActionIdeMessages.java --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ src/org/eclipse/gmf/runtime/common/ui/action/ide/internal/l10n/CommonUiActionIdeMessages.java 1 Jan 1970 00:00:00 -0000 @@ -0,0 +1,30 @@ +/******************************************************************************* + * Copyright (c) 2000, 2005 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.gmf.runtime.common.ui.action.ide.internal.l10n; + +import org.eclipse.osgi.util.NLS; + +public final class CommonUiActionIdeMessages extends NLS { + + private static final String BUNDLE_NAME = "org.eclipse.gmf.runtime.common.ui.action.ide.internal.l10n.CommonUiActionIdeMessages";//$NON-NLS-1$ + + private CommonUiActionIdeMessages() { + // Do not instantiate + } + + public static String GlobalBookmarkAction_label; + public static String GlobalCloseProjectAction_label; + public static String GlobalOpenProjectAction_label; + + static { + NLS.initializeMessages(BUNDLE_NAME, CommonUiActionIdeMessages.class); + } +} Index: src/org/eclipse/gmf/runtime/common/ui/action/ide/internal/l10n/CommonUiActionIdeMessages.properties =================================================================== RCS file: src/org/eclipse/gmf/runtime/common/ui/action/ide/internal/l10n/CommonUiActionIdeMessages.properties diff -N src/org/eclipse/gmf/runtime/common/ui/action/ide/internal/l10n/CommonUiActionIdeMessages.properties --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ src/org/eclipse/gmf/runtime/common/ui/action/ide/internal/l10n/CommonUiActionIdeMessages.properties 1 Jan 1970 00:00:00 -0000 @@ -0,0 +1,19 @@ +# ============================================================================== +#*+------------------------------------------------------------------------+ +#*| Copyright (c) 2005 IBM Corporation and others. | +#*| All rights reserved. This program and the accompanying materials | +#*| are made available under the terms of the Eclipse Public License v1.0 | +#*| which accompanies this distribution, and is available at | +#*| http://www.eclipse.org/legal/epl-v10.html | +#*| | +#*| Contributors: | +#*| IBM Corporation - initial API and implementation | +#*+------------------------------------------------------------------------+ +# ============================================================================== + +# ============================================================================== +# Global Action Labels - Translation Instruction: section to be translated +# ============================================================================== +GlobalBookmarkAction_label=Add Bookmar&k... +GlobalCloseProjectAction_label=&Close Project +GlobalOpenProjectAction_label=&Open Project