~andreas.hoelzl/jhelioviewer/jhv-formatting

« back to all changes in this revision

Viewing changes to viewmodel/src/org/helioviewer/viewmodel/view/AbstractLayeredView.java

  • Committer: Markus Langenberg
  • Date: 2010-02-22 22:49:30 UTC
  • mfrom: (14.2.113 jhv-opengl)
  • Revision ID: markus.langenberg@rwth-aachen.de-20100222224930-i6apkych4j3rku7q
Merged with Markus' branch, including a lot of smaller fixes and improvements (borders, shaders, statuspanel, movie export, cleanups)

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
    /**
146
146
     * {@inheritDoc}
147
147
     */
148
 
    public void addLayer(View newLayer, int newIndex) {
 
148
    public synchronized void addLayer(View newLayer, int newIndex) {
149
149
        if (newLayer == null) {
150
150
            return;
151
151
        }
190
190
    /**
191
191
     * {@inheritDoc}
192
192
     */
193
 
    public void removeLayer(View view) {
 
193
    public synchronized void removeLayer(View view) {
194
194
        if(view == null) {
195
195
                return;
196
196
        }