Package org.gephi.project.api
Interface WorkspaceListener
-
public interface WorkspaceListenerWorkspace event listener.- Author:
- Mathieu Bastian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose(Workspace workspace)Notify a workspace will be closed, all data must be destroyed.voiddisable()Notify no more workspace is currently selected, the project is empty.voidinitialize(Workspace workspace)Notify a workspace has been created.voidselect(Workspace workspace)Notify a workspace has become the selected workspace.voidunselect(Workspace workspace)Notify another workspace will be selected.
-
-
-
Method Detail
-
initialize
void initialize(Workspace workspace)
Notify a workspace has been created.- Parameters:
workspace- the workspace that was created
-
select
void select(Workspace workspace)
Notify a workspace has become the selected workspace.- Parameters:
workspace- the workspace that was made current workspace
-
unselect
void unselect(Workspace workspace)
Notify another workspace will be selected. Theselect()always follows, unless the project is being closed.- Parameters:
workspace- the workspace that is currently the selected workspace
-
close
void close(Workspace workspace)
Notify a workspace will be closed, all data must be destroyed.- Parameters:
workspace- the workspace that is to be closed
-
disable
void disable()
Notify no more workspace is currently selected, the project is empty.close()is called beforehand for each workspace.
-
-