1 11 12 package org.eclipse.ui.views.bookmarkexplorer; 13 14 import java.util.Map ; 15 16 import org.eclipse.core.resources.IMarker; 17 import org.eclipse.core.resources.IResource; 18 import org.eclipse.swt.widgets.Shell; 19 import org.eclipse.ui.internal.views.bookmarkexplorer.BookmarkMessages; 20 import org.eclipse.ui.views.markers.internal.DialogMarkerProperties; 21 22 28 public class BookmarkPropertiesDialog extends DialogMarkerProperties { 29 30 31 32 40 public BookmarkPropertiesDialog(Shell parentShell) { 41 this(parentShell, BookmarkMessages.PropertiesDialogTitle_text); 42 } 43 44 53 public BookmarkPropertiesDialog(Shell parentShell, String title) { 54 super(parentShell, title); 55 setType(IMarker.BOOKMARK); 56 } 57 58 63 public void setMarker(IMarker marker) { 64 super.setMarker(marker); 66 } 67 68 75 public IMarker getMarker() { 76 return super.getMarker(); 78 } 79 80 86 public void setResource(IResource resource) { 87 super.setResource(resource); 89 } 90 91 98 public IResource getResource() { 99 return super.getResource(); 101 } 102 103 109 public void setInitialAttributes(Map initialAttributes) { 110 super.setInitialAttributes(initialAttributes); 112 } 113 114 121 public Map getInitialAttributes() { 122 return super.getInitialAttributes(); 124 } 125 126 131 protected String getModifyOperationTitle() { 132 return BookmarkMessages.ModifyBookmark_undoText; 133 } 134 135 140 protected String getCreateOperationTitle() { 141 return BookmarkMessages.CreateBookmark_undoText; 142 143 } 144 } 145 | Popular Tags |