WIP
This commit is contained in:
@@ -8,11 +8,13 @@ if command -v xvfb-run ; then
|
||||
-f ../pom.xml \
|
||||
-pl $modules \
|
||||
-am \
|
||||
clean install
|
||||
clean install \
|
||||
-DskipTests
|
||||
else
|
||||
../mvnw \
|
||||
-f ../pom.xml \
|
||||
-pl $modules \
|
||||
-am \
|
||||
clean install
|
||||
clean install \
|
||||
-DskipTests
|
||||
fi
|
||||
|
||||
@@ -18,18 +18,19 @@ public class PopupModelFactory implements IPopupModelFactory {
|
||||
@Override
|
||||
public SModelRoot createPopupModel(SModelElement element, RequestPopupModelAction request, IDiagramServer server) {
|
||||
|
||||
SGraph graph = new SGraph();
|
||||
graph.setId("popup");
|
||||
List<SModelElement> children = new ArrayList<>();
|
||||
|
||||
SLabel label = new SLabel();
|
||||
label.setType("node:label");
|
||||
label.setText("I'm a tooltip!");
|
||||
children.add(label);
|
||||
|
||||
graph.setChildren(children);
|
||||
|
||||
return graph;
|
||||
// SGraph graph = new SGraph();
|
||||
// graph.setId("popup");
|
||||
// List<SModelElement> children = new ArrayList<>();
|
||||
//
|
||||
// SLabel label = new SLabel();
|
||||
// label.setType("node:label");
|
||||
// label.setText("I'm a tooltip!");
|
||||
// children.add(label);
|
||||
//
|
||||
// graph.setChildren(children);
|
||||
//
|
||||
// return graph;
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user