Community
Participate
Working Groups
Zest connections styles should be changeable after the connections have been created. Opening to investigate.
Actually, there is an explicit condition on AbstractStructuredGraphViewer, if there is an input, a error is thrown. If i just comment the line, nothing else is affected, the graph viewer works perfectly fine and the connection style is really changed, it just works. public void setConnectionStyle(int connectionStyle) { if (getInput() != null) { //ZestException.throwError(ZestException.ERROR_CANNOT_SET_STYLE, "", null); } if (!ZestStyles.validateConnectionStyle(connectionStyle)) { ZestException.throwError(ZestException.ERROR_INVALID_STYLE, "", null); } this.connectionStyle = connectionStyle; } Why exactly one cannot set the style after the graph is already set?
Re-assigning back to inbox, as Ian is no longer active committer.