protected void loadFacet(Facet facet) { setMainIcon(facet.getIcon()); setMainText(facet.getBrowserText()); appendType(facet); }
public void undoIt() { getDelegate().deleteFacet(createdFacet); createdFacet.markDeleted(true); }
public void redoIt() { getDelegate().createFacet(id, types, loadDefaults); createdFacet.markDeleted(false); }
public Object doIt() { createdFacet = getDelegate().createFacet(id, types, loadDefaults); id = createdFacet.getFrameID(); setDescription("Create facet " + getText(createdFacet)); return createdFacet; }