예제 #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;
 }