org.guvnor.messageconsole.client.console.MessageConsoleScreenActivity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of uberfire-message-console-client Show documentation
Show all versions of uberfire-message-console-client Show documentation
UberFire - Message Console Client
/*
* Copyright 2012 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.guvnor.messageconsole.client.console;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.function.Consumer;
import javax.annotation.Generated;
import javax.enterprise.context.Dependent;
import javax.inject.Inject;
import com.google.gwt.user.client.ui.InlineLabel;
import javax.inject.Named;
import org.uberfire.client.mvp.AbstractWorkbenchScreenActivity;
import org.uberfire.client.mvp.PlaceManager;
import org.uberfire.workbench.model.Position;
import org.uberfire.mvp.PlaceRequest;
import org.uberfire.workbench.model.menu.Menus;
import com.google.gwt.user.client.ui.IsWidget;
@Dependent
@Generated("org.uberfire.annotations.processors.WorkbenchScreenProcessor")
@Named("org.kie.workbench.common.screens.messageconsole.MessageConsole")
/*
* WARNING! This class is generated. Do not modify.
*/
public class MessageConsoleScreenActivity extends AbstractWorkbenchScreenActivity {
@Inject
private MessageConsoleScreen realPresenter;
@Inject
//Constructor injection for testing
public MessageConsoleScreenActivity(final PlaceManager placeManager) {
super( placeManager );
}
@Override
public String getTitle() {
return realPresenter.getTitle();
}
@Override
public IsWidget getWidget() {
return realPresenter.asWidget();
}
@Override
public Position getDefaultPosition() {
return realPresenter.getDefaultPosition();
}
@Override
public void getMenus(final Consumer menusConsumer) {
realPresenter.getMenus(menusConsumer);
}
@Override
public String getIdentifier() {
return "org.kie.workbench.common.screens.messageconsole.MessageConsole";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy