Commit b5db408b authored by Benedikt Engeser's avatar Benedikt Engeser

Merge branch 'master' of git@github.com:jroith/cup-eclipse.git

parents fa11a652 1ff3f8ac
package de.tum.in.www2.cupplugin.controller;
public class Controller {
// Static reference to the controller
static Controller instance;
/*
* Static singelton getter
*/
static Controller getInstance() {
if (instance != null) {
return instance;
} else {
instance = new Controller();
return instance;
}
}
public Controller() {
}
}
package de.tum.in.www2.cupplugin.model;
public class Model {
// Static reference to the controller
static Model instance;
/*
* Static singelton getter
*/
static Model getInstance() {
if (instance != null) {
return instance;
} else {
instance = new Model();
return instance;
}
}
public Model() {
}
}
package de.tum.in.www2.cupplugin.model;
public interface ModelObserverInterface {
}
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