1 /*
2  * PanmirrorMenuItem.java
3  *
4  * Copyright (C) 2021 by RStudio, PBC
5  *
6  * Unless you have received this program directly from RStudio pursuant
7  * to the terms of a commercial license agreement with RStudio, then
8  * this program is licensed to you under the terms of version 3 of the
9  * GNU Affero General Public License. This program is distributed WITHOUT
10  * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
11  * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
12  * AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
13  *
14  */
15 
16 package org.rstudio.studio.client.panmirror.command;
17 
18 import org.rstudio.core.client.jsinterop.JsVoidFunction;
19 
20 import jsinterop.annotations.JsType;
21 
22 @JsType
23 public class PanmirrorMenuItem
24 {
25    @JsType
26    public class SubMenu
27    {
28       public PanmirrorMenuItem[] items;
29    }
30 
31    public String text;
32    public String command;
33    public JsVoidFunction exec;
34    public boolean separator;
35    public SubMenu subMenu;
36 }
37