Ignore:
Timestamp:
06/30/13 12:48:20 (11 years ago)
Author:
psniegowski
Message:

HIGHLIGHTS:

  • loading f0 schema with XmlLoader?
  • use XmlLoader? to load configuration
  • introduce unified fork-join model of various entities

(Instances, Connections, GUI Frames, etc.),
all those entities clean up gracefully on
shutdown, which may be initialized by user
or by some entity

  • basing on above, simplify several organizing classes

(Observer, main class)

(to host native frams server process from Java level)

CHANGELOG:
Remove redundant Observer class.

Clean up in AbstractJoinable?.

Update ExternalProcess? class to changes in joining model.

Another sweep through code with FindBugs?.

Find bug with not joining RemoteInstance?.

Joining almost works.

Much improved joining model.

More improvement to joining model.

Add logging messages around joinable operations.

Rename methods in AbstractJoinable?.

Improve Joinable.

Rewrite of entity structure.

More simplifications with entities.

Further improve joinables.

Let Frame compose from JFrame instead of inheriting.

Add join classes.

Improvements of closing.

Add Builder interface.

Add FramsServerTest?.xml

FramsServer? may be configured through xml.

Make Framsticks main class an Observer of Entities.

Make Observer a generic type.

Remove variables regarding to removed endpoint.

Simplify observer (remove endpoints).

More changes to Observer and Endpoint.

Minor improvements.

Add OutputListener? to ExternalProcess?.

Improve testing of ExternalProcess?.

Add ExternalProcess? runner.

Rename the Program class to Framsticks.

Migrate Program to use XmlLoader? configuration.

First steps with configuration using XmlLoader?.

Fix several bugs.

Move all f0 classes to apriopriate package.

XmlLoader? is able to load Schema.

XmlLoader? is loading classes and props.

Add GroupBuilder?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/main/src/main/java/com/framsticks/gui/Panel.java

    r84 r88  
    1515
    1616        public static class Parameters {
    17                 public final EndpointAtFrame endpoint;
     17                public final InstanceAtFrame instanceAtFrame;
    1818                public final CompositeParam param;
    1919                public final FramsClass framsClass;
    2020
    21                 public Parameters(EndpointAtFrame endpoint, CompositeParam param, FramsClass framsClass) {
    22                         this.endpoint = endpoint;
     21                public Parameters(InstanceAtFrame instanceAtFrame, CompositeParam param, FramsClass framsClass) {
     22                        this.instanceAtFrame = instanceAtFrame;
    2323                        this.param = param;
    2424                        this.framsClass = framsClass;
     
    2929
    3030        protected TreeNode currentTreeNode;
    31         protected final EndpointAtFrame endpoint;
     31        protected final InstanceAtFrame instanceAtFrame;
    3232        protected final Frame frame;
    3333        protected final String className;
     
    3737
    3838        public Panel(Parameters parameters) {
    39                 this.endpoint = parameters.endpoint;
    40                 this.frame = parameters.endpoint.getFrame();
     39                this.instanceAtFrame = parameters.instanceAtFrame;
     40                this.frame = parameters.instanceAtFrame.getFrame();
    4141                this.framsClass = parameters.framsClass;
    4242                this.param = parameters.param;
     
    5757        }
    5858
    59         public final EndpointAtFrame getEndpointAtFrame() {
    60                 return endpoint;
     59        public final InstanceAtFrame getInstanceAtFrame() {
     60                return instanceAtFrame;
    6161        }
    6262
Note: See TracChangeset for help on using the changeset viewer.