|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.framework.BasePropertyPage com.esri.arcgis.server.BaseSOEPropertyPage
public abstract class BaseSOEPropertyPage
BaseSOEPropertyPage is the base class which Java implementations of a Server Object Extension(SOE) property page should extend from.
Implementations of an SOE Property page should define a Java user interface that derives from javax.swing.JFrame
.
It is recommended to keep the implementation of the user interface seperate from the implementation of the class that derives
from BaseSOEPropertyPage. For example,
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.catalogUI.IAGSSOEParameterPage |
---|
IID, IID2cc34141_016d_4ec0_913e_4d803ee43b8f, xxDummy |
Fields inherited from interface com.esri.arcgis.framework.IComPropertyPage |
---|
IID, IID76951cc6_dbb1_11d2_b868_00600802e603, xxDummy |
Constructor Summary | |
---|---|
BaseSOEPropertyPage()
|
Method Summary | |
---|---|
boolean |
applies(ISet objects)
Indicates if the page applies to the specified objects. |
void |
apply()
Applies any changes to the object(s). |
abstract void |
apply(HashMap soPropMap,
HashMap extnPropMap)
Applies changes to the Server Object and Server Object Extension properties. |
IPropertySet |
getExtensionProperties()
Extension Properties. |
int |
getPriority()
The page priority. |
abstract String |
getServerObjectExtensionType()
Server object extension type. |
IPropertySet |
getServerObjectProperties()
Extension Properties. |
abstract String |
getServerObjectType()
Server object type. |
String |
getTitle()
The title of the property page. |
JFrame |
initGUI()
|
abstract JFrame |
initGUI(HashMap soPropMap,
HashMap extnPropMap)
Initializes the User Interface with default Server Object and Server Object Extension properties. |
void |
setExtensionPropertiesByRef(IPropertySet extnProps)
Extension Properties. |
void |
setObjects(ISet objects)
Supplies the page with the object(s) to be edited. |
void |
setServerObjectPropertiesByRef(IPropertySet soProps)
Extension Properties. |
Methods inherited from class com.esri.arcgis.framework.BasePropertyPage |
---|
activate, cancel, deactivate, getHeight, getHelpContextID, getHelpFile, getWidth, hide, IComPropertyPage_isPageDirty, pageChanged, repaintJFrame, setPageSiteByRef, setPriority, setTitle, show |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseSOEPropertyPage()
Method Detail |
---|
public final boolean applies(ISet objects) throws IOException, AutomationException
BasePropertyPage
applies
in interface IComPropertyPage
applies
in class BasePropertyPage
objects
- A reference to a com.esri.arcgis.system.ISet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public final String getTitle() throws IOException, AutomationException
BasePropertyPage
getTitle
in interface IComPropertyPage
getTitle
in class BasePropertyPage
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public final int getPriority() throws IOException, AutomationException
BasePropertyPage
getPriority
in interface IComPropertyPage
getPriority
in class BasePropertyPage
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public final void apply() throws IOException, AutomationException
BasePropertyPage
apply
in interface IComPropertyPage
apply
in class BasePropertyPage
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public final void setExtensionPropertiesByRef(IPropertySet extnProps) throws IOException, AutomationException
setExtensionPropertiesByRef
in interface IAGSSOEParameterPage
extProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public final void setServerObjectPropertiesByRef(IPropertySet soProps) throws IOException, AutomationException
setServerObjectPropertiesByRef
in interface IAGSSOEParameterPage
extProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public abstract JFrame initGUI(HashMap soPropMap, HashMap extnPropMap)
javax.swing.JFrame
and returns it
to the ArcGIS runtime. This method is passed in two HashMaps that contain the default
properties of the Server Object and the Server Object Extension, respectively. Implementations can
read these properties to initialize their user interfaces.
Implementations of this method should not call methods to realize the JFrame; example, setVisible(true). Visibility of the JFrame and it's life-cycle management is performed internally by the ArcGIS runtime.
It is safe to use the ArcObjects API within this method.
soPropMap
- the HashMap containing default Server Object propertiesextnPropMap
- the HashMap containing default Server Object extension properties
public final JFrame initGUI()
initGUI
in class BasePropertyPage
public abstract void apply(HashMap soPropMap, HashMap extnPropMap) throws IOException, AutomationException
HashMap
s supplied as arguments to this method.
Since this method is not called on Java's EDT thread it is unsafe to modify properties of user interface elements residing on the property page.
It is safe to use the ArcObjects API within this method.
soPropMap
- the Server Object properties HashMap to be updatedextnPropMap
- the Server Object Extension properties HashMap to be updated
IOException
AutomationException
public final void setObjects(ISet objects) throws IOException, AutomationException
BasePropertyPage
setObjects
in interface IComPropertyPage
setObjects
in class BasePropertyPage
objects
- A reference to a com.esri.arcgis.system.ISet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public final IPropertySet getExtensionProperties() throws IOException, AutomationException
getExtensionProperties
in interface IAGSSOEParameterPage
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public abstract String getServerObjectExtensionType() throws IOException, AutomationException
getServerObjectExtensionType
in interface IAGSSOEParameterPage
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public final IPropertySet getServerObjectProperties() throws IOException, AutomationException
getServerObjectProperties
in interface IAGSSOEParameterPage
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public abstract String getServerObjectType() throws IOException, AutomationException
getServerObjectType
in interface IAGSSOEParameterPage
IOException
- 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 |