Esempio n. 1
0
 @Override
 public void modifySummary(PropertyPanel pp) {
   pp.title("My App Rocks!")
       .typeId(Glyphs.CROWN)
       .removeProps(TOPOLOGY_SSCS, INTENTS, TUNNELS, FLOWS, VERSION)
       .addProp(VERSION, MY_VERSION);
 }
Esempio n. 2
0
  @Override
  public void modifyDeviceDetails(PropertyPanel pp) {
    pp.title(MY_TITLE);
    pp.removeProps(LATITUDE, LONGITUDE);

    pp.addButton(FOO_DESCRIPTOR).addButton(BAR_DESCRIPTOR);

    pp.removeButtons(CoreButtons.SHOW_PORT_VIEW).removeButtons(CoreButtons.SHOW_GROUP_VIEW);
  }