electric.ide.jbuilder.wizard.webreference
Class WebReferencePage

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JPanel
                  extended bycom.borland.primetime.wizard.BasicWizardPage
                      extended byelectric.ide.jbuilder.wizard.webreference.WebReferencePage
All Implemented Interfaces:
javax.accessibility.Accessible, IFileListener, ILoaderConstants, java.awt.image.ImageObserver, IPluginConstants, java.awt.MenuContainer, java.io.Serializable, com.borland.primetime.wizard.WizardPage

public class WebReferencePage
extends com.borland.primetime.wizard.BasicWizardPage
implements IFileListener, IPluginConstants, ILoaderConstants

WebReferencePage defines the wizard page which collects the values necessary to perform the wizard actions.

Author:
webMethods
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
 
Fields inherited from class com.borland.primetime.wizard.BasicWizardPage
largeIcon, smallIcon, style, STYLE_COMPLEX, STYLE_REGULAR, wizardHost
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface electric.ide.IPluginConstants
ADD_TO_PROJECT, ADD_WEB_REFERENCE, ADDSERVER, ADDSERVER_IMG, ADDWEBREF_IMG, CANCEL, CHECKED_EXCEPTIONS, CLASS_IMG, CLEAR_IMG, CLEAR_TEXT_AREA, COMMENT, CONFIGURE_SERVER, CONSOLE_FONT, CONSOLE_IMG, DOC_LIT, EXCEPTION, FINISH, GLUE_CONSOLE, GLUE_PLUGIN_ID, GLUE_PROPERTY_CATEGORY, GLUE_SERVER, GLUE_SERVERS, ICON_PATH, INTERFACE_PREFIX, INTERFACE_SUFFIX, LOGERROR, LOGHTTP, LOGO_ICON, LOGWARNING, MAP_PATH, MAPPING, NEW_PROJECT, OFFLINE, OPENCONSOLE, PACKAGE_CLOSED_IMG, PACKAGE_OPEN_IMG, PKG_MANAGER, PROJECT_NAME, PUBLISH_CLASS, PUBLISH_IMG, PUBLISH_LONG_TEXT, PUBLISH_MNEMONIC, PUBLISH_SERVICE, PUBLISH_SHORT_TEXT, REMOVEQ, REMOVESERVER, RESOURCES, RPC_ENC, RPC_LIT, SECURITY, SELECT_CLASS_TITLE, SELECT_PACKAGE_TITLE, SELECT_SERVER_Q, SERVER_IMG, SERVER_LONG_TEXT, SERVER_MNEMONIC, SERVER_NODE, SERVER_SHORT_TEXT, SERVER_VIEW_ID, SERVICE, SERVICE_IMG, SERVICE_PATH, SHUTDOWN, SOAP, SOURCE_PATH, STARTED, STARTSERVER, STARTUP, STOPPED, STOPSERVER, STYLE, SVC_MANAGER, THREE_ICON, TME_GIF, TOOLS, TREE_MODEL, TREE_PATH, UNPUBLISH_SERVICE, URLTEXT, WEBM_GIF, WIN32, WSENDPOINT
 
Fields inherited from interface electric.xml.io.mapping.ILoaderConstants
DEFAULT_MAP_PATH, FILE_SEPARATOR, JAR_EXT, MAP_EXT, NO_MAP_FILES, ZIP_EXT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
WebReferencePage()
           
 
Method Summary
 java.lang.String getAppHome()
          Returns the directory to write map files to.
 java.lang.String getDefaultMapPath()
          Returns the default path to read map files from.
 java.lang.String getInterfacePrefix()
          Returns the prefix to prepend to interface names.
 java.lang.String getInterfaceSuffix()
          Returns the suffix used to append to interface names.
 java.lang.String getMapPath()
          Returns the path to read map files from.
 java.lang.String getOutputMapDirectory()
          Returns the directory to write map files to.
 java.lang.String getPackage()
          Returns the package name text.
 java.lang.String getURL()
          Returns the collected URL text.
 boolean isAddFilesToProject()
          Returns the value of the add files to project checkbox.
 boolean isCheckedExceptions()
          Returns the value of the checked exceptions checkbox.
 void setPreferences()
          Save the GLUE properties on this page into the properties repository.
 void written(java.lang.String filename, java.lang.String dir)
          Provides user interface notifications when files are saved.
 
Methods inherited from class com.borland.primetime.wizard.BasicWizardPage
activated, addImpl, checkPage, deactivated, getInstructions, getLargeIcon, getLayout, getPageComponent, getPageStyle, getPageTitle, getSmallIcon, getWizardHost, setInstructions, setLargeIcon, setLayout, setPageStyle, setPageTitle, setSmallIcon
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebReferencePage

public WebReferencePage()
Method Detail

written

public void written(java.lang.String filename,
                    java.lang.String dir)
Provides user interface notifications when files are saved. Also conditionally adds generated files to the project.

Specified by:
written in interface IFileListener
Parameters:
filename - the filename that has been generated
dir - the directory the file has been saved to

setPreferences

public void setPreferences()
Save the GLUE properties on this page into the properties repository. We assume that after each use the values on the page are the new defaults.


getURL

public java.lang.String getURL()
Returns the collected URL text.

Returns:
URL text.

getPackage

public java.lang.String getPackage()
Returns the package name text.

Returns:
Package name text.

isCheckedExceptions

public boolean isCheckedExceptions()
Returns the value of the checked exceptions checkbox.

Returns:
True if checked exceptions code to be generated, false otherwise.

isAddFilesToProject

public boolean isAddFilesToProject()
Returns the value of the add files to project checkbox.

Returns:
True if files are to be added to the project, false otherwise.

getInterfacePrefix

public java.lang.String getInterfacePrefix()
Returns the prefix to prepend to interface names.

Returns:
The interface name prefix.

getInterfaceSuffix

public java.lang.String getInterfaceSuffix()
Returns the suffix used to append to interface names.

Returns:
The interface name suffix.

getOutputMapDirectory

public java.lang.String getOutputMapDirectory()
Returns the directory to write map files to.

Returns:
The directory to write map files to.

getAppHome

public java.lang.String getAppHome()
Returns the directory to write map files to.

Returns:
The directory to write map files to.

getMapPath

public java.lang.String getMapPath()
Returns the path to read map files from.

Returns:
The path to read map files from.

getDefaultMapPath

public java.lang.String getDefaultMapPath()
Returns the default path to read map files from.



copyright© 2001-2004 by webMethods All Rights Reserved.