You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
135 lines
7.2 KiB
135 lines
7.2 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?eclipse version="3.4"?>
|
|
<plugin>
|
|
<extension point="org.eclipse.ui.menus">
|
|
<menuContribution locationURI="popup:org.eclipse.jdt.ui.PackageExplorer">
|
|
<menu label="Geis Tools" icon="icons/geis.gif">
|
|
<menu label="General">
|
|
<command commandId="checksumlfsid" label="Calculate LFS checksum" name="lfschecksum" style="push">
|
|
</command>
|
|
<command commandId="checksumsinglefigureid" label="Calculate single figure checksum" name="singlechecksum" style="push">
|
|
</command>
|
|
<command commandId="removewhitespaceid" label="Remove Trailing Whitespace" name="removewhitespace" style="push">
|
|
</command>
|
|
</menu>
|
|
<menu label="SQL/Hibernate" icon="icons/db.gif">
|
|
<command commandId="generatemappingid" label="Generate Hibernate Mapping" name="generatemapping" style="push">
|
|
<visibleWhen checkEnabled="false">
|
|
<with variable="activeMenuSelection">
|
|
<iterate ifEmpty="false" operator="or">
|
|
<adapt type="org.eclipse.jdt.internal.core.JavaProject" />
|
|
</iterate>
|
|
</with>
|
|
</visibleWhen>
|
|
</command>
|
|
<command commandId="generatemmetaid" label="Generate tables metadata for whole DB .xls" name="tablemetawholedb" style="push">
|
|
</command>
|
|
<command commandId="generatemmetasingleid" label="Generate single table metadata info .xls" name="singletablemeta" style="push">
|
|
</command>
|
|
<command commandId="generatemmetadbid" label="Generate DB tables metadata info .xls" name="tablesmetadata" style="push">
|
|
</command>
|
|
</menu>
|
|
<menu label="Java" icon="icons/java.gif">
|
|
<command commandId="addheaderid" label="Add header" name="addclassheader" style="push">
|
|
<visibleWhen checkEnabled="false">
|
|
<with variable="activeMenuSelection">
|
|
<iterate ifEmpty="false" operator="or">
|
|
<adapt type="org.eclipse.jdt.core.ICompilationUnit" />
|
|
</iterate>
|
|
</with>
|
|
</visibleWhen>
|
|
</command>
|
|
<command commandId="jspgenid" label="Generate CC .jsp" name="generateccjsp" style="push">
|
|
<visibleWhen checkEnabled="false">
|
|
<with variable="activeMenuSelection">
|
|
<iterate ifEmpty="false" operator="or">
|
|
<adapt type="org.eclipse.jdt.internal.core.JavaProject" />
|
|
</iterate>
|
|
</with>
|
|
</visibleWhen>
|
|
</command>
|
|
<command commandId="generatereflectiongetsetid" label="Generate Refletion Get/Set" name="reflectiongetset" style="push">
|
|
<visibleWhen checkEnabled="false">
|
|
<with variable="activeMenuSelection">
|
|
<iterate ifEmpty="false" operator="or">
|
|
<adapt type="org.eclipse.jdt.core.ICompilationUnit" />
|
|
</iterate>
|
|
</with>
|
|
</visibleWhen>
|
|
</command>
|
|
<command commandId="linkccid" label="Link with mangedbeans" name="linkwithmanagedbeans" style="push">
|
|
</command>
|
|
<command commandId="removereflectgetsetid" label="Remove Refletion Getter/Setter" name="removereflectgetset" style="push">
|
|
<visibleWhen checkEnabled="false">
|
|
<with variable="activeMenuSelection">
|
|
<iterate ifEmpty="false" operator="or">
|
|
<adapt type="org.eclipse.jdt.core.ICompilationUnit" />
|
|
</iterate>
|
|
</with>
|
|
</visibleWhen>
|
|
</command>
|
|
<command commandId="converttoutf8id" label="Convert to UTF-8" name="converttoutf8" style="push">
|
|
<visibleWhen checkEnabled="false">
|
|
<with variable="activeMenuSelection">
|
|
<iterate ifEmpty="false" operator="or">
|
|
<adapt type="org.eclipse.jdt.core.ICompilationUnit" />
|
|
</iterate>
|
|
</with>
|
|
</visibleWhen>
|
|
</command>
|
|
</menu>
|
|
</menu>
|
|
</menuContribution>
|
|
<menuContribution
|
|
locationURI="menu:org.eclipse.ui.main.menu?after=additions">
|
|
<menu
|
|
id="GeisPlugin.menus.sampleMenu"
|
|
label="Geis Tools"
|
|
mnemonic="M">
|
|
<command
|
|
commandId="generatemmetaid"
|
|
label="Generate tables metadata for whole DB .xls"
|
|
style="push">
|
|
</command>
|
|
<command
|
|
commandId="generatemmetasingleid"
|
|
label="Generate single table metadata info .xls"
|
|
style="push">
|
|
</command>
|
|
<command
|
|
commandId="generatemmetadbid"
|
|
label="Generate DB tables metadata info .xls"
|
|
style="push">
|
|
</command>
|
|
<command
|
|
commandId="decompileid"
|
|
label="Decompile .jar"
|
|
style="push">
|
|
</command>
|
|
<command
|
|
commandId="nesas107"
|
|
label="NESAS107 log"
|
|
style="push">
|
|
</command>
|
|
</menu>
|
|
</menuContribution>
|
|
</extension>
|
|
<extension point="org.eclipse.ui.commands">
|
|
<command defaultHandler="geisplugin.popup.actions.ConvertToUTF8" id="converttoutf8id"/>
|
|
<command defaultHandler="geisplugin.popup.actions.GenerateReflectionGetSet" id="generatereflectiongetsetid"/>
|
|
<command defaultHandler="geisplugin.popup.actions.RemoveGenerateReflectionGetSet" id="removereflectgetsetid"/>
|
|
<command defaultHandler="geisplugin.popup.actions.AddHeaderAction" id="addheaderid"/>
|
|
<command defaultHandler="geisplugin.popup.actions.WhiteSpaceAction" id="removewhitespaceid"/>
|
|
<command defaultHandler="geisplugin.popup.actions.GenerateMapping" id="generatemappingid"/>
|
|
<command defaultHandler="geisplugin.popup.actions.ChecksumLFS" id="checksumlfsid"/>
|
|
<command defaultHandler="geisplugin.popup.actions.ChecksumSingleFigure" id="checksumsinglefigureid"/>
|
|
<command defaultHandler="geisplugin.popup.actions.GetMetaData" id="generatemmetaid"/>
|
|
<command defaultHandler="geisplugin.popup.actions.GetMetaDataTable" id="generatemmetasingleid"/>
|
|
<command defaultHandler="geisplugin.popup.actions.GetTableMetaData" id="generatemmetadbid"/>
|
|
<command defaultHandler="geisplugin.popup.actions.Decompile" id="decompileid"/>
|
|
<command defaultHandler="geisplugin.popup.actions.NESAS107" id="nesas107"/>
|
|
<command defaultHandler="geisplugin.popup.actions.CCJspGenerator" id="jspgenid"/>
|
|
<command defaultHandler="geisplugin.popup.actions.LinkClassWithManagedbeans" id="linkccid"/>
|
|
</extension>
|
|
</plugin>
|