| org.eclipse.ui.views.markers.internal.DialogMarkerProperties org.eclipse.ui.views.bookmarkexplorer.BookmarkPropertiesDialog
BookmarkPropertiesDialog | public class BookmarkPropertiesDialog extends DialogMarkerProperties (Code) | | Shows the properties of a new or existing bookmark
This class was made public in 3.3.
since: 3.3 |
BookmarkPropertiesDialog | public BookmarkPropertiesDialog(Shell parentShell)(Code) | | Creates the dialog. By default this dialog creates a new bookmark.
To set the resource and initial attributes for the new bookmark,
use setResource and setInitialAttributes .
To show or modify an existing bookmark, use setMarker .
Parameters: parentShell - the parent shell |
BookmarkPropertiesDialog | public BookmarkPropertiesDialog(Shell parentShell, String title)(Code) | | Creates the dialog. By default this dialog creates a new bookmark.
To set the resource and initial attributes for the new bookmark,
use setResource and setInitialAttributes .
To show or modify an existing bookmark, use setMarker .
Parameters: parentShell - the parent shell Parameters: title - the title for the dialog |
getCreateOperationTitle | protected String getCreateOperationTitle()(Code) | | |
getInitialAttributes | public Map getInitialAttributes()(Code) | | Returns the initial attributes to use when creating a new bookmark,
or null if not set.
If not set, the new bookmark is created with default attributes.
the initial attributes |
getMarker | public IMarker getMarker()(Code) | | Returns the marker being created or modified.
For a new marker, this returns null until
the dialog returns, but is non-null after.
the marker |
getModifyOperationTitle | protected String getModifyOperationTitle()(Code) | | |
getResource | public IResource getResource()(Code) | | Returns the resource to use when creating a new bookmark,
or null if none has been set.
If not set, the new bookmark is created on the workspace root.
the resource |
setInitialAttributes | public void setInitialAttributes(Map initialAttributes)(Code) | | Sets initial attributes to use when creating a new bookmark.
If not set, the new bookmark is created with default attributes.
Parameters: initialAttributes - the initial attributes |
setMarker | public void setMarker(IMarker marker)(Code) | | Sets the marker to show or modify.
Parameters: marker - the marker, or null to create a new marker |
setResource | public void setResource(IResource resource)(Code) | | Sets the resource to use when creating a new bookmark.
If not set, the new bookmark is created on the workspace root.
Parameters: resource - the resource |
|
|