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