~berthold-daum/zora/trunk

« back to all changes in this revision

Viewing changes to com.bdaum.zoom.ui/src/com/bdaum/zoom/ui/internal/views/ExhibitionView.java

  • Committer: bdaum
  • Date: 2015-12-26 10:21:51 UTC
  • Revision ID: berthold.daum@bdaum.de-20151226102151-44f1j5113167thb9
VersionĀ 2.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
2942
2942
                                        askForDefault = rooms.length > 1;
2943
2943
                                        dialog = new AcousticMessageDialog(
2944
2944
                                                        getSite().getShell(),
2945
 
                                                        Messages.getString("ExhibitionView.overwrite"), //$NON-NLS-1$
 
2945
                                                        Messages.getString("ExhibitionView.overwriteTitle"), //$NON-NLS-1$
2946
2946
                                                        null,
2947
2947
                                                        NLS.bind(
2948
2948
                                                                        Messages.getString("ExhibitionView.exhibition_exists"), file), //$NON-NLS-1$
2968
2968
                        } else {
2969
2969
                                dialog = new AcousticMessageDialog(
2970
2970
                                                getSite().getShell(),
2971
 
                                                Messages.getString("ExhibitionView.overwrite"), //$NON-NLS-1$
 
2971
                                                Messages.getString("ExhibitionView.overwriteTitle"), //$NON-NLS-1$
2972
2972
                                                null,
2973
2973
                                                NLS.bind(
2974
2974
                                                                Messages.getString("ExhibitionView.not_empty"), file), //$NON-NLS-1$
3070
3070
        }
3071
3071
 
3072
3072
        @Override
3073
 
        protected PBounds getClientArea() {
 
3073
        protected PBounds getClientAreaReference() {
3074
3074
                PBounds bounds = new PBounds(0, 0, 0, 0);
3075
3075
                for (PWall pwall : walls) {
3076
 
                        PBounds b1 = pwall.getBounds();
 
3076
                        PBounds b1 = pwall.getBoundsReference();
3077
3077
                        if (b1.getX() < bounds.x)
3078
3078
                                bounds.x = b1.getX();
3079
3079
                        if (b1.getY() < bounds.y)