@Test void open() { tab.open(); verify(mockBench).openModule(mockModules[0]); tab.setModule(mockModules[1]); tab.open(); verify(mockBench).openModule(mockModules[1]); }
public final void open() { workbench.openModule(getModule()); }
Tab extends Control { public final void open() { workbench.openModule(getModule()); } }
Tab extends Control { public final void open() { workbench.openModule(getModule()); } Tab(Workbench workbench); }
Tab extends Control { public final void open() { workbench.openModule(getModule()); } Tab(Workbench workbench); final void close(); final void open(); final WorkbenchModule getModule(); final void setModule(WorkbenchModule module); final ReadOnlyObjectProperty<WorkbenchModule> moduleProperty(); final String getName(); final ReadOnlyStringProperty nameProperty(); final Node getIcon(); final ReadOnlyObjectProperty<Node> iconProperty(); final boolean isActiveTab(); final ReadOnlyBooleanProperty activeTabProperty(); }
Tab extends Control { public final void open() { workbench.openModule(getModule()); } Tab(Workbench workbench); final void close(); final void open(); final WorkbenchModule getModule(); final void setModule(WorkbenchModule module); final ReadOnlyObjectProperty<WorkbenchModule> moduleProperty(); final String getName(); final ReadOnlyStringProperty nameProperty(); final Node getIcon(); final ReadOnlyObjectProperty<Node> iconProperty(); final boolean isActiveTab(); final ReadOnlyBooleanProperty activeTabProperty();  }