|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.catalogUI.GxDocumentationView
public class GxDocumentationView
GxView that represents the metadata view.
The metadata view in ArcCatalog is represented by GxDocumentationView. Since it is a GxView, it naturally supports IGxView. However, to manipulate it, you will want to work with IGxDocumentationView. This interface allows you to do three things: edit the metadata using a custom editor through Edit, edit the metadata properties with a default editor via EditProperties, and force the metadata to be updated with respect to the object's current attributes, through Synchronize. To build a custom editor, you will need to create an object that implements IMetadataEditor, and inform the metadata extension object to use it, through its IMetadataHelper::Editor property.
GxDocumentationView also implements IGxViewPrint, to enable you to print the nice formatted metadata.
The GxDocumentationView CoClass requires the Microsoft .NET Framework 3.0 or higher and the Windows Presentation Foundation (WPF) Toolkit to be installed. The WPFToolkit.dll must be referenced.
| Constructor Summary | |
|---|---|
GxDocumentationView()
Constructs a GxDocumentationView using ArcGIS Engine. |
|
GxDocumentationView(Object obj)
Construct a GxDocumentationView using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
void |
activate(IGxApplication application,
IGxCatalog catalog)
Activates the view. |
boolean |
applies(IGxObject selection)
Indicates if the view can display the given object. |
void |
deactivate()
Deactivates the view. |
void |
edit()
Opens the current metadata editor. |
void |
editProperties()
Opens the Metadata Properties dialog box. |
boolean |
equals(Object o)
Compare this object with another |
IUID |
getClassID()
The class ID of the view. |
static String |
getClsid()
getClsid. |
IUID |
getDefaultToolbarCLSID()
The class ID of the view's default toolbar. |
int |
getHWnd()
The view's window handle. |
String |
getName()
The name of the view. |
int |
hashCode()
the hashcode for this object |
boolean |
isPrintable()
Indicates if the view can be printed. |
boolean |
isSupportsTools()
Indicates if the view supports tools. |
void |
onObjectAdded(IGxCatalogEventsOnObjectAddedEvent theEvent)
Called when an object has been added to some part of the catalog. |
void |
onObjectChanged(IGxCatalogEventsOnObjectChangedEvent theEvent)
Called when an object in some part of the catalog has been changed. |
void |
onObjectDeleted(IGxCatalogEventsOnObjectDeletedEvent theEvent)
Called when an object has been deleted from some part of the catalog. |
void |
onObjectRefreshed(IGxCatalogEventsOnObjectRefreshedEvent theEvent)
Called when an object in some part of the catalog has been refreshed. |
void |
onRefreshAll(IGxCatalogEventsOnRefreshAllEvent theEvent)
Called when the whole catalog has changed. |
void |
onSelectionChanged(IGxSelectionEventsOnSelectionChangedEvent theEvent)
Called when the selection contents have changed. |
void |
print()
Prints the view. |
void |
refresh()
Refreshes the view. |
void |
synchronize()
Writes the current property values to the metadata. |
void |
systemSettingChanged(int flag,
String section)
Informs the view that a system setting has changed. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public GxDocumentationView()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public GxDocumentationView(Object obj)
throws IOException
obj to GxDocumentationView.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
GxDocumentationView theGxDocumentationView = (GxDocumentationView) obj;| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public String getName()
throws IOException,
AutomationException
getName in interface IGxViewIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IUID getClassID()
throws IOException,
AutomationException
getClassID in interface IGxViewIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHWnd()
throws IOException,
AutomationException
getHWnd in interface IGxViewIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IUID getDefaultToolbarCLSID()
throws IOException,
AutomationException
DefaultToolbarCLSID provides a reference to the default toolbar for the particular view. The default toolbar for a view would contain tools that were appropriate for the current type of GxView.
getDefaultToolbarCLSID in interface IGxViewIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSupportsTools()
throws IOException,
AutomationException
isSupportsTools in interface IGxViewIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean applies(IGxObject selection)
throws IOException,
AutomationException
applies in interface IGxViewselection - A reference to a com.esri.arcgis.catalog.IGxObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void activate(IGxApplication application,
IGxCatalog catalog)
throws IOException,
AutomationException
activate in interface IGxViewapplication - A reference to a com.esri.arcgis.catalogUI.IGxApplication (in)catalog - A reference to a com.esri.arcgis.catalog.IGxCatalog (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deactivate()
throws IOException,
AutomationException
deactivate in interface IGxViewIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void refresh()
throws IOException,
AutomationException
refresh in interface IGxViewIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void systemSettingChanged(int flag,
String section)
throws IOException,
AutomationException
systemSettingChanged in interface IGxViewflag - The flag (in)section - The section (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void edit()
throws IOException,
AutomationException
edit in interface IGxDocumentationViewIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void editProperties()
throws IOException,
AutomationException
editProperties in interface IGxDocumentationViewIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void synchronize()
throws IOException,
AutomationException
synchronize in interface IGxDocumentationViewIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onRefreshAll(IGxCatalogEventsOnRefreshAllEvent theEvent)
throws IOException,
AutomationException
onRefreshAll in interface IGxCatalogEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onObjectAdded(IGxCatalogEventsOnObjectAddedEvent theEvent)
throws IOException,
AutomationException
onObjectAdded in interface IGxCatalogEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onObjectDeleted(IGxCatalogEventsOnObjectDeletedEvent theEvent)
throws IOException,
AutomationException
onObjectDeleted in interface IGxCatalogEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onObjectChanged(IGxCatalogEventsOnObjectChangedEvent theEvent)
throws IOException,
AutomationException
onObjectChanged in interface IGxCatalogEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onObjectRefreshed(IGxCatalogEventsOnObjectRefreshedEvent theEvent)
throws IOException,
AutomationException
onObjectRefreshed in interface IGxCatalogEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onSelectionChanged(IGxSelectionEventsOnSelectionChangedEvent theEvent)
throws IOException,
AutomationException
onSelectionChanged in interface IGxSelectionEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isPrintable()
throws IOException,
AutomationException
isPrintable in interface IGxViewPrintIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void print()
throws IOException,
AutomationException
print in interface IGxViewPrintIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||