1 11 package org.eclipse.ui.internal.part.services; 12 13 import org.eclipse.core.runtime.IProgressMonitor; 14 import org.eclipse.core.runtime.NullProgressMonitor; 15 import org.eclipse.jface.action.IStatusLineManager; 16 import org.eclipse.swt.graphics.Image; 17 18 21 public class NullStatusLineManager extends NullContributionManager implements 22 IStatusLineManager { 23 24 private NullProgressMonitor progressMonitor = new NullProgressMonitor(); 25 26 29 public IProgressMonitor getProgressMonitor() { 30 return progressMonitor; 31 } 32 33 36 public boolean isCancelEnabled() { 37 return false; 38 } 39 40 43 public void setCancelEnabled(boolean enabled) { 44 45 } 46 47 50 public void setErrorMessage(String message) { 51 52 } 53 54 57 public void setErrorMessage(Image image, String message) { 58 59 } 60 61 64 public void setMessage(String message) { 65 66 } 67 68 71 public void setMessage(Image image, String message) { 72 73 } 74 75 } 76 | Popular Tags |