blob: 4631c14eef4cb6727e37565a4c43784f071b98f8 [file] [log] [blame]
/**
*
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
*
* 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:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*
*/
package org.eclipse.osbp.xtext.menu.common;
public class UserMenuItem {
static public enum UserMenuItemType {NONE, PROCESS, PERSPECTIVE, USERFILTER}
private UserMenuItemType type;
private String id;
private String callId;
private String i18nId;
public UserMenuItem(String id, String callId, UserMenuItemType type) {
this.id = id;
this.callId = callId;
this.type = type;
}
public UserMenuItemType getType() {
return type;
}
public void setType(UserMenuItemType type) {
this.type = type;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getCallId() {
return callId;
}
public void setCallId(String callId) {
this.callId = callId;
}
public void setI18nId(String i18nId) {
this.i18nId = i18nId;
}
public String toString() {
return i18nId;
}
}