blob: 738956833251c6df3041b7390053bd2d588e01b3 [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2004 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.diagram.ui.actions.internal;
import org.eclipse.gmf.runtime.common.ui.action.ActionMenuManager;
import org.eclipse.gmf.runtime.diagram.ui.actions.ActionIds;
import org.eclipse.gmf.runtime.diagram.ui.actions.internal.l10n.DiagramUIActionsMessages;
import org.eclipse.jface.action.Action;
/**
* The View Menu Manager contains all View related actions
*
* @author jschofie
*/
public class ViewMenuManager extends ActionMenuManager {
/**
* The align menu action containing the UI for the align menu manager
*/
private static class ViewMenuAction extends Action {
public ViewMenuAction() {
setText(DiagramUIActionsMessages.ViewMenuManager_View_ActionLabelText);
setToolTipText(DiagramUIActionsMessages.ViewMenuManager_View_ActionToolTipText);
}
}
/**
* Creates a new instance of the align menu manager
*/
public ViewMenuManager() {
super(ActionIds.MENU_VIEW, new ViewMenuAction(), true);
}
}