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
Insert a view by default
Show the initial page config dialog when creating a new Layout doc. Add preference options to enable/disable this dialog and the new TOC for layout doc
Layout page properties: set proper window size and position
Correctly compute unit to cm transformation. Consider margins when creating a new view
Added the possibility to add a view from the map configuration options, to be shown when creating a new Layout document
Ensure the LayoutControl gets the focus when it is clicked; limit the key events to LayoutControl and the TOC, to avoid capturing keys if we have open dialogs
Code clean up
Correctly handle "Enlace vivo" events
Apply the delete command if the active window is a LayoutControl and ignore source, as the focus may be set on the TOC but we want to delete the frames anyway
Code clean ups
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
Don't draw the layout if the component does not have a size > 0
Use new-style access to active window
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
Modificada la extension de las plantillas del layout a ".gvslt".
refs #2524
#2394 Fixed refreshment of icon and renamed icon to prevent conflict with icon of another plugin
#2393 Fixed loading of layout template
Reduced window height
#2308 Using methods instead of fields to prevent null values
#2291 Added missing computation: from screen coordinates (layout) to true viewport coordinates.
#2290 Catching exception and drawing error message in layout view frame.
#2268 Improved behavior when layout template file is not valid
#1276 Added missing icon
#1933 Added missing booleans to persistence
Refreshing controls after changing layout properties (problem happened after setting layout to non-editable)
#2003 Fixed snapping to grid in layout
#1277 Deselecting deleted frames to prevent interference when using deletion tool in command stack
Setting low flatness temporarily to prevent polygon instead of circle
#1266 Fixed command string in extension class
#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
#1098 Fixed computation of scale in layout document plugin.
#1847 Layout grid fits the paper limits instead the inserted view limits.
Fixed icon request
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
Fixed typo in description
Fixed method call
Added missing method and removed System.out.println
Trying to clarify meaning of fields used in layout printing (margins, page size, orientation etc)
#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
#1242 Fixed action command
#1268 Fixed extension used for map templates and initialized tool to prevent NPE in LayoutEvents
#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)
#1230 Added missing methods to restore conventional printing
#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.
Fixing icon naming and management in layout-doc plugin
#1025 Added missing icon
#1024 Added missing icon
#1019 Added missing icon
#1021 Added missing icon
#1018 Added missing icon and i18n strings
#1017 Added missing icon
#1016 Added missing icon
Better icon name
#974 Fixed bad management of return value (null) when user cancels frame properties dialog
#1028 Fixed icon names and added i18n text
#1031 Using better icon
#1031 Fixed icon names and added i18n files
Improved icon name
#1046 Fixed icon names, added missing icons, fixed icon registering