
org.hjug.dtangler.swingui.mainview.impl.MainViewModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dtangler-swingui Show documentation
Show all versions of dtangler-swingui Show documentation
Directly usable user interface
The newest version!
//This product is provided under the terms of EPL (Eclipse Public License)
//version 2.0.
//
//The full license text can be read from: https://www.eclipse.org/legal/epl-2.0/
package org.hjug.dtangler.swingui.mainview.impl;
import java.io.File;
import java.util.List;
import org.hjug.dtangler.core.dependencies.Dependencies;
import org.hjug.dtangler.core.dependencies.Scope;
import org.hjug.dtangler.ui.dsm.DsmGuiModelChangeListener;
public interface MainViewModel {
void addDsmModelChangeListener(DsmGuiModelChangeListener listener);
List getAllViolations();
List getSelectionViolations();
void selectNewInput();
void editRules();
void refresh();
void addForbiddenDeps();
boolean cellSelectionExists();
boolean selectionExists();
void openConfiguration();
void save();
void saveAs();
String getFileName();
void newConfiguration();
boolean isDirty();
List getScopes();
Scope getScope();
void setScope(Scope selectedScope);
void zoomIn();
void zoomIn(Dependencies.DependencyFilter dependencyFilter);
void zoomOut();
boolean deeperLevelExists();
boolean higherLevelExists();
boolean canExit();
void toggleShortName();
boolean isShortNameEnabled();
void openConfiguration(File file);
void addLocations(List files);
}