Ignore:
Timestamp:
06/05/19 11:28:51 (5 years ago)
Author:
bln4
Message:

Added Group attribute to frames.

Some early logic on using the group attribute to determine group members. At this point just detects if the specified group doesn't actually exist. Will do more soon.

File:
1 edited

Legend:

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

    r1403 r1405  
    489489                if (toDisplay == null) {
    490490                        return;
     491                }
     492               
     493                // Check if group specified that it exists.
     494                String group = toDisplay.getGroup();
     495                if (group != null && group.length() > 0) {
     496                        Frame groupFrame = toDisplay.getGroupFrame();
     497                        if (groupFrame == null) {
     498                                MessageBay.displayMessage("WARNING: There is no corrosponding " + group + "1 for the specified group " + group + ".  Group permissions will not apply.");
     499                        }
    491500                }
    492501
Note: See TracChangeset for help on using the changeset viewer.