public class AddLayer
extends org.gvsig.andami.plugins.Extension
| Constructor and Description |
|---|
AddLayer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addLayers(org.gvsig.fmap.mapcontext.MapContext mapContext)
Opens the AddLayer dialog, and adds the selected layers to the provided
MapContext.
|
boolean |
addLayers(org.gvsig.fmap.mapcontrol.MapControl mapControl)
Opens the AddLayer dialog, and adds the selected layers to the provided
mapControl.
|
boolean |
addLayers(org.gvsig.fmap.mapcontrol.MapControl mapControl,
boolean wait) |
static void |
addWizard(java.lang.Class<? extends WizardPanel> wpClass) |
static void |
checkProjection(org.gvsig.fmap.mapcontext.layers.FLayer lyr,
org.gvsig.fmap.mapcontext.ViewPort viewPort) |
static AddLayerDialog |
createAddLayerDialog(org.gvsig.fmap.mapcontrol.MapControl mapControl,
org.gvsig.fmap.mapcontext.MapContext mapContext,
java.util.List<java.io.File> files) |
static AddLayerDialog |
createAddLayerDialog(org.gvsig.fmap.mapcontrol.MapControl mapControl,
org.gvsig.fmap.mapcontext.MapContext mapContext,
java.util.List<java.io.File> files,
org.gvsig.tools.arguments.Arguments args)
Creates FOpenDialog, and adds file tab, and additional registered tabs
|
void |
execute(java.lang.String actionCommand) |
void |
execute(java.lang.String command,
java.lang.Object[] args) |
void |
initialize() |
boolean |
isEnabled() |
boolean |
isVisible() |
void |
postInitialize() |
public boolean addLayers(org.gvsig.fmap.mapcontext.MapContext mapContext)
addLayers(MapControl) method.mapContext - The MapContext to add the layers totrue if any layer has been added.public boolean addLayers(org.gvsig.fmap.mapcontrol.MapControl mapControl)
mapControl - The MapControl to add the layers totrue if any layer has been added.public boolean addLayers(org.gvsig.fmap.mapcontrol.MapControl mapControl,
boolean wait)
public static void addWizard(java.lang.Class<? extends WizardPanel> wpClass)
public static void checkProjection(org.gvsig.fmap.mapcontext.layers.FLayer lyr,
org.gvsig.fmap.mapcontext.ViewPort viewPort)
public static AddLayerDialog createAddLayerDialog(org.gvsig.fmap.mapcontrol.MapControl mapControl, org.gvsig.fmap.mapcontext.MapContext mapContext, java.util.List<java.io.File> files)
public static AddLayerDialog createAddLayerDialog(org.gvsig.fmap.mapcontrol.MapControl mapControl, org.gvsig.fmap.mapcontext.MapContext mapContext, java.util.List<java.io.File> files, org.gvsig.tools.arguments.Arguments args)
mapControl - mapContext - files - args - public void execute(java.lang.String actionCommand)
public void execute(java.lang.String command,
java.lang.Object[] args)
execute in interface org.gvsig.andami.plugins.IExtensionExecuteWithArgsexecute in class org.gvsig.andami.plugins.Extensionpublic void initialize()
public boolean isEnabled()
public boolean isVisible()
public void postInitialize()
postInitialize in interface org.gvsig.andami.plugins.IExtensionpostInitialize in class org.gvsig.andami.plugins.ExtensionCopyright © 2024 gvSIG Association. All rights reserved.