|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.tool.info.InfoDisplay
public abstract class InfoDisplay
An InfoPanel is used to display a specific LayerPointInfo.
This interface is used by the net.refractions.udig.info.infoPanel extention point to teach the InfoTool new tricks. The extention point defines what MIME type this InfoPanel can respond to.
Responsibility is based on MIME type.
I am a bit concerned that we will need to have LayerPointInfo remember the http request. That is; as much as WMS wants to make requests on its own - this is not what we need.
Constructor Summary | |
---|---|
InfoDisplay()
|
Method Summary | |
---|---|
abstract void |
createDisplay(Composite parent)
Creates the SWT controls for this InfoDisplay. |
void |
dispose()
Clean up any used resources |
abstract Control |
getControl()
Access control created by createDisplay. |
boolean |
isUrlRequired()
Some displays, like a browser, requre a url to function. |
abstract void |
setInfo(LayerPointInfo info)
Called by the InfoView to request display. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InfoDisplay()
Method Detail |
---|
public boolean isUrlRequired()
public abstract Control getControl()
public abstract void createDisplay(Composite parent)
For implementors this is a multi-step process:
parent
- the parent controlpublic abstract void setInfo(LayerPointInfo info)
This method is called just before getControl().setVisiable().
info
- LayerPointInfo to display, or null to disable.public void dispose()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |