Class BookmarkPropertiesDialog
- java.lang.Object
-
- org.eclipse.jface.window.Window
-
- org.eclipse.jface.dialogs.Dialog
-
- org.eclipse.jface.dialogs.TrayDialog
-
- org.eclipse.ui.views.markers.internal.DialogMarkerProperties
-
- org.eclipse.ui.views.bookmarkexplorer.BookmarkPropertiesDialog
-
- All Implemented Interfaces:
IShellProvider
@Deprecated public class BookmarkPropertiesDialog extends org.eclipse.ui.views.markers.internal.DialogMarkerProperties
Deprecated.Shows the properties of a new or existing bookmark This class was made public in 3.3.- Since:
- 3.3 Marked for deletion, see Bug 550439
- Restriction:
- This class is not intended to be subclassed by clients.
- Restriction:
- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
Window.IExceptionHandler
-
-
Field Summary
-
Fields inherited from class org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
-
Fields inherited from class org.eclipse.jface.window.Window
CANCEL, OK, resizeHasOccurred
-
-
Constructor Summary
Constructors Constructor Description BookmarkPropertiesDialog(Shell parentShell)Deprecated.Creates the dialog.BookmarkPropertiesDialog(Shell parentShell, String title)Deprecated.Creates the dialog.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected StringgetCreateOperationTitle()Deprecated.Return the string that describes a create marker operation.Map<String,Object>getInitialAttributes()Deprecated.Returns the initial attributes to use when creating a new bookmark, ornullif not set.IMarkergetMarker()Deprecated.Returns the marker being created or modified.protected StringgetModifyOperationTitle()Deprecated.Return the string that describes a modify marker operation.IResourcegetResource()Deprecated.Returns the resource to use when creating a new bookmark, ornullif none has been set.voidsetInitialAttributes(Map<String,Object> initialAttributes)Deprecated.Sets initial attributes to use when creating a new bookmark.voidsetMarker(IMarker marker)Deprecated.Sets the marker to show or modify.voidsetResource(IResource resource)Deprecated.Sets the resource to use when creating a new bookmark.-
Methods inherited from class org.eclipse.ui.views.markers.internal.DialogMarkerProperties
configureShell, createAttributesArea, createButtonsForButtonBar, createDialogArea, createSeperator, getDialogBoundsSettings, getMarkerAttributes, isDirty, isEditable, isResizable, markDirty, okPressed, setType, updateDialogForNewMarker, updateDialogFromMarker, updateEnablement
-
Methods inherited from class org.eclipse.jface.dialogs.TrayDialog
closeTray, createButtonBar, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
-
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
-
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
-
-
-
-
Constructor Detail
-
BookmarkPropertiesDialog
public BookmarkPropertiesDialog(Shell parentShell)
Deprecated.Creates the dialog. By default this dialog creates a new bookmark. To set the resource and initial attributes for the new bookmark, usesetResourceandsetInitialAttributes. To show or modify an existing bookmark, usesetMarker.- Parameters:
parentShell- the parent shell
-
BookmarkPropertiesDialog
public BookmarkPropertiesDialog(Shell parentShell, String title)
Deprecated.Creates the dialog. By default this dialog creates a new bookmark. To set the resource and initial attributes for the new bookmark, usesetResourceandsetInitialAttributes. To show or modify an existing bookmark, usesetMarker.- Parameters:
parentShell- the parent shelltitle- the title for the dialog
-
-
Method Detail
-
setMarker
public void setMarker(IMarker marker)
Deprecated.Sets the marker to show or modify.- Overrides:
setMarkerin classorg.eclipse.ui.views.markers.internal.DialogMarkerProperties- Parameters:
marker- the marker, ornullto create a new marker
-
getMarker
public IMarker getMarker()
Deprecated.Returns the marker being created or modified. For a new marker, this returnsnulluntil the dialog returns, but is non-null after.- Overrides:
getMarkerin classorg.eclipse.ui.views.markers.internal.DialogMarkerProperties- Returns:
- the marker
-
setResource
public void setResource(IResource resource)
Deprecated.Sets the resource to use when creating a new bookmark. If not set, the new bookmark is created on the workspace root.- Overrides:
setResourcein classorg.eclipse.ui.views.markers.internal.DialogMarkerProperties- Parameters:
resource- the resource
-
getResource
public IResource getResource()
Deprecated.Returns the resource to use when creating a new bookmark, ornullif none has been set. If not set, the new bookmark is created on the workspace root.- Overrides:
getResourcein classorg.eclipse.ui.views.markers.internal.DialogMarkerProperties- Returns:
- the resource
-
setInitialAttributes
public void setInitialAttributes(Map<String,Object> initialAttributes)
Deprecated.Sets initial attributes to use when creating a new bookmark. If not set, the new bookmark is created with default attributes.- Overrides:
setInitialAttributesin classorg.eclipse.ui.views.markers.internal.DialogMarkerProperties- Parameters:
initialAttributes- the initial attributes
-
getInitialAttributes
public Map<String,Object> getInitialAttributes()
Deprecated.Returns the initial attributes to use when creating a new bookmark, ornullif not set. If not set, the new bookmark is created with default attributes.- Overrides:
getInitialAttributesin classorg.eclipse.ui.views.markers.internal.DialogMarkerProperties- Returns:
- the initial attributes
-
getModifyOperationTitle
protected String getModifyOperationTitle()
Deprecated.Description copied from class:org.eclipse.ui.views.markers.internal.DialogMarkerPropertiesReturn the string that describes a modify marker operation. Subclasses may override to more specifically describe the marker.- Overrides:
getModifyOperationTitlein classorg.eclipse.ui.views.markers.internal.DialogMarkerProperties
-
getCreateOperationTitle
protected String getCreateOperationTitle()
Deprecated.Description copied from class:org.eclipse.ui.views.markers.internal.DialogMarkerPropertiesReturn the string that describes a create marker operation. Subclasses may override to more specifically describe the marker.- Overrides:
getCreateOperationTitlein classorg.eclipse.ui.views.markers.internal.DialogMarkerProperties
-
-