1 11 12 package org.eclipse.jface.text; 13 14 15 import org.eclipse.swt.events.DisposeListener; 16 import org.eclipse.swt.events.FocusListener; 17 import org.eclipse.swt.graphics.Color; 18 import org.eclipse.swt.graphics.Point; 19 20 21 60 public interface IInformationControl { 61 62 69 void setInformation(String information); 70 71 82 void setSizeConstraints(int maxWidth, int maxHeight); 83 84 91 Point computeSizeHint(); 92 93 98 void setVisible(boolean visible); 99 100 106 void setSize(int width, int height); 107 108 113 void setLocation(Point location); 114 115 118 void dispose(); 119 120 126 void addDisposeListener(DisposeListener listener); 127 128 134 void removeDisposeListener(DisposeListener listener); 135 136 141 void setForegroundColor(Color foreground); 142 143 148 void setBackgroundColor(Color background); 149 150 155 boolean isFocusControl(); 156 157 160 void setFocus(); 161 162 168 void addFocusListener(FocusListener listener); 169 170 176 void removeFocusListener(FocusListener listener); 177 } 178 | Popular Tags |