Adding start and end arrows to relationship lines
This commit is contained in:
@@ -99,6 +99,8 @@ public class FreemindExporter
|
||||
arrowlink.setDESTINATION(dstNode.getID());
|
||||
if(relationship.isEndArrow())
|
||||
arrowlink.setENDARROW("Default");
|
||||
if(relationship.isStartArrow())
|
||||
arrowlink.setSTARTARROW("Default");
|
||||
List<Object> cloudOrEdge = srcNode.getArrowlinkOrCloudOrEdge();
|
||||
cloudOrEdge.add(arrowlink);
|
||||
}
|
||||
|
@@ -323,7 +323,8 @@ public class FreemindImporter
|
||||
inclination = arrow.getSTARTINCLINATION().split(";");
|
||||
relationship.setSrcCtrlPoint(inclination[0]+","+inclination[1]);
|
||||
//relationship.setCtrlPointRelative(true);
|
||||
relationship.setEndArrow(!arrow.getENDARROW().equals("None"));
|
||||
relationship.setEndArrow(!arrow.getENDARROW().toLowerCase().equals("none"));
|
||||
relationship.setStartArrow(!arrow.getSTARTARROW().toLowerCase().equals("none"));
|
||||
relationship.setLineType("3");
|
||||
relationships.add(relationship);
|
||||
}
|
||||
|
@@ -59,7 +59,7 @@
|
||||
<xsd:attribute name="srcCtrlPoint" type="xsd:string"/>
|
||||
<xsd:attribute name="destCtrlPoint" type="xsd:string"/>
|
||||
<xsd:attribute name="endArrow" type="xsd:boolean"/>
|
||||
<xsd:attribute name="ctrlPointRelative" type="xsd:boolean"/>
|
||||
<xsd:attribute name="startArrow" type="xsd:boolean"/>
|
||||
</xsd:complexType>
|
||||
|
||||
</xsd:schema>
|
@@ -2,7 +2,7 @@
|
||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2011.01.11 at 06:58:42 PM ART
|
||||
// Generated on: 2011.01.16 at 11:06:29 AM ART
|
||||
//
|
||||
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2011.01.11 at 06:58:42 PM ART
|
||||
// Generated on: 2011.01.16 at 11:06:29 AM ART
|
||||
//
|
||||
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2011.01.11 at 06:58:42 PM ART
|
||||
// Generated on: 2011.01.16 at 11:06:29 AM ART
|
||||
//
|
||||
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2011.01.11 at 06:58:42 PM ART
|
||||
// Generated on: 2011.01.16 at 11:06:29 AM ART
|
||||
//
|
||||
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2011.01.11 at 06:58:42 PM ART
|
||||
// Generated on: 2011.01.16 at 11:06:29 AM ART
|
||||
//
|
||||
|
||||
|
||||
@@ -50,19 +50,11 @@ public class ObjectFactory {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Map }
|
||||
* Create an instance of {@link Icon }
|
||||
*
|
||||
*/
|
||||
public Map createMap() {
|
||||
return new Map();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Link }
|
||||
*
|
||||
*/
|
||||
public Link createLink() {
|
||||
return new Link();
|
||||
public Icon createIcon() {
|
||||
return new Icon();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -73,6 +65,14 @@ public class ObjectFactory {
|
||||
return new TopicType();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Map }
|
||||
*
|
||||
*/
|
||||
public Map createMap() {
|
||||
return new Map();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link RelationshipType }
|
||||
*
|
||||
@@ -82,11 +82,11 @@ public class ObjectFactory {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Icon }
|
||||
* Create an instance of {@link Link }
|
||||
*
|
||||
*/
|
||||
public Icon createIcon() {
|
||||
return new Icon();
|
||||
public Link createLink() {
|
||||
return new Link();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -2,7 +2,7 @@
|
||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2011.01.11 at 06:58:42 PM ART
|
||||
// Generated on: 2011.01.16 at 11:06:29 AM ART
|
||||
//
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <attribute name="srcCtrlPoint" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||
* <attribute name="destCtrlPoint" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||
* <attribute name="endArrow" type="{http://www.w3.org/2001/XMLSchema}boolean" />
|
||||
* <attribute name="ctrlPointRelative" type="{http://www.w3.org/2001/XMLSchema}boolean" />
|
||||
* <attribute name="startArrow" type="{http://www.w3.org/2001/XMLSchema}boolean" />
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -57,7 +57,7 @@ public class RelationshipType {
|
||||
@XmlAttribute
|
||||
protected Boolean endArrow;
|
||||
@XmlAttribute
|
||||
protected Boolean ctrlPointRelative;
|
||||
protected Boolean startArrow;
|
||||
|
||||
/**
|
||||
* Gets the value of the id property.
|
||||
@@ -228,27 +228,27 @@ public class RelationshipType {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the ctrlPointRelative property.
|
||||
* Gets the value of the startArrow property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public Boolean isCtrlPointRelative() {
|
||||
return ctrlPointRelative;
|
||||
public Boolean isStartArrow() {
|
||||
return startArrow;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the ctrlPointRelative property.
|
||||
* Sets the value of the startArrow property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public void setCtrlPointRelative(Boolean value) {
|
||||
this.ctrlPointRelative = value;
|
||||
public void setStartArrow(Boolean value) {
|
||||
this.startArrow = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -2,7 +2,7 @@
|
||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2011.01.11 at 06:58:42 PM ART
|
||||
// Generated on: 2011.01.16 at 11:06:29 AM ART
|
||||
//
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user