~yrke/tapaal/removeNetType

« back to all changes in this revision

Viewing changes to src/pipe/gui/TikZExporter.java

MergedĀ lp:~yrke/tapaal/testbranch-syntaxOnlyChanges

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
                        out.append(" (");
120
120
                        out.append(arc.getTarget().getId());
121
121
                        out.append(") {};\n");
122
 
                        if(arcLabel != "")
 
122
                        if(!arcLabel.equals(""))
123
123
                                out.append("%% Label for arc between " + arc.getSource().getName() + " and " + arc.getTarget().getName() + "\n");
124
124
                        out.append(arcLabel);
125
125
                }
229
229
                                out.append(place.getId());
230
230
                                out.append(".center) { };\n");
231
231
                        }
232
 
                        if (place.getAttributesVisible() || invariant != ""){
 
232
                        if (place.getAttributesVisible() || !invariant.equals("")){
233
233
                                out.append("%% label for place " + place.getName() + "\n");
234
234
                                out.append("\\draw (");
235
235
                                out.append(RoundCoordinate(place.getNameLabel().getXPosition()) + "," + (RoundCoordinate(place.getNameLabel().getYPosition()) * -1) + ")");
237
237
                                out.append("{");
238
238
                                if(place.getAttributesVisible())
239
239
                                        out.append(exportMathName(place.getName()));                                    
240
 
                                if(invariant != "") {
 
240
                                if(!invariant.equals("")) {
241
241
                                        if((place.getAttributesVisible()))
242
242
                                                out.append("\\\\");
243
243
                                        out.append(invariant);