import javax.xml.parsers.ParserConfigurationException;
+import com.quantum.ImageStore;
import com.quantum.Messages;
-import com.quantum.QuantumPlugin;
import com.quantum.model.Bookmark;
import com.quantum.model.BookmarkCollection;
import com.quantum.model.xml.ModelToXMLConverter;
public Image getImage(Object element) {
if (element instanceof Bookmark) {
- return QuantumPlugin.getImage("bookmarks.gif");
+ return ImageStore.getImage(ImageStore.BOOKMARK);
} else {
return null;
}
}
private void createDestinationArea(Composite composite) {
- GridData data;
Composite fileArea = new Composite(composite, SWT.NULL);
fileArea.setLayout(new GridLayout(3, false));
fileArea.setLayoutData(
label.setText("File name:");
this.fileNameText = new Text(fileArea, SWT.BORDER);
- data = new GridData();
+ GridData data = new GridData();
data.horizontalAlignment = GridData.HORIZONTAL_ALIGN_FILL;
data.widthHint = 300;
this.fileNameText.setLayoutData(data);