1 11 package org.eclipse.ui.forms; 12 13 import org.eclipse.jface.viewers.ISelection; 14 import org.eclipse.ui.forms.widgets.FormToolkit; 15 import org.eclipse.ui.forms.widgets.ScrolledForm; 16 17 32 public interface IManagedForm { 33 39 public void initialize(); 40 41 46 public FormToolkit getToolkit(); 47 48 53 public ScrolledForm getForm(); 54 55 61 public void reflow(boolean changed); 62 63 72 public void fireSelectionChanged(IFormPart part, ISelection selection); 73 74 79 IFormPart[] getParts(); 80 81 87 void addPart(IFormPart part); 88 89 95 void removePart(IFormPart part); 96 97 105 boolean setInput(Object input); 106 107 112 Object getInput(); 113 114 121 boolean isDirty(); 122 123 129 void dirtyStateChanged(); 130 131 137 void commit(boolean onSave); 138 139 148 boolean isStale(); 149 150 154 void staleStateChanged(); 155 156 159 void refresh(); 160 161 168 void setContainer(Object container); 169 170 175 Object getContainer(); 176 177 184 IMessageManager getMessageManager(); 185 } 186 | Popular Tags |