Hi,
I want to add some functionality to Eclipse's help browser. I've created a new plugin, found an extension point org.eclipse.help.webapp.view and declared an extension in plugin.xml with this class:
import java.util.Locale;
import org.eclipse.help.webapp.AbstractView;
public class CustomView extends AbstractView {
@Override
public String getImageURL() {
return "";
}
@Override
public char getKey() {
return 0;
}
@Override
public String getName() {
return "Custom";
}
@Override
public String getTitle(Locale arg0) {
return "Test Title";
}
@Override
public String getURL() {
return "/";
}
@Override
public String getBasicURL() {
return getURL();
}
}
In my plugin's help/ subdirectoryI have files CustomView.jsp and CustomToolbar.jsp both containing just this test HTML:
<html>
<head>
<title>Custom help view test</title>
</head>
<body>
<p>Test</p>
</body>
</html>
Help folder is added to build.properties. Problem is that the tab displays in help browser as expected, but inside I only get error messages in "header subframe" and main area, respectively:
HTTP ERROR 404
Problem accessing /help/CustomToolbar.jsp. Reason:
/CustomToolbar.jsp
--------------------------------------------------------------------------------
Powered by Jetty://
HTTP ERROR 404
Problem accessing /help/CustomView.jsp. Reason:
/CustomView.jsp
--------------------------------------------------------------------------------
Powered by Jetty://
Could you please tell me what is wrong here? I'm running this on Eclipse platform version 3.7.0 and Java SDK 1.6.