Commit 9d111558 authored by claes's avatar claes

Instance object is an AttrRef

parent e0b7ed8e
/* /*
* Proview $Id: JopFrame.java,v 1.3 2005-11-02 14:02:18 claes Exp $ * Proview $Id: JopFrame.java,v 1.4 2005-11-04 11:43:21 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -56,8 +56,9 @@ public class JopFrame extends JFrame ...@@ -56,8 +56,9 @@ public class JopFrame extends JFrame
engine.setInstance( instance); engine.setInstance( instance);
CdhrAttrRef oret = engine.gdh.nameToAttrRef( instance); CdhrAttrRef oret = engine.gdh.nameToAttrRef( instance);
if ( oret.oddSts()) if ( oret.oddSts()) {
utilityAref = oret.aref; utilityAref = oret.aref;
}
} }
enableEvents(AWTEvent.WINDOW_EVENT_MASK); enableEvents(AWTEvent.WINDOW_EVENT_MASK);
} }
......
/* /*
* Proview $Id: JopFrame.java,v 1.3 2005-11-02 14:02:18 claes Exp $ * Proview $Id: JopFrame.java,v 1.4 2005-11-04 11:43:21 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -56,8 +56,9 @@ public class JopFrame extends JFrame ...@@ -56,8 +56,9 @@ public class JopFrame extends JFrame
engine.setInstance( instance); engine.setInstance( instance);
CdhrAttrRef oret = engine.gdh.nameToAttrRef( instance); CdhrAttrRef oret = engine.gdh.nameToAttrRef( instance);
if ( oret.oddSts()) if ( oret.oddSts()) {
utilityAref = oret.aref; utilityAref = oret.aref;
}
} }
enableEvents(AWTEvent.WINDOW_EVENT_MASK); enableEvents(AWTEvent.WINDOW_EVENT_MASK);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment