|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ptp.pldt.common.editorHelp.CHelpBookImpl
public class CHelpBookImpl
C Help Book implementation for hover help, etc. etc. Note: this is (one of?) only package that is fully exported. For PTP 6.0, consider package re-arrangement such that only the parts that need to be accessible to downstream plug-ins (esp. outside of PTP proper and thus x-friend-able) are in the exported package. perhaps a pldt.common.internal.editorHelp package?
| Field Summary | |
|---|---|
protected Map<String,IFunctionSummary> |
funcName2FuncInfo
|
| Constructor Summary | |
|---|---|
CHelpBookImpl(String pluginId)
Constructor |
|
| Method Summary | |
|---|---|
void |
func(String fname,
String desc,
String retType,
String args)
Convenience function for filling in table info |
int |
getCHelpType()
|
IFunctionSummary |
getFunctionInfo(ICHelpInvocationContext context,
String name)
Get available info on the give function by name |
ICHelpResourceDescriptor[] |
getHelpResources(ICHelpInvocationContext context,
String name)
Get the HelpBook information for the given name (e.g. a function/API) |
IFunctionSummary[] |
getMatchingFunctions(ICHelpInvocationContext context,
String prefix)
Return a list of functions that begin with the given prefix |
String |
getTitle()
|
protected void |
setTitle(String title)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Map<String,IFunctionSummary> funcName2FuncInfo
| Constructor Detail |
|---|
public CHelpBookImpl(String pluginId)
pluginId - | Method Detail |
|---|
public String getTitle()
protected void setTitle(String title)
title - public int getCHelpType()
public IFunctionSummary getFunctionInfo(ICHelpInvocationContext context,
String name)
context - name -
public IFunctionSummary[] getMatchingFunctions(ICHelpInvocationContext context,
String prefix)
context - prefix -
public ICHelpResourceDescriptor[] getHelpResources(ICHelpInvocationContext context,
String name)
context - name -
public void func(String fname,
String desc,
String retType,
String args)
|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||