Only refresh the TOC when necessary, use repaint otherwise (fixes: #2985). Set DPIs on the Viewport when printing.
Make the window wider
Ensure that the persisted scale is correctly recovered when opening the project. Use the extentHistory to access the previous extent. Automatically notify FFrames implementing LayoutPanelListener whenever the LayoutPanel is activated or closed. This allows updating the scale control only when needed
Restore some old methods as deprecated for backwards-compatiblity
Load the sync extent checkbox as disabled when scale or extent is fixed. Completes fix for #2930
Deselect sync extent when he checkbox is disabled. Fixes #2930
Reworked layout of GridProperties window. Fixes #2909
Ensure the grid is correctly created even if not configured. Set the newFFrameView from the beginning, so that we can set the mapcontext as soon as we choose a view. Completes the fixes for #2875
Ensure mapcontext is not null. Possibly fixes #2875.
Add PreviousZoom tool. Separe tools on different extensions as they require a different isEnabled behaviour. Complete translations. Execute enableControls after zooming, panning and accessing the FFrameView dialog to set the correct status for buttons
Complete translations. Use localized text on units combo
Improve FFrameGrid options, providing sensible defaults, allowing to choose the number of divisions and providing some label settings
DecimalFormatPanel added
Correct errors on FFrameGrid draw method. Labels and lines were not painted on the right place. Now it has been corrected and we use round nombers. Also, skip drawing if the view still has no extent (no layer added)
Add the option to set a fixed scale or extend on FFrameView. Add support for non-modal fframe dialogs.
Avoid introducing a scale change when a pan is triggered from the view
Adapt FFrameOverView to the last changes in FFrameView. Ensure we draw an image not bigger than visible area, to avoid OutOfMemory exceptions when a zoom to paper is done (in the same way it was done to FFrameView)
Declare missing persistence fields
Correctly handle rotation when zooming in and out to the paper
Code clean up
Better handling of selection of rotated frames. Code clean up and documentation.
Stop being so disruptive when typing a wrong number. Now validation error is only shown when focus is lost or enter is pressed, and only if the text has changed since last error
Consider also negative rotation
Correctly save/restore grid gap from preferences; add units to grid gap; refactor, document and clean up Size and Attributes. Refactor and clean up preDraw and postDraw in FFrameView. Introduce the basis for correct drawing of rotated fframes when zoom to paper is applied (has to be completed).
Don't set a size nor preferred size for the whole component: it is unnecessary as subcomponents already define their preferred size
Correct drawing of rotated FFrameViews, which were previously misplaced
Remove redundant extent assignmements
Complete the UI and logic for the new behaviour for View-Layout synchronization. Clean up unused code. Restore definition of unused field for backward compatibility
Adapt dialog to GridBagLayout to prepare it to further changes
Added the possibility to add a view from the map configuration options, to be shown when creating a new Layout document
Correctly handle "Enlace vivo" events
Set the select tool as default tool, and always fall back to this tool after adding any fframe (view, scale, north, etc)
Use a single b_udpating flag for synchronization, in order to avoid infinite loops and simplify logic.In clone(), ensure the new listener objects are created before any other property is set
Draw only the visible area of the FFrameView
Correctly handle scale when loading Layout documents from Project. Complete some Javadocs and clean up obsolete code
Ensure a font is assigned, as it is a mandatory field
Correct some selection problems on TOC, happening only with projects loaded from persistence
Directly notify frame additions/removals to the Frame instead of using events, as DefaultLayoutContext does not have the full overview of additions/removals.Don't refresh extent after setting image size as it triggers chained extentChanged events
Move plugin v2 to trunk
Rename plugin name
Rename plugin folder
Backup commit. Complete TOC persistence
Correct synchronization and notification issues. Specify the component to remove from the lateral panel.
Add persistence to TOC object. Correct undo weird behaviour that duplicated restored objects
Add TOC support on Layout
Ensure clone creates new listeners
Simplified and centralized the synchronization process between the Layout and the associated View
Backup commit: draw FFrameView using screen size; update the Layout if there is changes on the view
(Backup commit) AddLayers and Scale control for Layout document
New branch for implementing performance and usability improvements to be integrated on gvSIG 2.2.
Get DPIs from ViewPort instead of using MapContext static method
Added to svn:ignore .project, .settings and .classpath files
#2394 Fixed refreshment of icon and renamed icon to prevent conflict with icon of another plugin
Reduced window height
#2290 Catching exception and drawing error message in layout view frame.
#1265 Removed unnecessary automatic resizing of point and set initial color to black
#1271 Using a new dialog which hides unneeded size option (that is chosen elsewhere)
#448 Added warning dialog and restrictions to prevent drawing a view with layers in editing mode
#1847 Layout grid fits the paper limits instead the inserted view limits.
Added utility method to allow map rotation different from frame rotation
Fixed printing of overview
Added utility method to remove items
Protecting against out of memory error
Do not offer frames which don't have a view associated when adding overview
Added missing print method and improved drawing of AOI box
Increased visibility of some methods for subclasses
Increased visibility of some methods/fields to allow access from subclass
#1875 Restored offset and image size in print method
Changed parameter class to superinterface
Improved disposal of images
#1325 Prevented refreshment of extent when frame not linked to view. Also fixed mouse events coordinates management
#1397 Fixed drawing and persistence of overview frame in layout
Fixing and trying to clarify cloning and notifications of FFrameView objects
#1231 Fixed management of legend frame. Layer name will be shown if no legend image is available
#1321 Fixed how view is painted in layout frame
#1310 Changed persisted value (Rectangle -> Rectangle2D) and persisted text
#1267 Check field is not null before cloning (that field is permanently being set, so it can be null)
#1047 Added folder with SVG north symbols and fixed path in code
#951 Effectively cloning bbox and geometry (adapter) of graphics frame. There are probably a lot of little bugs like this in the management of frames in layout.
Moved gvsig-document-layout-app to new repo