use of org.gephi.appearance.api.AppearanceController in project gephi by gephi.
the class AppearanceUIController method getModel.
public AppearanceUIModel getModel(Workspace workspace) {
AppearanceUIModel m = workspace.getLookup().lookup(AppearanceUIModel.class);
if (m == null) {
AppearanceController ac = Lookup.getDefault().lookup(AppearanceController.class);
AppearanceModel appearanceModel = ac.getModel(workspace);
m = new AppearanceUIModel(this, appearanceModel);
workspace.add(m);
}
return m;
}
Aggregations