Opened 3 years ago

Closed 3 years ago

#912 closed enhancement (fixed)

Annotation Editor: Export structure

Reported by: Rene Ranzinger Owned by: sena
Priority: normal Milestone: GRITS - 1.2 SR1
Component: MS annotation management Version: GRITS 1.1.x
Severity: major Keywords:
Cc: dbrentw, sena

Description

Have context menu in the annotation table and the fragment table that allows to the two menu entries to export the structure/fragment into:

  • Image file (png/jpg/svg)
  • GWS sequence

Change History (6)

comment:1 Changed 3 years ago by Rene Ranzinger

Owner: set to sena
Status: newassigned

comment:2 Changed 3 years ago by sena

implemented in revision [2434]

comment:3 Changed 3 years ago by sena

Resolution: fixed
Status: assignedreview

comment:4 Changed 3 years ago by sena

Resolution: fixed
Status: reviewassigned

the file dialog to save the exported image sometimes fails to open. I believe it does not open when another window becomes active.

Here is the exception from the log:

java.lang.IllegalArgumentException: Argument cannot be null

at org.eclipse.swt.SWT.error(SWT.java:4514)
at org.eclipse.swt.SWT.error(SWT.java:4448)
at org.eclipse.swt.SWT.error(SWT.java:4419)
at org.eclipse.swt.widgets.Dialog.error(Dialog.java:198)
at org.eclipse.swt.widgets.Dialog.checkParent(Dialog.java:164)
at org.eclipse.swt.widgets.Dialog.<init>(Dialog.java:127)
at org.eclipse.swt.widgets.FileDialog.<init>(FileDialog.java:97)
at org.grits.toolbox.entry.ms.annotation.glycan.tablehelpers.GlycanStructureExportConfiguration$2.widgetSelected(GlycanStructureExportConfiguration.java:97)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4256)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1501)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1509)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1313)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3706)

comment:5 Changed 3 years ago by sena

Resolution: fixed
Status: assignedreview

fixed again in revision [2677]

comment:6 Changed 3 years ago by sena

Status: reviewclosed

tested in revision [2761]

Note: See TracTickets for help on using tickets.