blob: ffe2facd40c4371461a94c7060bcc0f91457413c [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 ZOrder menu manager. It contains all Order-related actions
*
* @author jschofie
*/
public class ZOrderMenuManager extends ActionMenuManager {
/**
* The order menu action containing the UI for the zorder menu manager
*/
private static class ZOrderMenuAction extends Action {
public ZOrderMenuAction() {
setText(DiagramUIActionsMessages.ZOrderMenuManager_Order_ActionLabelText);
setToolTipText(DiagramUIActionsMessages.ZOrderMenuManager_Order_ActionToolTipText);
}
}
/**
* Creates a new instance of the arrange menu manager
*/
public ZOrderMenuManager() {
super(ActionIds.MENU_ZORDER, new ZOrderMenuAction(), true);
}
}