/**
* Opens the editing window
* @param el the HShare descriptor we want to edit
*/
public void startEdit(Element el){
AttributesDialog ad = new AttributesDialog(StuffComposite.this.getShell(),el);
ad.setLocation(Statics.getOriginForCenter(AttributesDialog.WIDTH, AttributesDialog.HEIGHT));
HLog.facelogger.debug("Starting properties editing");
ad.addDisposeListener(new DisposeListener(){
public void widgetDisposed(DisposeEvent e) {
HLog.facelogger.debug("Properties editing finished, refreshing contents");
tv.refresh();
}
});
ad.open();
}