public class PluginMenuParser
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG |
| Constructor and Description |
|---|
PluginMenuParser() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getItem(android.content.Context pluginContext,
java.lang.String file)
Return the menu item based on the on the pluginContext provided
which can be used to create a menu.
|
static java.lang.String |
getMenu(android.content.Context pluginContext,
java.lang.String layout)
Return the full XML for the menu based on the pluginContext provided
which will allow on a per plugin loading of menu items
|
public static final java.lang.String TAG
public static java.lang.String getMenu(android.content.Context pluginContext,
java.lang.String layout)
pluginContext - - contextlayout - - the layout file to return the XML forpublic static java.lang.String getItem(android.content.Context pluginContext,
java.lang.String file)
pluginContext - - contextfile - - the asset file that is the item