[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509624
 ] 

Sachin Patel commented on GERONIMODEVTOOLS-171:
-----------------------------------------------

We'll probably need a trivial extension point for this to check for supported 
servers to add this context menu action.

> Remove hard-coded Geronimo name from launch console message and tool-tip
> ------------------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-171
>                 URL: 
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-171
>             Project: Geronimo-Devtools
>          Issue Type: Improvement
>          Components: eclipse-plugin
>    Affects Versions: 2.0
>            Reporter: Ted Kirby
>         Attachments: GD-171.patch
>
>
> Replace:
> console=Geronimo Console
> consoleTooltip=Apache Geronimo Console
> with:
> console={0} Console
> consoleTooltip={0} Console
> in 
> eclipse-plugin\plugins\org.apache.geronimo.st.ui\src\org\apache\geronimo\st\ui\internal\Messages.properties,
>  and allow the server name to be determined by server.getName().
> This allows for an extensible approach, for servers based on Geronimo.  No 
> change is required to support other servers.
> In this particular case, 
> plugins\org.apache.geronimo.st.ui\src\org\apache\geronimo\st\ui\actions\LaunchGeronimoConsoleAction.G_SERVER_PREFIX
>   is hard-coded to "org.apache.geronimo".  It would be nice if this could be 
> paramterized in some fashion to avoid having to replace the class in its 
> entirety, just to change this value to determine if the "Launch {ServerName} 
> Console" menu item should be activated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to