Author: paperwing
Date: 2012-02-12 18:49:32 -0800 (Sun, 12 Feb 2012)
New Revision: 28245
Modified:
csplugins/trunk/toronto/yuedong/multi_renderer/api/presentation-api/src/main/java/org/cytoscape/view/presentation/RenderingEngineFactoryManager.java
Log:
Updated methods in RenderingEngineFactoryManager with regards to returning null
for the default renderer ID if no RenderingEngineFactory objects are available.
Modified:
csplugins/trunk/toronto/yuedong/multi_renderer/api/presentation-api/src/main/java/org/cytoscape/view/presentation/RenderingEngineFactoryManager.java
===================================================================
---
csplugins/trunk/toronto/yuedong/multi_renderer/api/presentation-api/src/main/java/org/cytoscape/view/presentation/RenderingEngineFactoryManager.java
2012-02-13 02:46:24 UTC (rev 28244)
+++
csplugins/trunk/toronto/yuedong/multi_renderer/api/presentation-api/src/main/java/org/cytoscape/view/presentation/RenderingEngineFactoryManager.java
2012-02-13 02:49:32 UTC (rev 28245)
@@ -18,9 +18,11 @@
}
/**
- * Returns the renderer ID of the default renderer. If there is only 1
renderer available, its ID will be returned as the default.
+ * Returns the renderer ID of the default renderer. If there is only 1
renderer available, its ID will be returned as the default. If none are
available,
+ * returns <code>null</code>.
*
- * @return The renderer ID of the default renderer, which is the ID of
the sole renderer if there is only one available.
+ * @return The renderer ID of the default renderer, which is the ID of
the sole renderer if there is only one available. If
+ * none are available, returns <code>null</code>.
*/
public String getDefaultRendererID();
@@ -42,7 +44,7 @@
/**
* If one exists, returns the {@link RenderingEngineFactory} associated
with the given renderer ID and renderer type. Otherwise,
- * returns null.
+ * returns <code>null</code>.
*
* @param rendererID The ID of the renderer, which is the renderer name.
* @param rendererType The type of the renderer, such as bird's eye
view or main, via the {@link RenderingEngineFactoryType} enumeration.
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.