Revision 1757 trunk/org.gvsig.app.document.layout2.app/org.gvsig.app.document.layout2.app.mainplugin/src/main/java/org/gvsig/app/extension/LayoutMainExtension.java
LayoutMainExtension.java | ||
---|---|---|
96 | 96 |
import org.gvsig.filedialogchooser.FileDialogChooserManager; |
97 | 97 |
import org.gvsig.gui.beans.swing.JFileChooser; |
98 | 98 |
import org.gvsig.i18n.Messages; |
99 |
import org.gvsig.layout.mapbox.MapBoxUtils; |
|
100 |
import org.gvsig.layout.mapbox.panel.menu.AddColumnMapBoxMenuEntry; |
|
101 |
import org.gvsig.layout.mapbox.panel.menu.AddRowMapBoxMenuEntry; |
|
102 |
import org.gvsig.layout.mapbox.panel.menu.CombineCellsMapBoxMenuEntry; |
|
103 |
import org.gvsig.layout.mapbox.panel.menu.InsertColumnMapBoxMenuEntry; |
|
104 |
import org.gvsig.layout.mapbox.panel.menu.InsertRowMapBoxMenuEntry; |
|
105 |
import org.gvsig.layout.mapbox.panel.menu.RemoveCellsMapBoxMenuEntry; |
|
106 |
import org.gvsig.layout.mapbox.panel.menu.RemoveColumnMapBoxMenuEntry; |
|
107 |
import org.gvsig.layout.mapbox.panel.menu.RemoveRowMapBoxMenuEntry; |
|
108 |
import org.gvsig.layout.mapbox.panel.menu.SplitCellsHorizontallyMapBoxMenuEntry; |
|
109 |
import org.gvsig.layout.mapbox.panel.menu.SplitCellsVerticallyMapBoxMenuEntry; |
|
110 | 99 |
import org.gvsig.tools.ToolsLocator; |
111 | 100 |
import org.gvsig.tools.extensionpoint.ExtensionPointManager; |
112 | 101 |
import org.gvsig.tools.i18n.I18nManager; |
... | ... | |
130 | 119 |
private static final Logger logger = LoggerFactory |
131 | 120 |
.getLogger(FFrameView.class); |
132 | 121 |
|
133 |
private String templatesPath; |
|
134 |
|
|
135 | 122 |
public static final String LAYOUT_TEMPLATE_FILECHOOSER_ID = "LAYOUT_TEMPLATE_FILECHOOSER_ID"; |
136 | 123 |
|
137 | 124 |
private void registerIcons() { |
... | ... | |
360 | 347 |
layoutManager.registerFFrameDialog( |
361 | 348 |
FFrameGrid.PERSISTENCE_DEFINITION_NAME, FFrameGridDialog.class); |
362 | 349 |
|
363 |
MapBoxUtils.register(layoutManager); |
|
364 |
|
|
365 | 350 |
FFrame.initializeIcons(); |
366 | 351 |
FFrameTable.initializeIcons(); |
367 | 352 |
} |
... | ... | |
393 | 378 |
PositionLayoutMenuEntry.class); |
394 | 379 |
layoutManager.registerLayoutMenuAction("Refresh", |
395 | 380 |
RefreshLayoutMenuEntry.class); |
396 |
layoutManager.registerLayoutMenuAction("CombineCells", |
|
397 |
CombineCellsMapBoxMenuEntry.class); |
|
398 |
layoutManager.registerLayoutMenuAction("SplitCellsVertically", |
|
399 |
SplitCellsVerticallyMapBoxMenuEntry.class); |
|
400 |
layoutManager.registerLayoutMenuAction("SplitCellsHorizontally", |
|
401 |
SplitCellsHorizontallyMapBoxMenuEntry.class); |
|
402 |
layoutManager.registerLayoutMenuAction("InsertColumnMapBoxMenuEntry", |
|
403 |
InsertColumnMapBoxMenuEntry.class); |
|
404 |
layoutManager.registerLayoutMenuAction("AddColumnMapBoxMenuEntry", |
|
405 |
AddColumnMapBoxMenuEntry.class); |
|
406 |
layoutManager.registerLayoutMenuAction("InsertRowMapBoxMenuEntry", |
|
407 |
InsertRowMapBoxMenuEntry.class); |
|
408 |
layoutManager.registerLayoutMenuAction("AddRowMapBoxMenuEntry", |
|
409 |
AddRowMapBoxMenuEntry.class); |
|
410 |
layoutManager.registerLayoutMenuAction("RemoveColumnMapBoxMenuEntry", |
|
411 |
RemoveColumnMapBoxMenuEntry.class); |
|
412 |
layoutManager.registerLayoutMenuAction("RemoveRowMapBoxMenuEntry", |
|
413 |
RemoveRowMapBoxMenuEntry.class); |
|
414 |
layoutManager.registerLayoutMenuAction("RemoveCellsMapBoxMenuEntry", |
|
415 |
RemoveCellsMapBoxMenuEntry.class); |
|
416 | 381 |
|
417 | 382 |
} |
418 | 383 |
|
Also available in: Unified diff