Java Doc for MapEditor.java in  » GIS » udig-1.1 » net » refractions » udig » project » ui » internal » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » udig 1.1 » net.refractions.udig.project.ui.internal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.refractions.udig.project.ui.internal.MapEditor

MapEditor
public class MapEditor extends EditorPart implements IDropTargetProvider,IAdaptable(Code)
This class is the Eclipse editor Part in which a ViewportPane is embedded. The ViewportPane displays and edits Maps. MapViewport is used to intialize ViewportPane and the RenderManager.
author:
   Jesse Eichar
version:
   $Revision: 1.9 $

Inner Class :class ScaleRatioLabel extends ContributionItem implements KeyListener,FocusListener
Inner Class :class StatusBarButton extends ContributionItem

Field Summary
final public static  StringID
    
 IEditManagerListenereditListener
    
final  MapEditoreditor
    
public  booleanisTesting
    
 ILayerListenerlayerListener
    
protected  Mapmap
    
 IMapCompositionListenermapCompositionListener
    
 IMapListenermapListener
    
 Menumenu
    
 IPartListener2partlistener
    
 RenderManagerrenderManager
    
final  StatusLineManagerstatusLineManager
    

Constructor Summary
public  MapEditor()
     Creates a new MapViewport object.

Method Summary
 voidcreateContextMenu()
    
public  voidcreatePartControl(Composite parent)
    
protected synchronized  voidderegisterFeatureFlasher()
    
public  voiddispose()
    
public  voiddoSave(IProgressMonitor monitor)
    
public  voiddoSaveAs()
    
 voiddoUpdateScaleLabel()
    
public  SubActionBars2getActionbar()
     Returns the ActionbarContributor for the Editor.
public  ObjectgetAdapter(Class adaptee)
    
public  CompositegetComposite()
    
public  UDIGDropHandlergetDropHandler()
    
public  MapgetMap()
    
public  MapEditorSitegetMapEditorSite()
    
protected  IActiongetPropertiesAction()
    
public  ObjectgetTarget(DropTargetEvent event)
    
public  voidinit(IEditorSite site, IEditorInput input)
    
public  booleanisDirty()
    
public  booleanisDragging()
    
public  booleanisSaveAsAllowed()
    
public  booleanisSaveOnCloseNeeded()
    
public  booleanisVisible()
    
public  voidopenContextMenu()
     Opens the map's context menu.
protected synchronized  voidregisterFeatureFlasher()
     registers a listener with the current page that flashes a feature each time the current selected feature changes.
 voidsetDirty(boolean dirty)
    
public  voidsetDragging(boolean enable)
     Enables or disables dragging (drag and drop) from the map editor.
public  voidsetFocus()
    
 voidsetFont(Control textArea2)
    
protected  voidsetInput(IEditorInput input)
    
public  voidsetSelectionProvider(IMapEditorSelectionProvider selectionProvider)
    
public  StringtoString()
    
protected  voidupdateCRS()
     Updates the crs label in the statusbar.
protected  voidupdateScaleLabel()
    

Field Detail
ID
final public static String ID(Code)
The id of the MapViewport View



editListener
IEditManagerListener editListener(Code)



editor
final MapEditor editor(Code)



isTesting
public boolean isTesting(Code)
This is for testing only DO NOT USE OTHERWISE



layerListener
ILayerListener layerListener(Code)



map
protected Map map(Code)



mapCompositionListener
IMapCompositionListener mapCompositionListener(Code)



mapListener
IMapListener mapListener(Code)



menu
Menu menu(Code)



partlistener
IPartListener2 partlistener(Code)



renderManager
RenderManager renderManager(Code)



statusLineManager
final StatusLineManager statusLineManager(Code)




Constructor Detail
MapEditor
public MapEditor()(Code)
Creates a new MapViewport object.




Method Detail
createContextMenu
void createContextMenu()(Code)



createPartControl
public void createPartControl(Composite parent)(Code)

See Also:   org.eclipse.ui.IWorkbenchPart.createPartControl(org.eclipse.swt.widgets.Composite)



deregisterFeatureFlasher
protected synchronized void deregisterFeatureFlasher()(Code)



dispose
public void dispose()(Code)

See Also:   org.eclipse.ui.IWorkbenchPart.dispose



doSave
public void doSave(IProgressMonitor monitor)(Code)

See Also:   org.eclipse.ui.ISaveablePart.doSave(org.eclipse.core.runtime.IProgressMonitor)



doSaveAs
public void doSaveAs()(Code)

See Also:   org.eclipse.ui.ISaveablePart.doSaveAs



doUpdateScaleLabel
void doUpdateScaleLabel()(Code)



getActionbar
public SubActionBars2 getActionbar()(Code)
Returns the ActionbarContributor for the Editor. the ActionbarContributor for the Editor.



getAdapter
public Object getAdapter(Class adaptee)(Code)



getComposite
public Composite getComposite()(Code)
Returns the composite.



getDropHandler
public UDIGDropHandler getDropHandler()(Code)



getMap
public Map getMap()(Code)
Returns the map that this editor edits Returns the map that this editor edits



getMapEditorSite
public MapEditorSite getMapEditorSite()(Code)



getPropertiesAction
protected IAction getPropertiesAction()(Code)



getTarget
public Object getTarget(DropTargetEvent event)(Code)



init
public void init(IEditorSite site, IEditorInput input)(Code)

See Also:   org.eclipse.ui.IEditorPart.init(org.eclipse.ui.IEditorSiteorg.eclipse.ui.IEditorInput)



isDirty
public boolean isDirty()(Code)

See Also:   org.eclipse.ui.ISaveablePart.isDirty



isDragging
public boolean isDragging()(Code)



isSaveAsAllowed
public boolean isSaveAsAllowed()(Code)

See Also:   org.eclipse.ui.ISaveablePart.isSaveAsAllowed



isSaveOnCloseNeeded
public boolean isSaveOnCloseNeeded()(Code)

See Also:   org.eclipse.ui.part.EditorPart.isSaveOnCloseNeeded



isVisible
public boolean isVisible()(Code)



openContextMenu
public void openContextMenu()(Code)
Opens the map's context menu.



registerFeatureFlasher
protected synchronized void registerFeatureFlasher()(Code)
registers a listener with the current page that flashes a feature each time the current selected feature changes.



setDirty
void setDirty(boolean dirty)(Code)



setDragging
public void setDragging(boolean enable)(Code)
Enables or disables dragging (drag and drop) from the map editor.



setFocus
public void setFocus()(Code)

See Also:   org.eclipse.ui.IWorkbenchPart.setFocus



setFont
void setFont(Control textArea2)(Code)



setInput
protected void setInput(IEditorInput input)(Code)

See Also:   org.eclipse.ui.part.EditorPart.setInput(org.eclipse.ui.IEditorInput)



setSelectionProvider
public void setSelectionProvider(IMapEditorSelectionProvider selectionProvider)(Code)



toString
public String toString()(Code)



updateCRS
protected void updateCRS()(Code)
Updates the crs label in the statusbar.



updateScaleLabel
protected void updateScaleLabel()(Code)
Makes sure the scale is displayed



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.