~yrke/tapaal/java11

« back to all changes in this revision

Viewing changes to src/pipe/dataLayer/Template.java

merged in lp:~tapaal-contributor/tapaal/show-smart-draw-dialog-PNML-1856544 calling automatic layout tool if position information is missing

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
        private TimedArcPetriNet net;
9
9
        private DataLayer guiModel;
10
10
        private Zoomer zoomer;
 
11
        private boolean hasPositionalInfo = false;
11
12
        
12
13
        public Template(TimedArcPetriNet net, DataLayer guiModel, Zoomer zoomer) {
13
14
                this.net = net;
51
52
                return zoomer;
52
53
        }
53
54
        
 
55
        public boolean getHasPositionalInfo() {
 
56
                return hasPositionalInfo;
 
57
        }
 
58
        
 
59
        public void setHasPositionalInfo(boolean positionalInfo) {
 
60
                hasPositionalInfo = positionalInfo;
 
61
        }
 
62
        
54
63
        @Override
55
64
        public boolean equals(Object obj) {
56
65
                if(obj instanceof Template){