|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.catalog.ui.operation.ReshapeOperation
public class ReshapeOperation
This class pops up a dialog and asks the user to fiddle with the expressions used to create a new temporary layer.
While the Dialog may be simple; this is a reasonable example at how to hack at an operation that processes data in a way that does not force all the data into memory.
However the createTemporaryResource method may use a MemoryDataStore depending on how your environment is configured.
I would like to see this class changed to be a wizard, with an option to export directly to shapefile (rather than a temporary resource ).
Constructor Summary | |
---|---|
ReshapeOperation()
|
Method Summary | |
---|---|
java.lang.String |
getNewTypeName(java.lang.String typeName)
|
void |
op(Display display,
java.lang.Object target,
IProgressMonitor monitor)
|
IGeoResource |
process(
Called to do the actual processing once we have everything set up |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReshapeOperation()
Method Detail |
---|
public void op(Display display, java.lang.Object target, IProgressMonitor monitor) throws java.lang.Exception
java.lang.Exception
public IGeoResource process(source, net.refractions.udig.catalog.ui.operation.ReshapeOperation.ReshapeDialog dialog, IProgressMonitor monitor) throws java.io.IOException
java.io.IOException
public java.lang.String getNewTypeName(java.lang.String typeName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |