protected Icon getSibIcon() { return new AddSiblingIcon(new OWLObjectPropertyIcon()); }
protected Icon getSibIcon() { return new AddSiblingIcon(new OWLDataPropertyIcon()); }
protected Icon getSibIcon() { return new AddSiblingIcon(new OWLObjectPropertyIcon()); }
protected Icon getSibIcon() { return new AddSiblingIcon(new OWLDataPropertyIcon()); }
protected void performExtraInitialisation() throws Exception { addAction(new AbstractOWLTreeAction<OWLAnnotationProperty>("Add sub property", new AddChildIcon(new OWLAnnotationPropertyIcon()), getTree().getSelectionModel()) { public void actionPerformed(ActionEvent event) { createNewChild(); } protected boolean canPerform(OWLAnnotationProperty prop) { return canCreateNewChild(); } }, "A", "A"); addAction(new AbstractOWLTreeAction<OWLAnnotationProperty>("Add sibling property", new AddSiblingIcon(new OWLAnnotationPropertyIcon()), getTree().getSelectionModel()) { public void actionPerformed(ActionEvent event) { createNewSibling(); } protected boolean canPerform(OWLAnnotationProperty cls) { return canCreateNewSibling(); } }, "A", "B"); addAction(new DeleteAnnotationPropertyAction(), "B", "A"); }
protected void performExtraInitialisation() throws Exception { addAction(new AbstractOWLTreeAction<OWLAnnotationProperty>("Add sub property", new AddChildIcon(new OWLAnnotationPropertyIcon()), getTree().getSelectionModel()) { public void actionPerformed(ActionEvent event) { createNewChild(); } protected boolean canPerform(OWLAnnotationProperty prop) { return canCreateNewChild(); } }, "A", "A"); addAction(new AbstractOWLTreeAction<OWLAnnotationProperty>("Add sibling property", new AddSiblingIcon(new OWLAnnotationPropertyIcon()), getTree().getSelectionModel()) { public void actionPerformed(ActionEvent event) { createNewSibling(); } protected boolean canPerform(OWLAnnotationProperty cls) { return canCreateNewSibling(); } }, "A", "B"); addAction(new DeleteAnnotationPropertyAction(), "B", "A"); }