Ignore:
Timestamp:
03/24/20 09:40:55 (4 years ago)
Author:
bnemhaus
Message:

Added ability to have ${EXPEDITEE.HOME} used in @File annotations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/Frame.java

    r1513 r1524  
    6161import org.expeditee.gio.input.KBMInputEvent.Key;
    6262import org.expeditee.gio.input.StandardInputEventListeners;
     63import org.expeditee.gui.management.ResourceUtil;
    6364import org.expeditee.io.Conversion;
    6465import org.expeditee.io.ExpReader;
     
    29302931        }
    29312932
    2932         public String getExportFileTagValue()
    2933         {
    2934                 return getAnnotationValue("file");
     2933        public String getExportFileTagValue() {
     2934                String annotationValue = getAnnotationValue("file");
     2935                Path exportPath = ResourceUtil.resolveResourcePath(annotationValue, DisplayController.getCurrentFrame());
     2936                return exportPath.toString();
    29352937        }
    29362938
Note: See TracChangeset for help on using the changeset viewer.