Author: kono
Date: 2009-04-02 16:07:44 -0700 (Thu, 02 Apr 2009)
New Revision: 16449
Modified:
core3/vizmap-impl/trunk/src/main/java/org/cytoscape/view/vizmap/internal/VisualStyleImpl.java
Log:
New constructor and methods had been added (for title).
Modified:
core3/vizmap-impl/trunk/src/main/java/org/cytoscape/view/vizmap/internal/VisualStyleImpl.java
===================================================================
---
core3/vizmap-impl/trunk/src/main/java/org/cytoscape/view/vizmap/internal/VisualStyleImpl.java
2009-04-02 23:01:51 UTC (rev 16448)
+++
core3/vizmap-impl/trunk/src/main/java/org/cytoscape/view/vizmap/internal/VisualStyleImpl.java
2009-04-02 23:07:44 UTC (rev 16449)
@@ -64,14 +64,20 @@
private Map<VisualProperty<?>, Object> perVSDefaults;
private CyEventHelper eventHelper;
private VisualPropertyCatalog vpCatalog;
+
+ private String title;
+ public VisualStyleImpl(final CyEventHelper eventHelper, final
VisualPropertyCatalog vpCatalog) {
+ this(eventHelper, vpCatalog, "");
+ }
+
/**
* Creates a new VisualStyleImpl object.
*
* @param eventHelper DOCUMENT ME!
* @param vpCatalog DOCUMENT ME!
*/
- public VisualStyleImpl(final CyEventHelper eventHelper, final
VisualPropertyCatalog vpCatalog) {
+ public VisualStyleImpl(final CyEventHelper eventHelper, final
VisualPropertyCatalog vpCatalog, final String title) {
if (eventHelper == null)
throw new NullPointerException("CyEventHelper is null");
@@ -82,6 +88,7 @@
this.vpCatalog = vpCatalog;
calculators = new HashMap<VisualProperty<?>,
MappingCalculator>();
perVSDefaults = new HashMap<VisualProperty<?>, Object>();
+ this.title = title;
}
/**
@@ -184,4 +191,12 @@
column.setValues(new HashMap<View<V>, T>(), views);
}
}
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---