|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.ui.WindowHolder
ucar.unidata.idv.IdvManager
ucar.unidata.idv.publish.PublishManager
public class PublishManager
This manages the nascent publishing facility within the IDV. This whole framework needs to be thought out a bit more but for now we have on instance of a publisher: InfoceteraBlogger that knows how to post articles and files to an infocetera web log server.
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.ui.WindowHolder |
|---|
contents, dialog, frame, window |
| Constructor Summary | |
|---|---|
PublishManager(IntegratedDataViewer idv)
Create me with the IDV |
|
| Method Summary | |
|---|---|
void |
doPublish(String title,
String filePath)
Publish the file |
void |
doPublish(String title,
String filePath,
String properties)
Publish the file |
IdvPublisher |
getPublisher()
Gets a publisher. |
List |
getPublishers()
Get the list of Publishers |
void |
initPublisher()
Initialize me |
boolean |
isPublishingEnabled()
Do we have any publishers |
boolean |
publishCheck()
If publishing is not enabled then show a user message and return false |
void |
publishMessage()
Publish a message |
void |
publishMessage(String properties)
Publish a message with the given properties(?) |
void |
publishObject(String desc,
Object object)
This xml encoders the given object as a xidv bundle file and publishes it with the given description |
void |
publishState()
Publish the idv bundle |
void |
publishState(String properties)
Publish the idv bundle |
void |
publishXml(String desc,
Element root)
Publish the xml |
void |
publishXml(String desc,
Element root,
String fileExt)
Publish the xml |
| Methods inherited from class ucar.unidata.ui.WindowHolder |
|---|
actionPerformed, close, doMakeContents, getContents, getDialog, getFrame, getWindow, getWindowTitle, isShowing, removeAll, setWindowTitle, shouldMakeDialog, show, show, showModal, toFront, windowIsClosing |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PublishManager(IntegratedDataViewer idv)
idv - The IDV| Method Detail |
|---|
public boolean isPublishingEnabled()
public boolean publishCheck()
public IdvPublisher getPublisher()
public void publishObject(String desc,
Object object)
desc - The descriptionobject - The object to encode and publish
public void publishXml(String desc,
Element root)
desc - The descriptionroot - The xml root to publish
public void publishXml(String desc,
Element root,
String fileExt)
desc - The descriptionroot - The xml root to publishfileExt - The file extensionpublic void publishMessage()
public void publishMessage(String properties)
properties - The propertiespublic void publishState()
public void publishState(String properties)
properties - The properties
public void doPublish(String title,
String filePath)
title - Title to usefilePath - The file
public void doPublish(String title,
String filePath,
String properties)
title - Title to usefilePath - The fileproperties - The propertiespublic void initPublisher()
public List getPublishers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||