Пример #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;
 }